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

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

#include <TPZRefCube.h>

Inheritance diagram for pzrefine::TPZRefCube:
[legend]
Collaboration diagram for pzrefine::TPZRefCube:
[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 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 hexahedral element. Refine.

Definition at line 22 of file TPZRefCube.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
Enumerator
NSubEl 

Definition at line 26 of file TPZRefCube.h.

Member Function Documentation

◆ ClassId()

int pzrefine::TPZRefCube::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 475 of file TPZRefCube.cpp.

References Hash().

◆ Divide()

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

◆ FatherSide()

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

Definition at line 466 of file TPZRefCube.cpp.

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

◆ GetSubElements()

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

◆ GetTransform()

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

◆ MidSideNodeIndex()

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

◆ NewMidSideNode()

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

◆ NSideSubElements()

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

Definition at line 426 of file TPZRefCube.cpp.

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


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