UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Protected Member Functions | List of all members
ode::Solver1D< T, X, F > Class Template Referenceabstract

#include <ode.hpp>

Inheritance diagram for ode::Solver1D< T, X, F >:
ode::Runge4_1D< T, X, F >

Public Member Functions

virtual ~Solver1D ()
 
bool operator() (const T &t, const T &dt, F &f, X &x, X &dx) const
 

Protected Member Functions

virtual bool step (const T &t, const T &dt, F &f, X &x, X &dx) const =0
 

Detailed Description

template<typename T, typename X, typename F>
class ode::Solver1D< T, X, F >

Abstract ODE solver.

Constructor & Destructor Documentation

template<typename T , typename X , typename F >
virtual ode::Solver1D< T, X, F >::~Solver1D ( )
inlinevirtual

Destructor, nothing to do

Member Function Documentation

template<typename T , typename X , typename F >
bool ode::Solver1D< T, X, F >::operator() ( const T &  t,
const T &  dt,
F &  f,
X &  x,
X &  dx 
) const
inline

Calculates step dx. See solve method.

template<typename T , typename X , typename F >
virtual bool ode::Solver1D< T, X, F >::step ( const T &  t,
const T &  dt,
F &  f,
X &  x,
X &  dx 
) const
protectedpure virtual

Calculates step dx. Returns false on error.

Parameters
tcurrent argument value
dtstep of argument
fright part function
xcurrent function value
dxresulted function shift

Implemented in ode::Runge4_1D< T, X, F >.


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