35 #ifndef entityrenumberingscheme_h 36 #define entityrenumberingscheme_h 83 pt2Object = _pt2Object;
89 return ( * pt2Object.*fpt )(n, ers);
93 {
return ( * pt2Object.*fpt )(n, ers); };
105 dofmanMap(_dofmanMap), elemMap(_elemMap)
110 std :: map< int, int > :: const_iterator it;
112 if ( ( it = dofmanMap.find(n) ) != dofmanMap.end() ) {
116 if ( ( it = elemMap.find(n) ) != elemMap.end() ) {
120 OOFEM_ERROR(
"unsupported EntityRenumberingScheme");
128 {
return this->operator() (n, ers); };
131 #endif // entityrenumberingscheme_h TClass * pt2Object
Pointer to object.
virtual ~EntityRenumberingFunctor()
SpecificEntityRenumberingFunctor(TClass *_pt2Object, int(TClass::*_fpt)(int, EntityRenumberingScheme))
MapBasedEntityRenumberingFunctor(std::map< int, int > &_dofmanMap, std::map< int, int > &_elemMap)
EntityRenumberingScheme
Type allowing to specify the required renumbering scheme; One can have a renumbering scheme for dof m...
virtual int call(int n, EntityRenumberingScheme ers)
Call using function.
virtual int call(int n, EntityRenumberingScheme ers)
Call using function.
Renumbering functor based on provided maps.
std::map< int, int > & elemMap
the oofem namespace is to define a context or scope in which all oofem names are defined.