step/stepcore
StepCore::EulerSolver Class Reference
#include <eulersolver.h>
Inheritance diagram for StepCore::EulerSolver:

Public Member Functions | |
| EulerSolver (double stepSize=0.01) | |
| EulerSolver (int dimension, Function function, void *params, double stepSize) | |
| EulerSolver (const EulerSolver &eulerSolver) | |
Public Member Functions inherited from StepCore::GenericEulerSolver | |
| GenericEulerSolver (double stepSize, bool adaptive) | |
| GenericEulerSolver (int dimension, Function function, void *params, double stepSize, bool adaptive) | |
| GenericEulerSolver (const GenericEulerSolver &eulerSolver) | |
| ~GenericEulerSolver () | |
| int | doCalcFn (double *t, const VectorXd *y, const VectorXd *yvar=0, VectorXd *f=0, VectorXd *fvar=0) |
| int | doEvolve (double *t, double t1, VectorXd *y, VectorXd *yvar) |
| void | setDimension (int dimension) |
Public Member Functions inherited from StepCore::Solver | |
| Solver (int dimension=0, Function function=NULL, void *params=NULL, double stepSize=0.001) | |
| Solver (double stepSize) | |
| virtual | ~Solver () |
| int | dimension () const |
| Function | function () const |
| double | localError () const |
| double | localErrorRatio () const |
| void * | params () const |
| virtual void | setFunction (Function function) |
| virtual void | setParams (void *params) |
| virtual void | setStepSize (double stepSize) |
| virtual void | setToleranceAbs (double toleranceAbs) |
| virtual void | setToleranceRel (double toleranceRel) |
| QString | solverType () const |
| double | stepSize () const |
| double | toleranceAbs () const |
| double | toleranceRel () const |
Public Member Functions inherited from StepCore::Object | |
| Object (const QString &name=QString()) | |
| virtual | ~Object () |
| const QString & | name () const |
| void | setName (const QString &name) |
Additional Inherited Members | |
Public Types inherited from StepCore::Solver | |
| enum | { OK = 0, ToleranceError = 2048, InternalError = 2049, CollisionDetected = 4096, IntersectionDetected = 4097, Aborted = 8192, CollisionError = 16384, ConstraintError = 32768 } |
| typedef int(* | Function )(double t, const double *y, const double *yvar, double *f, double *fvar, void *params) |
Protected Member Functions inherited from StepCore::GenericEulerSolver | |
| int | doStep (double t, double stepSize, VectorXd *y, VectorXd *yvar) |
| void | fini () |
| void | init () |
Protected Attributes inherited from StepCore::GenericEulerSolver | |
| bool | _adaptive |
| VectorXd | _ydiff |
| VectorXd | _ydiffvar |
| VectorXd | _yerr |
| VectorXd | _ytemp |
| VectorXd | _ytempvar |
Protected Attributes inherited from StepCore::Solver | |
| int | _dimension |
| Function | _function |
| double | _localError |
| double | _localErrorRatio |
| void * | _params |
| double | _stepSize |
| double | _toleranceAbs |
| double | _toleranceRel |
Protected Attributes inherited from StepCore::Object | |
| QString | _name |
Detailed Description
Non-adaptive Euler solver.
Definition at line 80 of file eulersolver.h.
Constructor & Destructor Documentation
|
inline |
Definition at line 84 of file eulersolver.h.
|
inline |
Definition at line 85 of file eulersolver.h.
|
inline |
Definition at line 87 of file eulersolver.h.
The documentation for this class was generated from the following file:
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:16:43 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2020 The KDE developers.
Generated on Mon Jun 22 2020 13:16:43 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.
KDE API Reference
Public Member Functions inherited from