NeoPZ
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
TPZGraphElQ3dd Class Reference

To export a graphical three dimensional discontinuous element. Post processing. More...

#include <pzgraphelq3dd.h>

Inheritance diagram for TPZGraphElQ3dd:
[legend]
Collaboration diagram for TPZGraphElQ3dd:
[legend]

Public Member Functions

 TPZGraphElQ3dd (TPZCompEl *cel, TPZGraphMesh *gmesh)
 Constructor for graphical element to computational hexahedra discontinuous element. More...
 
virtual ~TPZGraphElQ3dd (void)
 
virtual int NConnects ()
 Number of connects for the element. More...
 
virtual MElementType Type ()
 Get the type of the graphical element. More...
 
virtual int ExportType (TPZDrawStyle st)
 Sets the style to export (format) More...
 
virtual int NNodes ()
 Number of corner nodes (geometric information) More...
 
virtual TPZGraphNodeConnect (int64_t i)
 Return the graphical connect. More...
 
virtual int NPoints (TPZGraphNode *n)
 Number of points to graphical resolution. More...
 
virtual int NElements ()
 
virtual void SetNode (int64_t i, TPZGraphNode *n)
 Sets a ith graphical node. More...
 
virtual int64_t EqNum (TPZVec< int > &co)
 Number of equations. More...
 
virtual void Connectivity (TPZDrawStyle st=EDXStyle)
 Set dx style for connectivity information. More...
 
virtual int Dimension ()
 the parametric dimension of the element More...
 
- Public Member Functions inherited from TPZGraphEl
 TPZGraphEl (TPZCompEl *cel, TPZGraphMesh *gmesh, TPZGraphNode **connectvec)
 Constructor of the graphical element. More...
 
 TPZGraphEl (TPZCompEl *cel, TPZGraphMesh *gmesh, TPZGraphNode *&connect)
 Constructor of the graphical element. More...
 
virtual ~TPZGraphEl (void)
 Default destructor. More...
 
virtual int ClassId () const override
 Define the class id associated with the class. More...
 
virtual void Read (TPZStream &buf, void *context) override
 read objects from the stream More...
 
virtual void Write (TPZStream &buf, int withclassid) const override
 Writes this object to the TPZStream buffer. Include the classid if withclassid = true. More...
 
int64_t Id ()
 Get the Id of the graphical element. More...
 
void SetId (int64_t id)
 Set graphical element id. More...
 
void DrawCo (TPZGraphNode *n, TPZDrawStyle st)
 Draw coordinates of the graphical node. More...
 
void DrawSolution (TPZGraphNode *n, TPZBlock< REAL > &Sol, TPZDrawStyle st)
 Draw solution of the graphical node. More...
 
void DrawSolution (TPZGraphNode *n, int solind, TPZDrawStyle st)
 
void DrawSolution (TPZGraphNode *n, TPZVec< int > &solind, TPZDrawStyle st)
 
void Print (std::ostream &out)
 Print the information of the graphical element. 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
 

Protected Member Functions

virtual void FirstIJ (int connect, TPZVec< int > &co, int &incr)
 
virtual void NextIJ (int connect, TPZVec< int > &co, int incr)
 
- Protected Member Functions inherited from TPZGraphEl
int ConnectNum (TPZGraphNode *n)
 Returns the number of the graphical node in the vector of connects. More...
 
virtual void QsiEta (TPZVec< int > &i, int imax, TPZVec< REAL > &qsieta)
 This method maps the index of a point to parameter space as a function of the number of divisions. More...
 

Protected Attributes

TPZGraphNodefConnect
 Graphical node (connect) to discontinuous graphical element. More...
 
- Protected Attributes inherited from TPZGraphEl
TPZCompElfCompEl
 Computational element associated with graphical element. More...
 
TPZGraphMeshfGraphMesh
 Graphical mesh associated with graphical element. More...
 
int64_t fId
 Id of the graphical element. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from TPZGraphEl
static int StaticClassId ()
 
- 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

To export a graphical three dimensional discontinuous element. Post processing.

Definition at line 20 of file pzgraphelq3dd.h.

Constructor & Destructor Documentation

◆ TPZGraphElQ3dd()

TPZGraphElQ3dd::TPZGraphElQ3dd ( TPZCompEl cel,
TPZGraphMesh gmesh 
)

Constructor for graphical element to computational hexahedra discontinuous element.

Definition at line 12 of file pzgraphelq3dd.cpp.

◆ ~TPZGraphElQ3dd()

TPZGraphElQ3dd::~TPZGraphElQ3dd ( void  )
virtual

Definition at line 19 of file pzgraphelq3dd.cpp.

Member Function Documentation

◆ Connect()

TPZGraphNode * TPZGraphElQ3dd::Connect ( int64_t  con)
virtual

Return the graphical connect.

Implements TPZGraphEl.

Definition at line 15 of file pzgraphelq3dd.cpp.

References fConnect.

Referenced by Type().

◆ Connectivity()

void TPZGraphElQ3dd::Connectivity ( TPZDrawStyle  st = EDXStyle)
virtual

Set dx style for connectivity information.

Implements TPZGraphEl.

Definition at line 66 of file pzgraphelq3dd.cpp.

References EDXStyle, EMVStyle, EqNum(), EV3DStyle, EVTKStyle, TPZGraphEl::fGraphMesh, TPZGraphEl::fId, TPZGraphMesh::Out(), TPZGraphMesh::Res(), and test::res.

Referenced by Type().

◆ Dimension()

virtual int TPZGraphElQ3dd::Dimension ( )
inlinevirtual

the parametric dimension of the element

Implements TPZGraphEl.

Definition at line 49 of file pzgraphelq3dd.h.

References FirstIJ(), and NextIJ().

◆ EqNum()

int64_t TPZGraphElQ3dd::EqNum ( TPZVec< int > &  co)
virtual

Number of equations.

Implements TPZGraphEl.

Definition at line 37 of file pzgraphelq3dd.cpp.

References fConnect, TPZGraphEl::fGraphMesh, TPZGraphNode::FirstPoint(), TPZGraphMesh::Res(), and test::res.

Referenced by Connectivity(), and Type().

◆ ExportType()

int TPZGraphElQ3dd::ExportType ( TPZDrawStyle  st)
virtual

Sets the style to export (format)

Implements TPZGraphEl.

Definition at line 118 of file pzgraphelq3dd.cpp.

References EVTKStyle.

Referenced by Type().

◆ FirstIJ()

void TPZGraphElQ3dd::FirstIJ ( int  connect,
TPZVec< int > &  co,
int &  incr 
)
protectedvirtual

Implements TPZGraphEl.

Definition at line 44 of file pzgraphelq3dd.cpp.

Referenced by Dimension().

◆ NConnects()

virtual int TPZGraphElQ3dd::NConnects ( )
inlinevirtual

Number of connects for the element.

Implements TPZGraphEl.

Definition at line 28 of file pzgraphelq3dd.h.

◆ NElements()

int TPZGraphElQ3dd::NElements ( )
virtual

Implements TPZGraphEl.

Definition at line 31 of file pzgraphelq3dd.cpp.

References TPZGraphEl::fGraphMesh, TPZGraphMesh::Res(), and test::res.

Referenced by Type().

◆ NextIJ()

void TPZGraphElQ3dd::NextIJ ( int  connect,
TPZVec< int > &  co,
int  incr 
)
protectedvirtual

Implements TPZGraphEl.

Definition at line 50 of file pzgraphelq3dd.cpp.

References TPZGraphEl::fGraphMesh, TPZGraphMesh::Res(), and test::res.

Referenced by Dimension().

◆ NNodes()

int TPZGraphElQ3dd::NNodes ( )
virtual

Number of corner nodes (geometric information)

Implements TPZGraphEl.

Definition at line 130 of file pzgraphelq3dd.cpp.

Referenced by Type().

◆ NPoints()

int TPZGraphElQ3dd::NPoints ( TPZGraphNode n)
virtual

Number of points to graphical resolution.

Implements TPZGraphEl.

Definition at line 24 of file pzgraphelq3dd.cpp.

References TPZGraphEl::fGraphMesh, TPZGraphMesh::Res(), and test::res.

Referenced by Type().

◆ SetNode()

void TPZGraphElQ3dd::SetNode ( int64_t  i,
TPZGraphNode n 
)
virtual

Sets a ith graphical node.

Reimplemented from TPZGraphEl.

Definition at line 114 of file pzgraphelq3dd.cpp.

References fConnect.

Referenced by Type().

◆ Type()

virtual MElementType TPZGraphElQ3dd::Type ( )
inlinevirtual

Get the type of the graphical element.

Implements TPZGraphEl.

Definition at line 30 of file pzgraphelq3dd.h.

References co, Connect(), Connectivity(), ECube, EDXStyle, EqNum(), ExportType(), NElements(), NNodes(), NPoints(), and SetNode().

Member Data Documentation

◆ fConnect

TPZGraphNode* TPZGraphElQ3dd::fConnect
protected

Graphical node (connect) to discontinuous graphical element.

Definition at line 65 of file pzgraphelq3dd.h.

Referenced by Connect(), EqNum(), and SetNode().


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