NeoPZ
|
Implements the uniform refinement of a geometric tetrahedral element. Refine. More...
#include <pzreftetrahedra.h>
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 TPZSavable * | CreateInstance (const int &classId) |
Implements the uniform refinement of a geometric tetrahedral element. Refine.
Definition at line 25 of file pzreftetrahedra.h.
anonymous enum |
Enumerator | |
---|---|
NSubEl |
Definition at line 29 of file pzreftetrahedra.h.
|
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 363 of file pzreftetrahedra.cpp.
References Hash().
Definition at line 212 of file pzreftetrahedra.cpp.
References TPZGeoEl::CreateGeoElement(), EPiramide, ETetraedro, TPZGeoEl::HasSubElement(), TPZGeoEl::Index(), TPZGeoEl::MaterialId(), pztopology::TPZTetrahedron::NCornerNodes, pztopology::TPZPyramid::NCornerNodes, TPZGeoEl::NodeIndex(), pztopology::TPZTetrahedron::NSides, pzrefine::NumInNeigh, TPZVec< T >::Resize(), TPZGeoEl::SetFather(), TPZGeoEl::SetFatherIndex(), TPZGeoEl::SetNeighbour(), TPZGeoEl::SetSubElement(), TPZGeoEl::SetSubElementConnectivities(), and TPZGeoEl::SubElement().
|
static |
Definition at line 358 of file pzreftetrahedra.cpp.
|
static |
Definition at line 306 of file pzreftetrahedra.cpp.
References TPZGeoEl::HasSubElement(), pztopology::TPZTetrahedron::NSides, nsub, TPZStack< T, NumExtAlloc >::Push(), PZError, and TPZGeoEl::SubElement().
|
static |
Definition at line 327 of file pzreftetrahedra.cpp.
References pzrefine::fatherside, TPZTransform< T >::Mult(), pztopology::TPZTetrahedron::NSides, pztopology::TPZPyramid::NSides, PZError, pztopology::TPZTetrahedron::SideDimension(), pztopology::TPZPyramid::SideDimension(), and TPZTransform< T >::Sum().
|
static |
Definition at line 286 of file pzreftetrahedra.cpp.
References TPZGeoEl::HasSubElement(), pztopology::TPZTetrahedron::NCornerNodes, pztopology::TPZTetrahedron::NSides, PZError, and TPZGeoEl::SubElement().
|
static |
Definition at line 257 of file pzreftetrahedra.cpp.
References TPZAdmChunkVector< T, EXP >::AllocateNewElement(), TPZGeoElSide::Element(), TPZGeoEl::Mesh(), TPZGeoEl::MidSideNodeIndex(), pztopology::TPZTetrahedron::NCornerNodes, TPZGeoElSide::Neighbour(), TPZGeoEl::Neighbour(), TPZGeoEl::NodeIndex(), TPZGeoMesh::NodeVec(), TPZGeoElSide::Side(), and TPZGeoEl::X().
|
static |
Definition at line 319 of file pzreftetrahedra.cpp.
References pztopology::TPZTetrahedron::NSides, and PZError.