NLWTSScheme< T > Class Template Reference

The weighted average time stepping scheme class template. More...

#include <NLWTSScheme.hpp>

Inheritance diagram for NLWTSScheme< T >:

Inheritance graph
[legend]
Collaboration diagram for NLWTSScheme< T >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void PrintParam ()
 Prints the name and the parameters of the stepping scheme.
void PreProcess (GridVec< T > &u_0)
 Initializes the time stepping process, i.e. computes the matrix and preprocesses the solver (if necessary).
void Step (GridVec< T > &u_old, GridVec< T > &u_new)
 Computes one time step.
void PostProcess ()
 Releases the memory, ...
 NLWTSScheme (unsigned the_disp_type, double init_dt, NLTimeAssemble< T > &the_assembler, double the_theta, NonLinSolver< T > &the_nl_solver)
 Constructor.
virtual ~NLWTSScheme ()
 Virtual destructor.

Detailed Description

template<typename T>
class NLWTSScheme< T >

The weighted average time stepping scheme class template.


Constructor & Destructor Documentation

template<typename T>
NLWTSScheme< T >::NLWTSScheme ( unsigned  the_disp_type,
double  init_dt,
NLTimeAssemble< T > &  the_assembler,
double  the_theta,
NonLinSolver< T > &  the_nl_solver 
) [inline]

Constructor.

Parameters:
[in] the_disp_type The display type
[in] init_dt The initial time step
[in] the_assembler The discretization
[in] the_theta The weight (1: implicit, 0: explicit)
[in] the_nl_solver The linear solver

template<typename T>
virtual NLWTSScheme< T >::~NLWTSScheme (  )  [inline, virtual]

Virtual destructor.


Member Function Documentation

template<typename T>
void NLWTSScheme< T >::PrintParam (  )  [inline, virtual]

Prints the name and the parameters of the stepping scheme.

Implements NLTSScheme< T >.

template<typename T>
void NLWTSScheme< T >::PreProcess ( GridVec< T > &  u_0  )  [inline, virtual]

Initializes the time stepping process, i.e. computes the matrix and preprocesses the solver (if necessary).

Parameters:
[in] u_0 The initial condition

Implements NLTSScheme< T >.

template<typename T>
void NLWTSScheme< T >::Step ( GridVec< T > &  u_old,
GridVec< T > &  u_new 
) [inline, virtual]

Computes one time step.

Note:
'u_old' and 'u_new' may not be the same vector!
Parameters:
[in] u_old Solution from the old time step
[in] u_new For the solution on the new time step

Implements NLTSScheme< T >.

template<typename T>
void NLWTSScheme< T >::PostProcess (  )  [inline, virtual]

Releases the memory, ...

Reimplemented from NLTSScheme< T >.


The documentation for this class was generated from the following files:
Generated on Fri Sep 21 12:34:25 2007 for SG2 by  doxygen 1.5.2