Ember
Loading...
Searching...
No Matches
Public Member Functions | List of all members
QssOde Class Referenceabstract

An ODE to be solved by QssIntegrator. More...

#include <qssintegrator.h>

Inheritance diagram for QssOde:
[legend]

Public Member Functions

 QssOde ()
 
virtual ~QssOde ()
 
virtual void odefun (double t, const dvec &y, dvec &q, dvec &d, bool corrector=false)=0
 Evaluate the ODE function.
 

Detailed Description

An ODE to be solved by QssIntegrator.

Constructor & Destructor Documentation

◆ QssOde()

QssOde::QssOde ( )
inline

◆ ~QssOde()

virtual QssOde::~QssOde ( )
inlinevirtual

Member Function Documentation

◆ odefun()

virtual void QssOde::odefun ( double  t,
const dvec y,
dvec q,
dvec d,
bool  corrector = false 
)
pure virtual

Evaluate the ODE function.

The ODE should have the form:

\[ y' = q(y) - d(y) \]

Parameters
tTime [s] at which to evaluate the equations
yState variables at time t.
[out]qRate at which y is being produced, where q[k] is approximately independendent of y[k].
[out]dRate at which y is being consumed / lost, where d[k] is approximately linearly proportional to y[k].
correctortrue during corrector iterations

Implemented in SourceSystemQSS.


The documentation for this class was generated from the following file: