8 #include <qwt_legend.h>
17 setObjectName(
"US_AdvAnalysis2D" );
22 setWindowTitle( tr(
"2DSA Advanced Controls" ) );
36 QLabel* lb_simpars =
us_banner( tr(
"Simulation Parameters:" ) );
37 QLabel* lb_bandload =
us_label( tr(
"Band loading volume (" )
38 + QString( QChar( 181 ) ) +
"l):" );
39 QLabel* lb_spoints =
us_label( tr(
"Simulation Points:" ) );
40 QLabel* lb_refopts =
us_banner( tr(
"Refinement Options:" ) );
42 QLabel* lb_optimiz =
us_banner( tr(
"Optimization Methods:" ) );
43 QLabel* lb_repetloc =
us_label( tr(
"Repetitions:" ) );
44 QLabel* lb_scfactor =
us_label( tr(
"Scaling Factor:" ) );
45 QLabel* lb_scfact2 =
us_label( tr(
"Scaling Factor 2:" ) );
46 QLabel* lb_repetran =
us_label( tr(
"Repetitions:" ) );
47 QLabel* lb_stddevia =
us_label( tr(
"Standard Deviation:" ) );
48 QLabel* lb_coaldist =
us_label( tr(
"Coalescing Distance:" ) );
49 QLabel* lb_nbrclips =
us_label( tr(
"# of Clipped Solutes:" ) );
50 QLabel* lb_regufact =
us_label( tr(
"Regularization Factor:" ) );
59 QLayout* lo_bandcp =
us_radiobutton( tr(
"Band-forming Centerpiece" ),
118 cmb_mesh->addItem(
"Adaptive Space Time FE Mesh (ASTFEM)" );
119 cmb_mesh->addItem(
"Claverie Fixed Mesh" );
120 cmb_mesh->addItem(
"Moving Hat Mesh" );
121 cmb_mesh->addItem(
"Specified file (mesh.dat)" );
122 cmb_mesh->addItem(
"AST Finite Volume Method (ASTFVM)" );
127 cmb_moving->addItem(
"Constant Time Grid (Claverie/Acceleration)" );
128 cmb_moving->addItem(
"Moving Time Grid (ASTFEM/Moving Hat)" );
189 connect(
rb_bandcp, SIGNAL( toggled(
bool ) ),
191 connect(
ck_unifgr, SIGNAL( toggled(
bool ) ),
193 connect(
ck_locugr, SIGNAL( toggled(
bool ) ),
195 connect(
ck_ranlgr, SIGNAL( toggled(
bool ) ),
197 connect(
ck_soluco, SIGNAL( toggled(
bool ) ),
199 connect(
ck_clipcs, SIGNAL( toggled(
bool ) ),
205 connect(
ck_mdgrid, SIGNAL( toggled(
bool ) ),
207 connect(
ck_mdrati, SIGNAL( toggled(
bool ) ),
209 connect(
ck_regulz, SIGNAL( toggled(
bool ) ),
214 connect( pb_help, SIGNAL( clicked() ),
215 this, SLOT(
help() ) );
216 connect( pb_cancel, SIGNAL( clicked() ),
217 this, SLOT( reject() ) );
239 qDebug() <<
"Pre-adjust size" << size();
241 qDebug() <<
"Post-adjust size" << size();
243 qDebug() <<
"Post-resize size" << size();
244 qApp->processEvents();
249 int& rtype,
double& rtpar1,
double& rtpar2,
double& rtpar3,
250 US_Model& modpar,
bool& reg,
double& repar1 )
313 if ( ckflag != 1 )
ck_unifgr->setChecked(
false );
314 if ( ckflag != 2 )
ck_locugr->setChecked(
false );
315 if ( ckflag != 3 )
ck_ranlgr->setChecked(
false );
316 if ( ckflag != 4 )
ck_soluco->setChecked(
false );
317 if ( ckflag != 5 )
ck_clipcs->setChecked(
false );
343 qDebug() <<
"checkuni size" << size();
373 qDebug() <<
"SET MENISRNG enabled" << checked;
391 qDebug() <<
"SET MdGrid enabled" << checked;
419 qDebug() <<
"SET MdRatios enabled" << checked;
470 QString mdesc (
"" );
471 QString mfilter(
"" );
473 mfilter = QString(
"CustomGrid" );
477 if ( dialog.exec() == QDialog::Accepted )