41 #include <lifev/core/fem/DOF.hpp> 54 for (
UInt i = 0; i < 5; ++i )
71 for (
UInt i = 0; i < 5; ++i )
83 ASSERT_PRE ( (M_localToGlobalByBdFacet.size() > 0) ,
"The local to global map by boundary facet is void");
84 return M_localToGlobalByBdFacet[facetId][localDof];
88 void DOF::
showMe ( std::ostream& out,
bool verbose )
const 90 out <<
" Degree of Freedom (DOF) Object" << std::endl;
91 out <<
" Total DOF Stored " << M_totalDof << std::endl;
92 out <<
" DOF's on Vertices from " << M_dofPositionByEntity[ 0 ] <<
" , to:" << M_dofPositionByEntity[ 1 ] << std::endl;
93 out <<
" DOF's on Edges from " << M_dofPositionByEntity[ 1 ] <<
" , to:" << M_dofPositionByEntity[ 2 ] << std::endl;
94 out <<
" DOF's on Faces from " << M_dofPositionByEntity[ 2 ] <<
" , to:" << M_dofPositionByEntity[ 3 ] << std::endl;
95 out <<
" DOF's on Volumes from " << M_dofPositionByEntity[ 3 ] <<
" , to:" << M_dofPositionByEntity[ 4 ] << std::endl;
98 out <<
"************************************************************" << std::endl;
99 out <<
" Local to Global DOF table" << std::endl;
100 out <<
"************************************************************" << std::endl;
101 out <<
"Element Id Loc. N. Global N. # Element Id Loc. N. Global N. " << std::endl;
130 out <<
"--------------------------------------------------------------------------------" << std::endl;
131 out <<
" Degree of freedom by facet object " << std::endl;
132 out <<
"--------------------------------------------------------------------------------" << std::endl;
134 out <<
" Number of local dof per boundary facet = " << M_localToGlobalByBdFacet[0].size() << std::endl;
138 out <<
"*********************************************************************************" << std::endl;
139 out <<
" Local-to-global DOF table (DOF grouped by boundary facet)" << std::endl;
140 out <<
"*********************************************************************************" << std::endl;
141 out <<
"=================================================================================" << std::endl;
142 out <<
"Facet ID Local DOF Global DOF " << std::endl;
143 out <<
"=================================================================================" << std::endl;
145 for (UInt i = 0; i < M_localToGlobalByBdFacet.size(); ++i)
147 for (UInt j = 0; j < M_localToGlobalByBdFacet[i].size(); ++j)
154 out << M_localToGlobalByBdFacet[i][j];
DOF(const DOFLocalPattern &fePattern)
const DOFLocalPattern & M_elementDofPattern
The pattern of the local degrees of freedom.
void updateInverseJacobian(const UInt &iQuadPt)
DOF(const DOF &dof2)
Copy constructor.
const UInt & numLocalDof() const
The number of local DOF (nodes) in the finite element.
const ID & localToGlobalMap(const ID ElId, const ID localNode) const
Return the specified entries of the localToGlobal table.
DOFLocalPattern - A class to store the "couplings" between the basis functions.
void showMe(std::ostream &out=std::cout, bool verbose=false) const
Ouput.
ID localToGlobalMapByBdFacet(const ID &facetId, const ID &localDof) const
UInt M_dofPositionByEntity[5]
facetToPointPtr_Type M_facetToPoint
void showMeByBdFacet(std::ostream &out=std::cout, bool verbose=false) const
uint32_type UInt
generic unsigned integer (used mainly for addressing)