NeoPZ
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
TPZIdentifyRefPattern Class Reference

Identifies the refinement pattern given the father element and their sons. Getting Data. More...

#include <pzidentifyrefpattern.h>

Public Member Functions

 TPZIdentifyRefPattern (std::string &path)
 
 ~TPZIdentifyRefPattern ()
 
TPZAutoPointer< TPZRefPatternGetRefPattern (TPZGeoEl *father, TPZVec< TPZGeoEl *> subelem)
 Returns the refinement pattern that generates the given refinement. More...
 

Protected Member Functions

int IdentifySide (TPZGeoEl *father, TPZVec< TPZGeoEl *> subelem)
 Identify the side of the refinement pattern. More...
 
int UniformSubElem (int eltype)
 Returns the number of subelements of a uniform refinement \ pattern for the specified element type. More...
 
TPZAutoPointer< TPZRefPatternGetUniform (TPZGeoEl *gel)
 
TPZAutoPointer< TPZRefPatternGetSideRefPattern (TPZGeoEl *gel, int side)
 

Protected Attributes

std::string fPath
 

Detailed Description

Identifies the refinement pattern given the father element and their sons. Getting Data.

Author
Edimar Cesar Rylo
Since
March 8, 2004

Definition at line 26 of file pzidentifyrefpattern.h.

Constructor & Destructor Documentation

◆ TPZIdentifyRefPattern()

TPZIdentifyRefPattern::TPZIdentifyRefPattern ( std::string &  path)

Definition at line 25 of file pzidentifyrefpattern.cpp.

◆ ~TPZIdentifyRefPattern()

TPZIdentifyRefPattern::~TPZIdentifyRefPattern ( )

Definition at line 28 of file pzidentifyrefpattern.cpp.

Member Function Documentation

◆ GetRefPattern()

TPZAutoPointer< TPZRefPattern > TPZIdentifyRefPattern::GetRefPattern ( TPZGeoEl father,
TPZVec< TPZGeoEl *>  subelem 
)

Returns the refinement pattern that generates the given refinement.

Returns the refinement pattern that generates the given refinement

Definition at line 31 of file pzidentifyrefpattern.cpp.

References DebugStop, EOned, EPoint, TPZRefPatternDataBase::FindRefPattern(), gRefDBase, TPZRefPatternDataBase::InsertRefPattern(), TPZVec< T >::NElements(), PZError, and TPZGeoEl::Type().

◆ GetSideRefPattern()

TPZAutoPointer< TPZRefPattern > TPZIdentifyRefPattern::GetSideRefPattern ( TPZGeoEl gel,
int  side 
)
protected

◆ GetUniform()

TPZAutoPointer< TPZRefPattern > TPZIdentifyRefPattern::GetUniform ( TPZGeoEl gel)
protected

◆ IdentifySide()

int TPZIdentifyRefPattern::IdentifySide ( TPZGeoEl father,
TPZVec< TPZGeoEl *>  subelem 
)
protected

Identify the side of the refinement pattern.

Identify the side of the refinement pattern

Definition at line 73 of file pzidentifyrefpattern.cpp.

References TSide::fSide, TPZVec< T >::NElements(), TPZGeoEl::NSides(), and TPZGeoEl::SideDimension().

◆ UniformSubElem()

int TPZIdentifyRefPattern::UniformSubElem ( int  eltype)
protected

Returns the number of subelements of a uniform refinement \ pattern for the specified element type.

Definition at line 104 of file pzidentifyrefpattern.cpp.

References ECube, EOned, EPiramide, EPoint, EPrisma, EQuadrilateral, ETetraedro, ETriangle, and PZError.

Member Data Documentation

◆ fPath

std::string TPZIdentifyRefPattern::fPath
protected

Definition at line 45 of file pzidentifyrefpattern.h.


The documentation for this class was generated from the following files: