NeoPZ
|
Structure to reference dependency. More...
#include <pzconnect.h>
Public Member Functions | |
TPZDepend () | |
TPZDepend (int64_t DepConnectIndex, TPZFMatrix< REAL > &depmat, int64_t ipos, int64_t jpos, int isize, int jsize) | |
TPZDepend (const TPZDepend ©) | |
TPZDepend (int64_t connectindex) | |
~TPZDepend () | |
TPZDepend * | HasDepend (int64_t DepConnectIndex) |
TPZDepend * | RemoveDepend (TPZDepend *Ptr) |
int | ClassId () const override |
Define the class id associated with the class. More... | |
void | Read (TPZStream &buf, void *context) override |
read objects from the stream More... | |
void | Write (TPZStream &buf, int withclassid) const override |
Writes this object to the TPZStream buffer. Include the classid if withclassid = true. More... | |
void | CopyFrom (TPZDepend *orig, std::map< int64_t, int64_t > &gl2lcIdx) |
Copy a depend data structure to a clone depend in a clone mesh. 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 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 | |
Public Attributes | |
int64_t | fDepConnectIndex |
TPZFNMatrix< 50, REAL > | fDepMatrix |
TPZDepend * | fNext |
Additional Inherited Members | |
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) |
Structure to reference dependency.
Definition at line 67 of file pzconnect.h.
TPZConnect::TPZDepend::TPZDepend | ( | ) |
Definition at line 266 of file pzconnect.cpp.
Referenced by CopyFrom(), TPZConnect::CopyFrom(), and TPZDepend().
TPZConnect::TPZDepend::TPZDepend | ( | int64_t | DepConnectIndex, |
TPZFMatrix< REAL > & | depmat, | ||
int64_t | ipos, | ||
int64_t | jpos, | ||
int | isize, | ||
int | jsize | ||
) |
Definition at line 270 of file pzconnect.cpp.
References fDepConnectIndex, fDepMatrix, and fNext.
TPZConnect::TPZDepend::TPZDepend | ( | const TPZDepend & | copy | ) |
Definition at line 278 of file pzconnect.cpp.
References fNext, and TPZDepend().
TPZConnect::TPZDepend::TPZDepend | ( | int64_t | connectindex | ) |
Definition at line 283 of file pzconnect.cpp.
TPZConnect::TPZDepend::~TPZDepend | ( | ) |
Definition at line 288 of file pzconnect.cpp.
References fNext.
|
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 406 of file pzconnect.cpp.
References Hash().
void TPZConnect::TPZDepend::CopyFrom | ( | TPZDepend * | orig, |
std::map< int64_t, int64_t > & | gl2lcIdx | ||
) |
Copy a depend data structure to a clone depend in a clone mesh.
orig | original depend to be copied |
gl2lcIdx | global to local indexes map |
Definition at line 475 of file pzconnect.cpp.
References CopyFrom(), fDepConnectIndex, fDepMatrix, fNext, LOGPZ_ERROR, and TPZDepend().
Referenced by CopyFrom(), TPZConnect::CopyFrom(), and TPZConnect::FirstDepend().
TPZConnect::TPZDepend * TPZConnect::TPZDepend::HasDepend | ( | int64_t | DepConnectIndex | ) |
Definition at line 292 of file pzconnect.cpp.
References fDepConnectIndex, and fNext.
Referenced by TPZConnect::AddDependency(), TPZCheckMesh::BuildDependList(), and TPZConnect::RemoveDepend().
|
overridevirtual |
read objects from the stream
Reimplemented from TPZSavable.
Definition at line 416 of file pzconnect.cpp.
References fDepConnectIndex, fDepMatrix, fNext, TPZPersistenceManager::GetInstance(), TPZStream::Read(), and TPZFNMatrix< N, TVar >::Read().
Referenced by TPZConnect::FirstDepend().
TPZConnect::TPZDepend * TPZConnect::TPZDepend::RemoveDepend | ( | TPZDepend * | Ptr | ) |
Definition at line 298 of file pzconnect.cpp.
References fNext, test::res, and substruct_tst14.test::run.
Referenced by TPZConnect::NElConnected(), and TPZConnect::RemoveDepend().
|
overridevirtual |
Writes this object to the TPZStream buffer. Include the classid if withclassid = true.
Writes this object to the TPZStream buffer. Include the classid if withclassid = true
Reimplemented from TPZSavable.
Definition at line 410 of file pzconnect.cpp.
References fDepConnectIndex, fDepMatrix, fNext, TPZStream::Write(), TPZFNMatrix< N, TVar >::Write(), and TPZPersistenceManager::WritePointer().
Referenced by TPZConnect::FirstDepend().
int64_t TPZConnect::TPZDepend::fDepConnectIndex |
Definition at line 69 of file pzconnect.h.
Referenced by TPZCheckRestraint::AddConnect(), TPZBuildMultiphysicsMesh::AddConnects(), TPZMultiphysicsCompMesh::AddConnects(), TPZCheckRestraint::AddDependency(), TPZConnect::AddToList(), TPZBuildMultiphysicsMesh::AppendConnects(), TPZElementMatrix::ApplyConstraints(), TPZConnect::BuildConnectList(), TPZCompEl::BuildConnectList(), TPZInterpolatedElement::CheckConstraintConsistency(), TPZCheckMesh::CheckConstraintDimension(), TPZConnect::CheckDependency(), CopyFrom(), TPZConnect::CopyFrom(), TPZConnect::DependencyDepth(), TPZConnect::ExpandShape(), GatherDependency(), HasDepend(), TPZMHMixedMeshControl::HybridizeSkeleton(), TPZCompEl::LoadSolution(), TPZSubCompMesh::MakeExternal(), TPZConnect::Print(), Read(), TPZCondensedCompEl::Resequence(), TPZConnect::SetDependenceOrder(), TPZDepend(), TPZSubCompMesh::TransferDependencies(), TPZInterpolatedElement::VerifyConstraintConsistency(), Write(), and TPZConnect::~TPZConnect().
TPZFNMatrix<50,REAL> TPZConnect::TPZDepend::fDepMatrix |
Definition at line 70 of file pzconnect.h.
Referenced by TPZCheckRestraint::AddConnect(), TPZCheckRestraint::AddDependency(), TPZConnect::AddDependency(), TPZElementMatrix::ApplyConstraints(), TPZCheckMesh::CheckConstraintDimension(), TPZConnect::CheckDependency(), CopyFrom(), TPZConnect::ExpandShape(), TPZCompEl::LoadSolution(), TPZSubCompMesh::MakeExternal(), TPZConnect::Print(), Read(), TPZInterpolatedElement::RestrainSide(), TPZDepend(), TPZSubCompMesh::TransferDependencies(), TPZInterpolatedElement::VerifyConstraintConsistency(), Write(), and TPZConnect::~TPZConnect().
TPZDepend* TPZConnect::TPZDepend::fNext |
Definition at line 71 of file pzconnect.h.
Referenced by TPZCheckRestraint::AddConnect(), TPZBuildMultiphysicsMesh::AddConnects(), TPZMultiphysicsCompMesh::AddConnects(), TPZCheckRestraint::AddDependency(), TPZConnect::AddDependency(), TPZConnect::AddToList(), TPZBuildMultiphysicsMesh::AppendConnects(), TPZElementMatrix::ApplyConstraints(), TPZConnect::BuildConnectList(), TPZCompEl::BuildConnectList(), TPZInterpolatedElement::CheckConstraintConsistency(), TPZCheckMesh::CheckConstraintDimension(), TPZConnect::CheckDependency(), CopyFrom(), TPZConnect::CopyFrom(), TPZConnect::DependencyDepth(), TPZConnect::ExpandShape(), GatherDependency(), HasDepend(), TPZCompEl::LoadSolution(), TPZConnect::NumDepend(), TPZConnect::Print(), Read(), RemoveDepend(), TPZCondensedCompEl::Resequence(), TPZConnect::SetDependenceOrder(), TPZDepend(), TPZInterpolatedElement::VerifyConstraintConsistency(), Write(), TPZConnect::~TPZConnect(), and ~TPZDepend().