NeoPZ
TPZGenSpecialGrid.h
Go to the documentation of this file.
1 
7 #ifndef GENERATINGSPECIALGRIDSHH
8 #define GENERATINGSPECIALGRIDSHH
9 
10 #include "pzreal.h"
11 
12 #include "pzgmesh.h"
13 
19 
20 public:
23  }
24 
31  static TPZGeoMesh *GeneratePolygonalSphereFromOctahedron(TPZVec<REAL> &center,REAL radius, int nUniformRefs);
32 
40  static TPZGeoMesh *GeneratePolygonalSphereFromOctahedron(TPZVec<REAL> &center,REAL radius, REAL tol);
41 
50  static void UniformRefinement(const int nUniformRefs, TPZGeoMesh *gmesh, const int dimelfordivision,bool allmaterial=true, const int matidtodivided=0);
51 
52 };
53 
54 #endif
Implements the generation of a polygonal mesh approximating a geometric element from another simple p...
Contains declaration of TPZMesh class which defines a geometrical mesh and contains a corresponding l...
static const double tol
Definition: pzgeoprism.cpp:23
static void UniformRefinement(const int nUniformRefs, TPZGeoMesh *gmesh, const int dimelfordivision, bool allmaterial=true, const int matidtodivided=0)
Make uniform refinement of the geometric mesh. This method finishs making the new connectivities for ...
This class implements a geometric mesh for the pz environment. Geometry.
Definition: pzgmesh.h:48
static TPZGeoMesh * GeneratePolygonalSphereFromOctahedron(TPZVec< REAL > &center, REAL radius, int nUniformRefs)
Static function to generate a polygonal mesh approximating a sphere from a octahedron mesh (polygonal...
Contains the declaration of TPZFlopCounter class and TPZCounter struct.