84 REAL
Coord(
int i)
const;
96 void Print(std::ostream & out = std::cout);
102 PZError <<
"Not exist (TPZGeoNode) coordinate " << i << std::endl;
Contains declaration of the TPZSavable class which defines the interface to save and restore objects ...
void SetCoord(const TPZVec< REAL > &x)
Sets all coordinates into the current node. It gets the dim values from x.
REAL Coord(int i) const
Returns i-th coordinate of the current node.
void Read(TPZStream &buf, void *context) override
Reads the object from disk.
This class implements a simple vector storage scheme for a templated class T. Utility.
TPZGeoNode & operator=(const TPZGeoNode &node)
virtual void Write(const bool val)
TPZGeoNode()
Constructor to new node.
Defines the behaviour of all geometric elements. GeometryTPZGeoEl is the common denominator for all g...
REAL co[8][3]
Coordinates of the eight nodes.
virtual ~TPZGeoNode()
Destructor.
void Print(std::ostream &out=std::cout)
Print the node data into out.
int ClassId() const override
Returns the id of the class (used for writing reading the object)
void Write(TPZStream &buf, int withclassid) const override
Writes the object to disk.
Implements a geometric node in the pz environment. Geometry.
This class implements a geometric mesh for the pz environment. Geometry.
void Initialize(TPZVec< REAL > &coord, TPZGeoMesh &mesh)
Initialize the data structure of the node. Creates a unique id for the node automatically.
Contains declaration of the abstract TPZStream class. TPZStream defines the interface for saving and ...
int Id() const
Returns the identity of the current node.
Defines the interface for saving and reading data. Persistency.
Contains the declaration of TPZFlopCounter class and TPZCounter struct.
void GetCoordinates(TPZVec< REAL > &co)
Fill the coordinates of the node.
This class defines the interface to save and restore objects from TPZStream objects. Persistency.
#define PZError
Defines the output device to error messages and the DebugStop() function.
virtual void Read(bool &val)
REAL fCoord[3]
Node coordinates.