18 else fSequenceNumber = -1;
35 return Hash(
"TPZGraphNode");
43 buf.
Read(&fSequenceNumber);
50 buf.
Write(&fPointNum);
51 buf.
Write(&fSequenceNumber);
80 if(fGraphEl)
return(fGraphEl->NPoints(
this));
86 if(fGraphEl) fGraphEl->DrawCo(
this,st);
90 if(fGraphEl) fGraphEl->DrawSolution(
this,solind,st);
94 if(fGraphEl) fGraphEl->DrawSolution(
this,solind,st);
98 if(fGraphEl) fGraphEl->DrawSolution(
this,bl,st);
102 out <<
"Connect Sequence number = " << fSequenceNumber <<
103 " First Point = " << fPointNum << endl;
Represents a graphical mesh used for post processing purposes. Post processing.
void Write(TPZStream &buf, int withclassid) const override
Writes this object to the TPZStream buffer. Include the classid if withclassid = true.
void Print(std::ostream &out)
Represents a set of shape functions associated with a computational element/side. Computational Eleme...
void SetGraphMesh(TPZGraphMesh *mesh)
TPZGraphNode()
Default constructor.
void DrawSolution(int solutionid, TPZDrawStyle st=EDXStyle)
Draw solution on the current connect for solutionid variable.
void SetConnect(TPZConnect *connect)
Contains the TPZGraphEl class which implements the graphical one-, two- and three-dimensional element...
Contains the TPZGraphNode class which implements the graphical node.
static TPZSavable * GetInstance(const int64_t &objId)
int ClassId() const override
Define the class id associated with the class.
int64_t SequenceNumber() const
Returns the Sequence number of the connect object.
void SetPointNumber(int64_t num)
void Read(TPZStream &buf, void *context) override
read objects from the stream
virtual void Write(const bool val)
void SetElement(TPZGraphEl *gel)
Contains the TPZGraphMesh class which represents a graphical mesh used for post processing purposes...
int32_t Hash(std::string str)
void DrawCo(TPZDrawStyle st=EDXStyle)
Draw coordinates of the graphical node.
Implements block matrices. Matrix utility.
Abstract class to graphical one-, two- and three-dimensional element. Post processing.
Defines the interface for saving and reading data. Persistency.
~TPZGraphNode(void)
Simple destructor.
static void WritePointer(const TPZSavable *obj, TPZStream *stream)
virtual void Read(bool &val)