Solver::Properties ForwardEulerSolverPlugin::properties() const { // Return the properties supported by the solver Solver::Properties res = Solver::Properties(); res.append(Solver::Property(Solver::Double, StepProperty, DefaultStep, true)); return res; }
Solver::Properties CVODESolverPlugin::properties() const { // Return the properties supported by the solver Solver::Properties res = Solver::Properties(); res.append(Solver::Property(Solver::Double, MaximumStepProperty, DefaultMaximumStep, true)); res.append(Solver::Property(Solver::Integer, MaximumNumberOfStepsProperty, DefaultMaximumNumberOfSteps)); res.append(Solver::Property(Solver::Double, RelativeToleranceProperty, DefaultRelativeTolerance)); res.append(Solver::Property(Solver::Double, AbsoluteToleranceProperty, DefaultAbsoluteTolerance)); return res; }
Solver::Properties SecondOrderRungeKuttaSolverPlugin::properties() const { // Return the properties supported by the solver Solver::Properties res = Solver::Properties(); Descriptions stepPropertyDescriptions; stepPropertyDescriptions.insert("en", QString::fromUtf8("Step")); stepPropertyDescriptions.insert("fr", QString::fromUtf8("Pas")); res.append(Solver::Property(Solver::Double, StepId, stepPropertyDescriptions, StepDefaultValue, true)); return res; }