GenLinVcFV< T, Flux > Class Template Reference

Template class for the general vertex-centered finite-volume discretizations of linear PDEs. More...

#include <GenLinVcFV.hpp>

Inheritance diagram for GenLinVcFV< T, Flux >:

Inheritance graph
[legend]
Collaboration diagram for GenLinVcFV< T, Flux >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void PrintParam ()
 Prints parameters of the discretization.
void AssembleMatrix (GridVec< T > &u, SysMatrix< T > &J, T s_a)
 Assembles the matrix in the time-dependent problems.
void Run (GridVec< T > &u, SysMatrix< T > &J, GridVec< T > &f)
 Assembles the stiffness matrix in the stationary problems.
void AssembleDirichlet (GridVec< T > &u)
 Assembles the Dirichlet bc in a given GridVec.
 GenLinVcFV ()
 Constructor.
virtual ~GenLinVcFV ()
 Virtual destructor.

Detailed Description

template<typename T, class Flux>
class GenLinVcFV< T, Flux >

Template class for the general vertex-centered finite-volume discretizations of linear PDEs.

< assembles the stationary problems


Constructor & Destructor Documentation

template<typename T, class Flux>
GenLinVcFV< T, Flux >::GenLinVcFV (  )  [inline]

Constructor.

template<typename T, class Flux>
virtual GenLinVcFV< T, Flux >::~GenLinVcFV (  )  [inline, virtual]

Virtual destructor.


Member Function Documentation

template<typename T, class Flux>
void GenLinVcFV< T, Flux >::PrintParam (  )  [inline, virtual]

Prints parameters of the discretization.

Implements LinTimeAssemble< T >.

template<typename T, class Flux>
void GenLinVcFV< T, Flux >::AssembleMatrix ( GridVec< T > &  u,
SysMatrix< T > &  J,
s_a 
) [inline, virtual]

Assembles the matrix in the time-dependent problems.

Parameters:
[in] u Solution from the last time step
[in] J The matrix to assemble; the sizes must be set
[in] s_a The factor for the stiffness matrix (that for the mass matrix is 1)

Implements LinTimeAssemble< T >.

template<typename T, class Flux>
void GenLinVcFV< T, Flux >::Run ( GridVec< T > &  u,
SysMatrix< T > &  J,
GridVec< T > &  f 
) [inline, virtual]

Assembles the stiffness matrix in the stationary problems.

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

Implements SAssemble< T >.

template<typename T, class Flux>
void GenLinVcFV< T, Flux >::AssembleDirichlet ( GridVec< T > &  u  )  [inline]

Assembles the Dirichlet bc in a given GridVec.

Parameters:
[in] u The vector


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