#include <LinTimeStep.hpp>
Inheritance diagram for LinTSScheme< T >:


Public Member Functions | |
| double | TimeStep () const |
| Returns the current time step. | |
| virtual void | PrintParam ()=0 |
| Prints parameters of the scheme. | |
| virtual void | PreProcess (GridVec< T > &u_0)=0 |
| Initializes the time stepping process. | |
| virtual void | Step (GridVec< T > &u_old, GridVec< T > &u_new)=0 |
| Computes one time step. | |
| virtual void | PostProcess () |
| releases the memory, ... | |
| LinTSScheme (double init_dt, LinTimeAssemble< T > &the_assembler) | |
| Constructor. | |
| virtual | ~LinTSScheme () |
| Virtual destructor. | |
Public Attributes | |
| unsigned | disp_type |
| The display type. | |
Protected Attributes | |
| double | dt |
| LinTimeAssemble< T > * | assembler |
This is a base class for time stepping schemes for problems that are represented by classes derived from LinTimeAssemble<T>. Cf. the descriptions of LinTimeAssemble<T> for details.
| LinTSScheme< T >::LinTSScheme | ( | double | init_dt, | |
| LinTimeAssemble< T > & | the_assembler | |||
| ) | [inline] |
Constructor.
| [in] | init_dt | The initial time step |
| [in] | the_assembler | The discretization |
| virtual LinTSScheme< T >::~LinTSScheme | ( | ) | [inline, virtual] |
Virtual destructor.
| double LinTSScheme< T >::TimeStep | ( | ) | const [inline] |
Returns the current time step.
| virtual void LinTSScheme< T >::PrintParam | ( | ) | [pure virtual] |
| virtual void LinTSScheme< T >::PreProcess | ( | GridVec< T > & | u_0 | ) | [pure virtual] |
Initializes the time stepping process.
| [in] | u_0 | The initial condition |
Implemented in WTSScheme< T >.
| virtual void LinTSScheme< T >::Step | ( | GridVec< T > & | u_old, | |
| GridVec< T > & | u_new | |||
| ) | [pure virtual] |
Computes one time step.
| [in] | u_old | Solution from the old time step |
| [in] | u_new | For the solution on the new time step |
Implemented in WTSScheme< T >.
| virtual void LinTSScheme< T >::PostProcess | ( | ) | [inline, virtual] |
double LinTSScheme< T >::dt [protected] |
the current time step
LinTimeAssemble<T>* LinTSScheme< T >::assembler [protected] |
the spatial discretization
| LinTSScheme< T >::disp_type |
The display type.
1.5.2