NeoPZ
Public Types | Public Member Functions | Static Public Member Functions | List of all members
pzrefine::TPZRefTriangle Class Reference

Implements the uniform refinement of a geometric triangular element. Refine. More...

#include <pzreftriangle.h>

Inheritance diagram for pzrefine::TPZRefTriangle:
[legend]
Collaboration diagram for pzrefine::TPZRefTriangle:
[legend]

Public Types

enum  { NSubEl }
 

Public Member Functions

int ClassId () const override
 Define the class id associated with the class. More...
 
- Public Member Functions inherited from TPZSavable
 TPZSavable ()
 
virtual ~TPZSavable ()
 
virtual std::list< std::map< std::string, uint64_t > > VersionHistory () const
 
virtual std::pair< std::string, uint64_t > Version () const
 
virtual void Write (TPZStream &buf, int withclassid) const
 Writes this object to the TPZStream buffer. Include the classid if withclassid = true. More...
 
virtual void Read (TPZStream &buf, void *context)
 read objects from the stream More...
 
virtual bool Compare (TPZSavable *copy, bool override=false)
 Compares the object for identity with the object pointed to, eventually copy the object. More...
 
virtual bool Compare (TPZSavable *copy, bool override=false) const
 Compares the object for identity with the object pointed to, eventually copy the object. More...
 
- Public Member Functions inherited from TPZRegisterClassId
template<typename T >
 TPZRegisterClassId (int(T::*)() const)
 
 TPZRegisterClassId ()=default
 

Static Public Member Functions

static void Divide (TPZGeoEl *geo, TPZVec< TPZGeoEl *> &SubElVec)
 
static void MidSideNodeIndex (const TPZGeoEl *gel, int side, int64_t &index)
 
static void NewMidSideNode (TPZGeoEl *gel, int side, int64_t &index)
 
static void GetSubElements (const TPZGeoEl *father, int side, TPZStack< TPZGeoElSide > &subel)
 
static int NSideSubElements (int side)
 
static TPZTransform< REAL > GetTransform (int side, int son)
 
static int FatherSide (int side, int son)
 
- Static Public Member Functions inherited from TPZSavable
static std::set< TPZRestoreClassBase * > & RestoreClassSet ()
 This static function guarantees that the gMap object is available when needed. More...
 
static std::map< int, TPZRestore_t > & ClassIdMap ()
 This static function guarantees that the gMap object is available when needed. More...
 
static std::pair< std::string, uint64_t > NeoPZVersion ()
 
static void Register (TPZRestoreClassBase *restore)
 
static void RegisterClassId (int classid, TPZRestore_t fun)
 
static TPZSavableCreateInstance (const int &classId)
 

Detailed Description

Implements the uniform refinement of a geometric triangular element. Refine.

Definition at line 23 of file pzreftriangle.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
NSubEl 

Definition at line 26 of file pzreftriangle.h.

Member Function Documentation

◆ ClassId()

int pzrefine::TPZRefTriangle::ClassId ( ) const
overridevirtual

Define the class id associated with the class.

This id has to be unique for all classes A non unique id is flagged at the startup of the program

Implements TPZSavable.

Definition at line 247 of file pzreftriangle.cpp.

References Hash().

◆ Divide()

void pzrefine::TPZRefTriangle::Divide ( TPZGeoEl geo,
TPZVec< TPZGeoEl *> &  SubElVec 
)
static

◆ FatherSide()

int pzrefine::TPZRefTriangle::FatherSide ( int  side,
int  son 
)
static

Definition at line 239 of file pzreftriangle.cpp.

References pztopology::TPZTriangle::NSides, and PZError.

◆ GetSubElements()

void pzrefine::TPZRefTriangle::GetSubElements ( const TPZGeoEl father,
int  side,
TPZStack< TPZGeoElSide > &  subel 
)
static

◆ GetTransform()

TPZTransform pzrefine::TPZRefTriangle::GetTransform ( int  side,
int  son 
)
static

◆ MidSideNodeIndex()

void pzrefine::TPZRefTriangle::MidSideNodeIndex ( const TPZGeoEl gel,
int  side,
int64_t &  index 
)
static

◆ NewMidSideNode()

void pzrefine::TPZRefTriangle::NewMidSideNode ( TPZGeoEl gel,
int  side,
int64_t &  index 
)
static

◆ NSideSubElements()

int pzrefine::TPZRefTriangle::NSideSubElements ( int  side)
static

Definition at line 212 of file pzreftriangle.cpp.

References pztopology::TPZTriangle::NSides, and PZError.


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