NeoPZ
pzvtkmesh.h
Go to the documentation of this file.
1 
6 #ifndef PZVTKMESH
7 #define PZVTKMESH
8 
9 #include "pzgraphmesh.h"
10 #include "pzvec.h"
11 
12 template<class TVar>
13 class TPZBlock;
14 
19 class TPZVTKGraphMesh : public TPZGraphMesh {
20 
21 public:
22 
24  TPZVTKGraphMesh(TPZCompMesh *cmesh, int dimension, const std::set<int> & matids, const TPZVec<std::string> &scalnames, const TPZVec<std::string> &vecnames, const TPZVec<std::string> &tensnames);
26  TPZVTKGraphMesh(TPZCompMesh *cmesh,int dim,TPZVTKGraphMesh *graph);
27 
28  virtual void DrawMesh(int numcases);
29  virtual void DrawNodes();
30  virtual void DrawConnectivity(MElementType type);
31  virtual void DrawSolution(int step, REAL time);
32  virtual void DrawSolution(TPZBlock<REAL> &Sol);
33  virtual void DrawSolution(char *var = 0);
34 
35 protected:
36  virtual void SequenceNodes();
37  int fNumCases;
38  int fNumSteps;
39 
40 };
41 
42 #endif
Represents a graphical mesh used for post processing purposes. Post processing.
Definition: pzgraphmesh.h:34
TPZVTKGraphMesh(TPZCompMesh *cmesh, int dimension, const std::set< int > &matids, const TPZVec< std::string > &scalnames, const TPZVec< std::string > &vecnames, const TPZVec< std::string > &tensnames)
Constructor for graphical mesh using VTK format with tensor variables.
Definition: pzvtkmesh.cpp:23
virtual void DrawConnectivity(MElementType type)
Draw the connectivity information.
Definition: pzvtkmesh.cpp:171
clarg::argInt dimension("-d", "Matrices dimension M x M", 1000)
Templated vector implementation.
To export a graphical mesh to VTK environment. Post processing.
Definition: pzvtkmesh.h:19
virtual void DrawNodes()
Draw the graphical nodes information.
Definition: pzvtkmesh.cpp:153
Contains the TPZGraphMesh class which represents a graphical mesh used for post processing purposes...
virtual void SequenceNodes()
Definition: pzvtkmesh.cpp:149
virtual void DrawSolution(int step, REAL time)
Draw solution depending on the resolution.
Definition: pzvtkmesh.cpp:38
virtual void DrawMesh(int numcases)
Draw the graphical mesh.
Definition: pzvtkmesh.cpp:32
Implements block matrices. Matrix utility.
MElementType
Define the element types.
Definition: pzeltype.h:52
Implements computational mesh. Computational Mesh.
Definition: pzcmesh.h:47