WTSScheme< T > Class Template Reference

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

#include <WTSScheme.hpp>

Inheritance diagram for WTSScheme< T >:

Inheritance graph
[legend]
Collaboration diagram for WTSScheme< 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 ()
 Postprocesses the solver, releases the memory.
 WTSScheme (unsigned the_disp_type, double init_dt, LinTimeAssemble< T > &the_assembler, double the_theta, LinSolver< T > &the_lin_solver, SysMatrix< T > &the_A, SysMatrix< T > &the_B)
 Constructor.
virtual ~WTSScheme ()
 Virtual destructor.

Detailed Description

template<typename T>
class WTSScheme< T >

The weighted average time stepping scheme class template.


Constructor & Destructor Documentation

template<typename T>
WTSScheme< T >::WTSScheme ( unsigned  the_disp_type,
double  init_dt,
LinTimeAssemble< T > &  the_assembler,
double  the_theta,
LinSolver< T > &  the_lin_solver,
SysMatrix< T > &  the_A,
SysMatrix< T > &  the_B 
) [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_lin_solver The linear solver
[in] the_A The stiffness matrix hierarchy
[in] the_B The old time level matrix

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

Virtual destructor.


Member Function Documentation

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

Prints the name and the parameters of the stepping scheme.

Implements LinTSScheme< T >.

template<typename T>
void WTSScheme< 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 LinTSScheme< T >.

template<typename T>
void WTSScheme< 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 LinTSScheme< T >.

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

Postprocesses the solver, releases the memory.

Reimplemented from LinTSScheme< T >.


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