Ember
|
A system of linear ODEs represented by a tridiagonal matrix. More...
#include <integrator.h>
Public Member Functions | |
TridiagonalODE () | |
virtual | ~TridiagonalODE () |
virtual void | get_A (dvec &a, dvec &b, dvec &c)=0 |
Provide the matrix associated with the ODE to the integrator. | |
virtual void | get_k (dvec &k)=0 |
Provides the constant term k to the integrator. | |
virtual void | resize (size_t N) |
Set the number of points in the domain. | |
virtual void | initialize () |
A system of linear ODEs represented by a tridiagonal matrix.
The ODE may be written as an inhomogeneous linear linear system:
\[ \dot{y} = Ay + k \]
|
inline |
|
inlinevirtual |
Provide the matrix associated with the ODE to the integrator.
[out] | a | elements of the first subdiagonal of A |
[out] | b | elements of the main diagonal of A |
[out] | c | elements of the first superdiagonal of A |
Implemented in DiffusionSystem.
|
pure virtual |
Provides the constant term k to the integrator.
Implemented in DiffusionSystem.
|
inlinevirtual |
Set the number of points in the domain.
Reimplemented in DiffusionSystem.
|
inlinevirtual |