![]() |
#include <ODE.h>
Inheritance diagram for dolfin::ODE:
Public Member Functions | |
ODE (unsigned int N) | |
Constructor. | |
virtual | ~ODE () |
Destructor. | |
virtual real | u0 (unsigned int i)=0 |
Initial value. | |
virtual real | f (const Vector &u, real t, unsigned int i)=0 |
Right-hand side. | |
virtual Element::Type | method (unsigned int i) |
Method to use for given component (optional). | |
virtual unsigned int | order (unsigned int i) |
Order to use for given component (optional). | |
virtual real | timestep (unsigned int i) |
Time step to use for given component (optional). | |
virtual void | update (RHS &f, Function &u, real t) |
Update ODE (optional). | |
virtual void | update (Solution &u, Adaptivity &adaptivity, real t) |
Update ODE (optional). | |
virtual void | save (Sample &sample) |
Save sample (optional). | |
unsigned int | size () const |
Number of components N. | |
real | endtime () const |
End time (final time). | |
void | solve () |
Solve ODE. | |
void | solve (Function &u) |
Solve ODE. | |
void | solve (Function &u, Function &phi) |
Solve ODE. | |
void | sparse () |
Automatically detect sparsity. | |
void | sparse (const Matrix &A) |
Compute sparsity from given matrix. | |
Protected Attributes | |
unsigned int | N |
real | T |
Sparsity | sparsity |
Friends | |
class | Dual |
Friends. | |
class | RHS |
class | ReducedModel |
u'(t) = f(u(t),t) on (0,T],
u(0) = u0,
where u(t) is a vector of length N.
|
Constructor.
|
|
Destructor.
|
|
End time (final time).
|
|
Right-hand side.
Implemented in Bistable, Lorenz, Single, Harmonic, SpringSystem, TestProblem, TestProblem1, TestProblem2, TestProblem3, TestProblem4, TestProblem5, TestProblem6, TestProblem7, TestProblem8, TestProblem9, Single, Harmonic, SpringSystem, dolfin::Dual, dolfin::ParticleSystem, and dolfin::ReducedModel. |
|
Method to use for given component (optional).
Reimplemented in TestProblem9, and dolfin::ReducedModel. |
|
Order to use for given component (optional).
Reimplemented in TestProblem9, and dolfin::ReducedModel. |
|
Save sample (optional).
Reimplemented in Bistable, and dolfin::ReducedModel. |
|
Number of components N.
|
|
Solve ODE.
|
|
Solve ODE.
|
|
Solve ODE.
|
|
Compute sparsity from given matrix.
|
|
Automatically detect sparsity.
|
|
Time step to use for given component (optional).
Reimplemented in Benchmark, and dolfin::ReducedModel. |
|
Initial value.
Implemented in Bistable, Lorenz, Single, Harmonic, SpringSystem, TestProblem, TestProblem1, TestProblem2, TestProblem3, TestProblem4, TestProblem5, TestProblem6, TestProblem7, TestProblem8, TestProblem9, Single, Harmonic, SpringSystem, dolfin::Dual, dolfin::ParticleSystem, and dolfin::ReducedModel. |
|
Update ODE (optional).
Reimplemented in dolfin::ReducedModel. |
|
Update ODE (optional).
Reimplemented in dolfin::ReducedModel. |
|
Friends.
|
|
|
|
|
|
|
|
|
|
|
Documentation automatically generated with Doxygen on 10 Sep 2004.