NeoPZ
|
Implements the uniform refinement of a geometric linear element. Refine. More...
#include <TPZRefLinear.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< 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 TPZSavable * | CreateInstance (const int &classId) |
Implements the uniform refinement of a geometric linear element. Refine.
Definition at line 23 of file TPZRefLinear.h.
anonymous enum |
Enumerator | |
---|---|
NSubEl |
Definition at line 27 of file TPZRefLinear.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 195 of file TPZRefLinear.cpp.
References Hash().
Definition at line 58 of file TPZRefLinear.cpp.
References TPZGeoMesh::CreateGeoElement(), EOned, TPZGeoEl::HasSubElement(), TPZGeoEl::Index(), TPZGeoEl::MaterialId(), TPZGeoEl::Mesh(), pztopology::TPZLine::NCornerNodes, TPZGeoEl::NodeIndex(), pztopology::TPZLine::NSides, TPZVec< T >::Resize(), TPZGeoEl::SetNeighbour(), TPZGeoEl::SetSubElement(), TPZGeoEl::SetSubElementConnectivities(), and TPZGeoEl::SubElement().
|
static |
Definition at line 186 of file TPZRefLinear.cpp.
References pztopology::TPZLine::NSides, and PZError.
|
static |
Definition at line 146 of file TPZRefLinear.cpp.
References TPZGeoEl::HasSubElement(), pztopology::TPZLine::NSides, nsub, TPZStack< T, NumExtAlloc >::Push(), PZError, and TPZGeoEl::SubElement().
|
static |
Definition at line 166 of file TPZRefLinear.cpp.
References TPZTransform< T >::Mult(), pztopology::TPZLine::NSides, PZError, pztopology::TPZLine::SideDimension(), and TPZTransform< T >::Sum().
|
static |
Definition at line 99 of file TPZRefLinear.cpp.
References TPZGeoEl::HasSubElement(), pztopology::TPZLine::NCornerNodes, pztopology::TPZLine::NSides, PZError, and TPZGeoEl::SubElement().
|
static |
Definition at line 118 of file TPZRefLinear.cpp.
References TPZAdmChunkVector< T, EXP >::AllocateNewElement(), TPZGeoElSide::Element(), TPZGeoEl::Mesh(), TPZGeoEl::MidSideNodeIndex(), pztopology::TPZLine::NCornerNodes, TPZGeoElSide::Neighbour(), TPZGeoEl::Neighbour(), TPZGeoEl::NodeIndex(), TPZGeoMesh::NodeVec(), TPZGeoElSide::Side(), and TPZGeoEl::X().
|
static |
Definition at line 157 of file TPZRefLinear.cpp.
References pztopology::TPZLine::NSides, and PZError.