An ODE to be solved by QssIntegrator.
More...
#include <qssintegrator.h>
An ODE to be solved by QssIntegrator.
◆ QssOde()
◆ ~QssOde()
virtual QssOde::~QssOde |
( |
| ) |
|
|
inlinevirtual |
◆ 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
-
| t | Time [s] at which to evaluate the equations |
| y | State variables at time t . |
[out] | q | Rate at which y is being produced, where q[k] is approximately independendent of y[k] . |
[out] | d | Rate at which y is being consumed / lost, where d[k] is approximately linearly proportional to y[k] . |
| corrector | true during corrector iterations |
Implemented in SourceSystemQSS.
The documentation for this class was generated from the following file: