NeoPZ
pzmvmesh.h
Go to the documentation of this file.
1 
6 #ifndef MVGRIDH
7 #define MVGRIDH
8 
9 #include "pzgraphmesh.h"
10 #include "pzvec.h"
11 
12 template<class TVar>
13 class TPZBlock;
14 
23 class TPZMVGraphMesh : public TPZGraphMesh {
24 
25 public:
26 
28  TPZMVGraphMesh(TPZCompMesh *cmesh, int dimension, const std::set<int> & matids, const TPZVec<std::string> &scalarnames, const TPZVec<std::string> &vecnames);
30  TPZMVGraphMesh(TPZCompMesh *cmesh,int dim,TPZMVGraphMesh *graph);
31 
33  virtual void DrawMesh(int numcases);
34 
35  virtual void DrawNodes();
36  virtual void DrawConnectivity(MElementType type);
37  virtual void DrawSolution(int step, REAL time);
38  virtual void DrawSolution(TPZBlock<REAL> &Sol);
39  virtual void DrawSolution(char *var = 0);
40 
41 protected:
42  virtual void SequenceNodes();
43  int fNumCases;
44  int fNumSteps;
45 
46 };
47 
48 #endif
49 
Represents a graphical mesh used for post processing purposes. Post processing.
Definition: pzgraphmesh.h:34
virtual void SequenceNodes()
Definition: pzmvmesh.cpp:114
clarg::argInt dimension("-d", "Matrices dimension M x M", 1000)
Templated vector implementation.
TPZMVGraphMesh(TPZCompMesh *cmesh, int dimension, const std::set< int > &matids, const TPZVec< std::string > &scalarnames, const TPZVec< std::string > &vecnames)
Constructor for graphical mesh using MVGraph format.
Definition: pzmvmesh.cpp:14
Contains the TPZGraphMesh class which represents a graphical mesh used for post processing purposes...
virtual void DrawMesh(int numcases)
Draw graphical mesh.
Definition: pzmvmesh.cpp:28
virtual void DrawSolution(int step, REAL time)
Draw solution depending on the resolution.
Definition: pzmvmesh.cpp:45
virtual void DrawConnectivity(MElementType type)
Draw the connectivity information.
Definition: pzmvmesh.cpp:146
Implements block matrices. Matrix utility.
MElementType
Define the element types.
Definition: pzeltype.h:52
Implements computational mesh. Computational Mesh.
Definition: pzcmesh.h:47
virtual void DrawNodes()
Draw the graphical nodes information.
Definition: pzmvmesh.cpp:126
Implements graphical mesh to MVGraph package. Post processing.
Definition: pzmvmesh.h:23