13 #ifndef TPZREFPATTERNDATABASEH 14 #define TPZREFPATTERNDATABASEH 83 void Print(std::ostream &out = std::cout);
std::map< int, TPZAutoPointer< TPZRefPattern > > fIdRefPatterns
Maps all refinement pattern objects in the mesh, indexed by refpattern Id.
std::map< MElementType, std::list< TPZAutoPointer< TPZRefPattern > > > fElTypeRefPatterns
Maps all refinement pattern objects in the mesh, indexed by refpattern element type.
void InitializeAllUniformRefPatterns()
Initialize the uniform refinement pattern from hard coaded data for all linear geometric elements...
const std::list< TPZAutoPointer< TPZRefPattern > > & RefPatternList(MElementType eltype)
Return the complete set of refinement patterns availabe.
void InitializeUniformRefPattern(MElementType elType)
Initialize the uniform refinement pattern from hard coaded data for an specific geometric element...
void InsertRefPattern(TPZAutoPointer< TPZRefPattern > &refpat)
Insert the refinement pattern in the list of availabe refinement patterns assigns an Id to refPattern...
void Print(std::ostream &out=std::cout)
Defines enum MElementType and contains the implementation of MElementType_NNodes(...) functions.
void InitializeRefPatterns(int maxdim=3)
TPZAutoPointer< TPZRefPattern > FindRefPattern(TPZAutoPointer< TPZRefPattern > &refpat)
Check whether the refinement pattern already exists.
Defines data base of patterns. Refine.
TPZAutoPointer< TPZRefPattern > GetUniformRefPattern(MElementType type)
Retrieves the uniform refinement pattern for given element type.
Contains declaration of the TPZAutoPointer class which has Increment and Decrement actions are mutexe...
int ImportRefPatterns(int maxdim=3)
Import a library of refinement patterns from the install directory.
Contains the TPZRefPattern class which defines the topology of the current refinement pattern to a me...
void WriteRefPatternDBase(std::ofstream &fileout)
TPZRefPatternDataBase gRefDBase
External variable to data base of patterns.
void ReadRefPatternDBase(const std::string &filename)
Read all refpatterns available in the given file.
MElementType
Define the element types.