MathTL
 All Classes Functions Variables Typedefs Enumerations
Public Member Functions | Public Attributes
MathTL::IVP< DIM > Class Template Reference

#include <ivp.h>

List of all members.

Public Member Functions

virtual ~IVP ()
virtual void apply_f (const double t, const Point< DIM > &v, Point< DIM > &result) const =0
virtual void apply_ft (const double t, const Point< DIM > &v, Point< DIM > &result) const =0
virtual void solve_jacobian (const double t, const Point< DIM > &v, const double alpha, Point< DIM > &result) const =0

Public Attributes

Point< DIM > u0

Detailed Description

template<unsigned int DIM>
class MathTL::IVP< DIM >

abstract base class for a vector-valued initial value problem

u'(t) = f(t, u(t)), 0 < t <= T u(0) = u_0

where u:[0,T]-> R^d

Note that the class fulfills the necessary signature to be used in one of the Rosenbrock methods for the numerical approximation of u(t).


Constructor & Destructor Documentation

template<unsigned int DIM>
MathTL::IVP< DIM >::~IVP ( ) [virtual]

virtual destructor


Member Function Documentation

template<unsigned int DIM>
virtual void MathTL::IVP< DIM >::apply_f ( const double  t,
const Point< DIM > &  v,
Point< DIM > &  result 
) const [pure virtual]

evaluate the right--hand side f at (t,v)

template<unsigned int DIM>
virtual void MathTL::IVP< DIM >::apply_ft ( const double  t,
const Point< DIM > &  v,
Point< DIM > &  result 
) const [pure virtual]

evaluate the partial derivative f_t at (t,v)

template<unsigned int DIM>
virtual void MathTL::IVP< DIM >::solve_jacobian ( const double  t,
const Point< DIM > &  v,
const double  alpha,
Point< DIM > &  result 
) const [pure virtual]

solve the special linear system

(alpha*I-J)u = v,

where J = f(t,v) is the Jacobian of f


Member Data Documentation

template<unsigned int DIM>
Point<DIM> MathTL::IVP< DIM >::u0

initial value


The documentation for this class was generated from the following files:
 All Classes Functions Variables Typedefs Enumerations