NeoPZ
Public Member Functions | Public Attributes | List of all members
TPZRefPattern::TPZRefPatternPermute Class Reference

Auxiliar structure to permute nodes. More...

#include <TPZRefPattern.h>

Inheritance diagram for TPZRefPattern::TPZRefPatternPermute:
[legend]
Collaboration diagram for TPZRefPattern::TPZRefPatternPermute:
[legend]

Public Member Functions

 TPZRefPatternPermute ()
 Default constructor. More...
 
 TPZRefPatternPermute (const TPZRefPatternPermute &copy)
 Copy constructor. More...
 
TPZRefPatternPermuteoperator= (const TPZRefPatternPermute &copy)
 
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...
 
- 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

TPZPermutation fPermute
 permutation of the nodes More...
 
TPZTransform fTransform
 Transformation to the nodes. More...
 

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 TPZSavableCreateInstance (const int &classId)
 

Detailed Description

Auxiliar structure to permute nodes.

Definition at line 151 of file TPZRefPattern.h.

Constructor & Destructor Documentation

◆ TPZRefPatternPermute() [1/2]

TPZRefPattern::TPZRefPatternPermute::TPZRefPatternPermute ( )
inline

Default constructor.

Definition at line 159 of file TPZRefPattern.h.

◆ TPZRefPatternPermute() [2/2]

TPZRefPattern::TPZRefPatternPermute::TPZRefPatternPermute ( const TPZRefPatternPermute copy)
inline

Copy constructor.

Definition at line 162 of file TPZRefPattern.h.

Member Function Documentation

◆ ClassId()

int TPZRefPattern::TPZRefPatternPermute::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 1299 of file TPZRefPattern.cpp.

References Hash().

◆ operator=()

TPZRefPatternPermute& TPZRefPattern::TPZRefPatternPermute::operator= ( const TPZRefPatternPermute copy)
inline

◆ Read()

void TPZRefPattern::TPZRefPatternPermute::Read ( TPZStream buf,
void *  context 
)
overridevirtual

read objects from the stream

Reimplemented from TPZSavable.

Definition at line 1303 of file TPZRefPattern.cpp.

◆ Write()

void TPZRefPattern::TPZRefPatternPermute::Write ( TPZStream buf,
int  withclassid 
) const
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 1308 of file TPZRefPattern.cpp.

Member Data Documentation

◆ fPermute

TPZPermutation TPZRefPattern::TPZRefPatternPermute::fPermute

permutation of the nodes

Definition at line 154 of file TPZRefPattern.h.

Referenced by TPZRefPattern::FindRefPattern(), TPZRefPattern::GeneratePermutations(), and operator=().

◆ fTransform

TPZTransform TPZRefPattern::TPZRefPatternPermute::fTransform

Transformation to the nodes.

Definition at line 157 of file TPZRefPattern.h.

Referenced by TPZRefPattern::FindRefPattern(), TPZRefPattern::GeneratePermutations(), and operator=().


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