Programmierpraktikum NPDGL I
Öffentliche Typen | Öffentliche Methoden

ODESolverInterface< Traits > Template-Klassenreferenz

Interface class for ODE solvers. Mehr ...

#include <interfaces.hh>

Klassendiagramm für ODESolverInterface< Traits >:
Inheritance graph
[Legende]

Aufstellung aller Elemente

Öffentliche Typen

typedef Traits::OperatorType OperatorType
 Type of the space operator \( { \cal L }_h \).
typedef Traits::EvolutionModelType EvolutionModelType
 Type of the evolution model description.

Öffentliche Methoden

template<class DofVectorType , class DestinationOutputType >
void solve (DofVectorType const &init, DestinationOutputType &destOutput)
 method executing the actual ode solver and solving the differential equation

Ausführliche Beschreibung

template<class Traits>
class ODESolverInterface< Traits >

Interface class for ODE solvers.

This interfaces defines the minimal methods and types of an ODE solver, solving a differential equation of following type

\[ u_h(0) = { \cal P }_h[u_0] \]

\[ \partial_{t} u_h(t) - { \cal L }_h[u_h(t)] = 0; \]

for a time interval \([0, T]\)

Template Parameters:
TraitsTraits class with types to be exported by ODE solvers.

Dokumentation der benutzerdefinierten Datentypen

template<class Traits >
typedef Traits :: EvolutionModelType ODESolverInterface< Traits >::EvolutionModelType

Type of the evolution model description.

This type should be derived from EvolutionModelInterface

Erneute Implementation in ODESolver::ImprovedEuler< Traits > und ODESolver::Euler< Traits >.

template<class Traits >
typedef Traits :: OperatorType ODESolverInterface< Traits >::OperatorType

Type of the space operator \( { \cal L }_h \).

This type should be derived from SpaceOperatorInterface

Erneute Implementation in ODESolver::ImprovedEuler< Traits > und ODESolver::Euler< Traits >.


Dokumentation der Elementfunktionen

template<class Traits >
template<class DofVectorType , class DestinationOutputType >
void ODESolverInterface< Traits >::solve ( DofVectorType const &  init,
DestinationOutputType &  destOutput 
) [inline]

method executing the actual ode solver and solving the differential equation

Template Parameters:
DofVectorTypeStorage type holding the vector of degrees of freedom. This type should be derived from DofVectorInterface.
DestinationOutputTypeType of the class handling the intermediate results. This needs to be a class specification of the class template ODEDestinationOutput

Erneute Implementation in ODESolver::ImprovedEuler< Traits > und ODESolver::Euler< Traits >.


Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Datei: