#include <NLTimeStep.hpp>
Inheritance diagram for NLTSScheme< 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, ... | |
| NLTSScheme (double init_dt, NLTimeAssemble< T > &the_assembler) | |
| Constructor. | |
| virtual | ~NLTSScheme () |
| Virtual destructor. | |
Public Attributes | |
| unsigned | disp_type |
| the display type | |
Protected Attributes | |
| double | dt |
| NLTimeAssemble< T > * | assembler |
This is a base class for time stepping schemes for problems that are represented by classes derived from NLTimeAssemble<T>. Cf. the descriptions of NLTimeAssemble<T> for details.
| NLTSScheme< T >::NLTSScheme | ( | double | init_dt, | |
| NLTimeAssemble< T > & | the_assembler | |||
| ) | [inline] |
Constructor.
| [in] | init_dt | The initial time step |
| [in] | the_assembler | The discretization |
| virtual NLTSScheme< T >::~NLTSScheme | ( | ) | [inline, virtual] |
Virtual destructor.
| double NLTSScheme< T >::TimeStep | ( | ) | const [inline] |
Returns the current time step.
| virtual void NLTSScheme< T >::PrintParam | ( | ) | [pure virtual] |
| virtual void NLTSScheme< T >::PreProcess | ( | GridVec< T > & | u_0 | ) | [pure virtual] |
Initializes the time stepping process.
| [in] | u_0 | The initial condition |
Implemented in NLWTSScheme< T >.
| virtual void NLTSScheme< 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 NLWTSScheme< T >.
| virtual void NLTSScheme< T >::PostProcess | ( | ) | [inline, virtual] |
double NLTSScheme< T >::dt [protected] |
the current time step
NLTimeAssemble<T>* NLTSScheme< T >::assembler [protected] |
the spatial discretization
| NLTSScheme< T >::disp_type |
the display type
1.5.2