89 void Print(std::ostream &out);
TPZGraphMesh(TPZCompMesh *cm, int dimension, const std::set< int > &matids, const TPZVec< std::string > &scalarnames, const TPZVec< std::string > &vecnames)
Constructor for graphical mesh.
bool Material_Is_PostProcessed(int matid)
Return a directive if the material id is being postprocessed.
Represents a graphical mesh used for post processing purposes. Post processing.
int ClassId() const override
Define the class id associated with the class.
TPZVec< std::string > fScalarNames
Vectors of the variables names (scalar, vectorial, and tensorial)
clarg::argInt dimension("-d", "Matrices dimension M x M", 1000)
virtual void DrawConnectivity(MElementType type)
Draw the connectivity information.
Contains declaration of TPZCompEl class which defines the interface of a computational element...
Templated vector implementation.
TPZVec< std::string > VecNames()
Return vectorial variable names.
Contains the TPZGraphEl class which implements the graphical one-, two- and three-dimensional element...
Declarates the TPZBlock<REAL>class which implements block matrices.
Contains the TPZGraphNode class which implements the graphical node.
clarg::argInt cm("-cm", "clean memory before execution", 512)
Implements a chunk vector with free store administration. Utility.
TPZGeoMesh * fGeoMesh
Geometric mesh related.
TPZGraphEl * FindElement(int64_t sid)
void Print(std::ostream &out)
Print object attributes.
TPZCompEl * FindFirstInterpolatedElement(TPZCompMesh *mesh, int dimension)
TPZVec< std::string > TensorNames()
Return tensorial variable names.
std::set< int > MaterialIds()
Get material ids.
void SetResolution(int res)
Sets resolution.
virtual void DrawNodes()
Draw the graphical nodes information.
void SetMaterialIds(const std::set< int > &matids)
Set material ids.
TPZAdmChunkVector< TPZGraphEl * > & ElementList()
Vector of the graphical elements.
virtual void SequenceNodes()
void Read(TPZStream &buf, void *context) override
read objects from the stream
int fDimension
Dimension of the graphical mesh.
int Res()
Get the resolution of the draw.
TPZDrawStyle fStyle
Style of the graphical file.
Contains TPZMatrixclass which implements full matrix (using column major representation).
virtual void SetCompMesh(TPZCompMesh *mesh, const std::set< int > &matids)
Sets the computational mesh to associate.
virtual TPZCompMesh * Mesh()
Return of the material for graphical mesh.
virtual void DrawMesh(int numcases)
Draw the graphical mesh.
TPZAdmChunkVector< TPZGraphNode > & NodeMap()
Vector of the graphical nodes.
Contains declaration of the TPZAutoPointer class which has Increment and Decrement actions are mutexe...
TPZVec< std::string > fVecNames
int fResolution
Resolution of the graphical object.
virtual void SetFileName(const std::string &filename)
Sets the filename to output of graph.
void SetNames(const TPZVec< std::string > &scalarnames, const TPZVec< std::string > &vecnames)
Set names with scalar and vector variable names.
TPZAdmChunkVector< TPZGraphNode > fNodeMap
Vector of graphical nodes (connects)
virtual void DrawSolution(int step, REAL time)
Draw solution depending on the resolution.
Implements block matrices. Matrix utility.
This class implements a geometric mesh for the pz environment. Geometry.
MElementType
Define the element types.
TPZVec< std::string > ScalarNames()
Return scalar variable names.
Implements computational mesh. Computational Mesh.
TPZVec< std::string > fTensorNames
Abstract class to graphical one-, two- and three-dimensional element. Post processing.
int64_t NElements(MElementType type)
TPZDrawStyle Style()
Gets the style of the graphical mesh.
Defines the interface for saving and reading data. Persistency.
TPZCompMesh * fCompMesh
Computational mesh associated.
std::set< int > fMaterialIds
Set of material ids being post-processed.
void Write(TPZStream &buf, int withclassid) const override
Writes this object to the TPZStream buffer. Include the classid if withclassid = true.
This class defines the interface to save and restore objects from TPZStream objects. Persistency.
virtual ~TPZGraphMesh(void)
Default destructor.
int64_t NPoints()
Number of points to drawing, depending on the resolution.
Defines the interface of a computational element. Computational Element.
To export a graphical node. Post processing.
TPZGraphNode & FindNode(int64_t side)
Find graphical node (connect)
TPZAdmChunkVector< TPZGraphEl * > fElementList
Vector of graphical elements.