8 #ifndef READUCT_ELEMENTARYSTEPOPTIMIZATION_ELEMENTARYSTEPOPTIMIZERSETTINGS_H
9 #define READUCT_ELEMENTARYSTEPOPTIMIZATION_ELEMENTARYSTEPOPTIMIZERSETTINGS_H
15 namespace ElementaryStepOptimization {
17 static constexpr
int numIntegrationPointsDefaultValue = 21;
28 template<
class OptimizerType,
class ConvergenceCheckType>
41 : Settings(
"ElementaryStepOptimizerSettings") {
42 optimizer.addSettingsDescriptors(this->_fields);
43 check.addSettingsDescriptors(this->_fields);
46 "The number of integration points used to optimize the spline.");
48 this->_fields.push_back(
"num_integration_points", numIntegrationPoints);
50 this->resetToDefaults();
58 #endif // READUCT_ELEMENTARYSTEPOPTIMIZATION_ELEMENTARYSTEPOPTIMIZERSETTINGS_H
Settings for an ElementaryStepOptimizer.
Definition: ElementaryStepOptimizerSettings.h:29
ElementaryStepOptimizerSettings(const OptimizerType &optimizer, const ConvergenceCheckType &check)
Construct a new ElementaryStepOptimizerSettings object.
Definition: ElementaryStepOptimizerSettings.h:40
void setDefaultValue(int def)