Public Member Functions
Sundance::HNDoFMapBase Class Reference

The abstract class which extends the functionalities of the DOF map
The only additional functionality is that we have a restriction on the DOFs , with the pre-fill transformations these constraints can be build in into the matrix. More...

Inheritance diagram for Sundance::HNDoFMapBase:
Sundance::SpatiallyHomogeneousDOFMapBase Sundance::DOFMapBase Sundance::Printable Sundance::MixedDOFMapHN Sundance::NodalDOFMapHN

List of all members.

Public Member Functions

 HNDoFMapBase (const Mesh &mesh, int nFuncs, int setupVerb)
 Empty Ctor.
virtual ~HNDoFMapBase ()
virtual void getTrafoMatrixForCell (int cellLID, int funcID, int &trafoMatrixSize, bool &doTransform, Array< double > &transfMatrix) const =0
virtual void getTrafoMatrixForFacet (int cellDim, int cellLID, int facetIndex, int funcID, int &trafoMatrixSize, bool &doTransform, Array< double > &transfMatrix) const =0
 Function to apply transformation for facets.
virtual void getDOFsForHNCell (int cellDim, int cellLID, int funcID, Array< int > &dofs, Array< double > &coefs) const =0
 Function used for plotting for hanging node DOFMaps Returns for one hanging node (element) the global DoFs which contribute to that hanging local DoF.
int getSpacialMeshDim () const
 Returns the dimension where the DoF map is defined For HN we do transformation only for the maxCell type.

Detailed Description

The abstract class which extends the functionalities of the DOF map
The only additional functionality is that we have a restriction on the DOFs , with the pre-fill transformations these constraints can be build in into the matrix.

Definition at line 23 of file SundanceHNDoFMapBase.hpp.


Constructor & Destructor Documentation

Sundance::HNDoFMapBase::HNDoFMapBase ( const Mesh mesh,
int  nFuncs,
int  setupVerb 
) [inline]

Empty Ctor.

Definition at line 28 of file SundanceHNDoFMapBase.hpp.

virtual Sundance::HNDoFMapBase::~HNDoFMapBase ( ) [inline, virtual]

Definition at line 31 of file SundanceHNDoFMapBase.hpp.


Member Function Documentation

virtual void Sundance::HNDoFMapBase::getDOFsForHNCell ( int  cellDim,
int  cellLID,
int  funcID,
Array< int > &  dofs,
Array< double > &  coefs 
) const [pure virtual]

Function used for plotting for hanging node DOFMaps Returns for one hanging node (element) the global DoFs which contribute to that hanging local DoF.

Parameters:
cellDim[in] the dimension
cellLID[in] the LID of the cell
funcID[in] the function ID, (to wchich the DOFs belong)
dofs[out] the global DoF s
coefs[out] the coefficient of each global DoF

Implemented in Sundance::MixedDOFMapHN, and Sundance::NodalDOFMapHN.

Referenced by Sundance::ExprFieldWrapper::getData().

int Sundance::HNDoFMapBase::getSpacialMeshDim ( ) const [inline]

Returns the dimension where the DoF map is defined For HN we do transformation only for the maxCell type.

Definition at line 81 of file SundanceHNDoFMapBase.hpp.

References Sundance::DOFMapBase::mesh(), and Sundance::Mesh::spatialDim().

virtual void Sundance::HNDoFMapBase::getTrafoMatrixForCell ( int  cellLID,
int  funcID,
int &  trafoMatrixSize,
bool &  doTransform,
Array< double > &  transfMatrix 
) const [pure virtual]
Parameters:
cellLID[in] the maxCell LID input
funcID[in] the function ID
trafoMatrixSize[in/out]
doTransform[out]
transfMatrix[out] (we assume that the array is already pre-sized )

Implemented in Sundance::MixedDOFMapHN, and Sundance::NodalDOFMapHN.

virtual void Sundance::HNDoFMapBase::getTrafoMatrixForFacet ( int  cellDim,
int  cellLID,
int  facetIndex,
int  funcID,
int &  trafoMatrixSize,
bool &  doTransform,
Array< double > &  transfMatrix 
) const [pure virtual]

Function to apply transformation for facets.

Parameters:
cellDim,thefacet dimension
cellLID,facetLID
facetIndex,facetindex in the maxCofacet
funcID[in] the function ID
trafoMatrixSize[in/out]
doTransform[out]
transfMatrix[out] (we assume that the array is already pre-sized )

Implemented in Sundance::MixedDOFMapHN, and Sundance::NodalDOFMapHN.

Site Contact