SAssemble< T > Class Template Reference

Assemble class for stationary problems. More...

#include <SAssemble.hpp>

Inheritance diagram for SAssemble< T >:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

virtual void PrintParam ()=0
 Prints parameters of the discretization.
virtual void Run (GridVec< T > &u, SysMatrix< T > &A, GridVec< T > &f)=0
 Assembles the matrix hierarchy, the right-hand side and (optionally) the boundary conditions of the problem.
virtual ~SAssemble ()
 The virtual destructor.

Detailed Description

template<typename T>
class SAssemble< T >

Assemble class for stationary problems.


Constructor & Destructor Documentation

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

The virtual destructor.


Member Function Documentation

template<typename T>
virtual void SAssemble< T >::PrintParam (  )  [pure virtual]

Prints parameters of the discretization.

Implemented in GenLinVcFV< T, Flux >.

template<typename T>
virtual void SAssemble< T >::Run ( GridVec< T > &  u,
SysMatrix< T > &  A,
GridVec< T > &  f 
) [pure virtual]

Assembles the matrix hierarchy, the right-hand side and (optionally) the boundary conditions of the problem.

The sizes of the matrices in the hierarchy and the vectors must be initialized. At the assembling of non-linear problems the vector 'u' must contain the current guess. This guess is then used for the linearization. Assemblers of linear problems do not depend on the guess and would ignore it.

This function does not return any value but can throw exceptions

Parameters:
[in] u The solution vector / current guess
[in] A The system matrix hierarchy (Jacobian)
[in] f The right-hand side

Implemented in GenLinVcFV< T, Flux >.


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