Reference documentation for deal.II version 8.5.1
Classes | Public Member Functions | List of all members
TimeStepping::TimeStepping< VectorType > Class Template Referenceabstract

#include <deal.II/base/time_stepping.h>

Inheritance diagram for TimeStepping::TimeStepping< VectorType >:
[legend]

Classes

struct  Status
 

Public Member Functions

virtual ~TimeStepping ()
 
virtual double evolve_one_time_step (std::vector< std_cxx11::function< VectorType(const double, const VectorType &)> > &F, std::vector< std_cxx11::function< VectorType(const double, const double, const VectorType &)> > &J_inverse, double t, double delta_t, VectorType &y)=0
 
virtual const Statusget_status () const =0
 

Detailed Description

template<typename VectorType>
class TimeStepping::TimeStepping< VectorType >

Abstract class for time stepping methods. These methods assume that the equation has the form: \( \frac{\partial y}{\partial t} = f(t,y) \).

Definition at line 80 of file time_stepping.h.

Constructor & Destructor Documentation

◆ ~TimeStepping()

template<typename VectorType >
virtual TimeStepping::TimeStepping< VectorType >::~TimeStepping ( )
inlinevirtual

Virtual destructor.

Definition at line 86 of file time_stepping.h.

Member Function Documentation

◆ evolve_one_time_step()

template<typename VectorType >
virtual double TimeStepping::TimeStepping< VectorType >::evolve_one_time_step ( std::vector< std_cxx11::function< VectorType(const double, const VectorType &)> > &  F,
std::vector< std_cxx11::function< VectorType(const double, const double, const VectorType &)> > &  J_inverse,
double  t,
double  delta_t,
VectorType &  y 
)
pure virtual

Purely virtual function. This function is used to advance from time t to t+ delta_t. F is a vector of functions \( f(t,y) \) that should be integrated, the input parameters are the time t and the vector y and the output is value of f at this point. J_inverse is a vector functions that compute the inverse of the Jacobians associated to the implicit problems. The input parameters are the time, \( \tau \), and a vector. The output is the value of function at this point. This function returns the time at the end of the time step.

Implemented in TimeStepping::RungeKutta< VectorType >.

◆ get_status()

template<typename VectorType >
virtual const Status& TimeStepping::TimeStepping< VectorType >::get_status ( ) const
pure virtual

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