Hopsan
Integrator Class Reference
Inheritance diagram for Integrator:
IntegratorWithBackup

Public Member Functions

void initialize (const double timestep, const double u0=0.0, const double y0=0.0)
 
void initializeValues (const double u0, const double y0)
 
double update (const double u)
 Updates the integrator one timestep and returns the new value.
 
double value () const
 Returns the integrator value.
 

Protected Attributes

double mDelayU
 
double mDelayY
 
double mTimeStep
 

Member Function Documentation

◆ update()

double update ( const double u)
inline

Updates the integrator one timestep and returns the new value.

Parameters
[in]uNew input value

◆ value()

double value ( ) const
inline

Returns the integrator value.

Returns
The integrated actual value.
See also
update(double u)