NeoPZ
TPZReadGIDGrid.h
Go to the documentation of this file.
1 
6 #ifndef TPZREADGIDGRID
7 #define TPZREADGIDGRID
8 
9 #include <iostream>
10 #include <fstream>
11 #include <string>
12 #include <map>
13 #include "pzgmesh.h"
14 
15 class TPZGeoMesh;
16 
17 struct MaterialDataV {
18  int fMatID;
19  std::string fMaterial;
21 
22  MaterialDataV() : fMatID(-1), fMaterial(), fProperties()
23  {
24 
25  }
26  MaterialDataV(int num) : fMatID(-1), fMaterial(), fProperties()
27  {
28 
29  }
30  MaterialDataV(const MaterialDataV &copy) : fMatID(copy.fMatID),
31  fMaterial(copy.fMaterial), fProperties(copy.fProperties)
32  {
33  }
35  {
36  fMatID = copy.fMatID;
37  fMaterial = copy.fMaterial;
38  fProperties = copy.fProperties;
39  return *this;
40  }
41 };
42 
43 
54 public:
55 
57 
58  ~TPZReadGIDGrid();
59 
62  TPZGeoMesh * GeometricGIDMesh(std::string FiletoRead);
63 
66  int MatNumber;
67 
70  int BCNumber;
71 
75 
79 
86 
87 
90 void SetfDimensionlessL(REAL fDimensionlessLValue);
91 
92 private:
93 
94 
95 };
96 
97 #endif //TPZREADGIDGRID
MaterialDataV & operator=(const MaterialDataV &copy)
int BCNumber
Number of Boundary Conditions.
Contains declaration of TPZMesh class which defines a geometrical mesh and contains a corresponding l...
TPZStack< MaterialDataV > fMaterialDataVec
MaterialVec.
Implement the interface between TPZGeoMesh and the files produced by GID (version G...
TPZStack< MaterialDataV > fBCNodeDataVec
MaterialDataV(int num)
std::string fMaterial
int fProblemDimension
Mesh Dimension.
This class implements a geometric mesh for the pz environment. Geometry.
Definition: pzgmesh.h:48
TPZStack< REAL > fProperties
TPZStack< MaterialDataV > fBCMaterialDataVec
int MatNumber
Number of Materials.
MaterialDataV(const MaterialDataV &copy)
REAL fDimensionlessL
Mesh Dimension.