Sundance::HNDoFMapBase Class Reference

Inheritance diagram for Sundance::HNDoFMapBase:

Sundance::HNDoFMapBaseHomogeneous Sundance::InhomogeneousDOFMapHN Sundance::MixedDOFMapHN Sundance::NodalDOFMapHN

List of all members.

Public Member Functions

 HNDoFMapBase (const Mesh &mesh, int nFuncs, int setupVerb)
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
virtual void getDOFsForHNCell (int cellDim, int cellLID, int funcID, Array< int > &dofs, Array< double > &coefs) const =0
int getSpacialMeshDim () const

Private Attributes

const Mesh mesh_


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 24 of file SundanceHNDoFMapBase.hpp.


Constructor & Destructor Documentation

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

Empty Ctor

Definition at line 29 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::InhomogeneousDOFMapHN, 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 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::InhomogeneousDOFMapHN, 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,the facet dimension
cellLID,facet LID
facetIndex,facet index 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::InhomogeneousDOFMapHN, Sundance::MixedDOFMapHN, and Sundance::NodalDOFMapHN.


Member Data Documentation

Definition at line 87 of file SundanceHNDoFMapBase.hpp.

Referenced by getSpacialMeshDim().

Site Contact