- // Refinement with HOMARD
- bloc = addPreference( tr( "ADAPT_PREF_HOMARD_PUBLICATION" ), adaptTab );
- setPreferenceProperty( bloc, "columns", 1 );
- pref = addPreference( tr( "ADAPT_PREF_HOMARD_PUBLICATION_MAILLAGE_IN" ), bloc, LightApp_Preferences::Bool, "HOMARD", "homard_publish_mesh_in" );
- pref = addPreference( tr( "ADAPT_PREF_HOMARD_PUBLICATION_MAILLAGE_OUT" ), bloc, LightApp_Preferences::Bool, "HOMARD", "homard_publish_mesh_out" );
-
- // YACS with HOMARD
- bloc = addPreference( tr( "ADAPT_PREF_HOMARD_YACS" ), adaptTab );
- setPreferenceProperty( bloc, "columns", 1 );
- pref = addPreference( tr( "ADAPT_PREF_HOMARD_YACS_MAX_ITER" ), bloc, LightApp_Preferences::IntSpin, "HOMARD", "homard_yacs_max_iter" );
- setPreferenceProperty( pref, "min", 0 );
- setPreferenceProperty( pref, "max", 100000000 );
- setPreferenceProperty( pref, "step", 1 );
- pref = addPreference( tr( "ADAPT_PREF_HOMARD_YACS_MAX_NODE" ), bloc, LightApp_Preferences::IntSpin, "HOMARD", "homard_yacs_max_node" );
- setPreferenceProperty( pref, "min", 0 );
- setPreferenceProperty( pref, "max", 100000000 );
- setPreferenceProperty( pref, "step", 1000 );
- pref = addPreference( tr( "ADAPT_PREF_HOMARD_YACS_MAX_ELEM" ), bloc, LightApp_Preferences::IntSpin, "HOMARD", "homard_yacs_max_elem" );
- setPreferenceProperty( pref, "min", 0 );
- setPreferenceProperty( pref, "max", 100000000 );
- setPreferenceProperty( pref, "step", 1000 );
- pref = addPreference( tr( "ADAPT_PREF_HOMARD_YACS_TYPE_CONVERGENCE" ), bloc, LightApp_Preferences::Selector, "HOMARD", "homard_yacs_type_test" );
- QStringList aListOfTypeTest;
- aListOfTypeTest << tr( "ADAPT_PREF_NONE" );
- aListOfTypeTest << "VTest > VRef";
- aListOfTypeTest << "VTest < VRef";
- setPreferenceProperty( pref, "strings", aListOfTypeTest );
-