NAME
FDMLattice
INCLUDE
include "FDMLattice.h"
SYNTAX
class FDMLattice : public FDM
{
protected:
virtual void findContribOverIndexSet (IndexSet& indexset,
StencilCollection& stencils,
DegFreeFD& dof,
MatVecContribFD& contrib,
LinEqAdmFD& lineq,
int indexset_no);
virtual void findContribOverGrid (DegFreeFD& dof,
StencilCollection& stencils,
MatVecContribFD& contrib,
LinEqAdmFD& lineq);
virtual void fillRHSOverIndexSet (IndexSet& idxset,
int indexset_no,
StencilCollection& stencils,
DegFreeFD& dof,
Vec(NUMT)& rhs);
virtual void fillRHSOverGrid (StencilCollection& stencils,
DegFreeFD& dof,
Vec(NUMT)& rhs);
virtual void calcMatVecContrib (int node_no,
MatVecContribFD& contrib,
Stencil& stencil,
DegFreeFD& dof);
public:
FDMLattice ();
~FDMLattice ();
// default/dummy functions:
COPY_CONSTRUCTOR(FDMLattice)
ASSIGNMENT_OPERATOR(FDMLattice)
CLASS_INFO
VIRTUAL_CAST(FDMLattice)
};
KEYWORDS
finite difference method, base class, problem dependent data
DESCRIPTION
The class contains parts of FDM that are specific for lattice
grids.
CONSTRUCTORS AND INITIALIZATION
See the base class FDM.
MEMBER FUNCTIONS
Only the constructor should be called explicitly by the user, the
rest of the functions are utility functions used by FDM for lat
tice grids. See the base class FDM.
DEVELOPED BY
Numerical Objects AS
AUTHOR
Elizabeth Acklam, NO