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_ |
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 66 of file SundanceHNDoFMapBase.hpp.
| Sundance::HNDoFMapBase::HNDoFMapBase | ( | const Mesh & | mesh, |
| int | nFuncs, | ||
| int | setupVerb | ||
| ) | [inline] |
Empty Ctor
Definition at line 71 of file SundanceHNDoFMapBase.hpp.
| virtual Sundance::HNDoFMapBase::~HNDoFMapBase | ( | ) | [inline, virtual] |
Definition at line 73 of file SundanceHNDoFMapBase.hpp.
| 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
| 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 123 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] |
| 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
| 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.
const Mesh Sundance::HNDoFMapBase::mesh_ [private] |
Definition at line 129 of file SundanceHNDoFMapBase.hpp.
Referenced by getSpacialMeshDim().