9 #ifndef TPZAcademicGeoMesh_hpp 10 #define TPZAcademicGeoMesh_hpp 69 fNumberElements(numelements), fMaterialId(1)
77 if (meshtype ==
ENone) {
98 fNumberElements = numelements;
126 std::cout <<
"Not implemented\n";
153 if(fBCNumbers.
size() != BCNumbers.
size()){
156 for (
int i = 0; i < BCNumbers.
size(); i++) {
157 fBCNumbers[i] = BCNumbers[i];
static TPZManVector< REAL, 3 > fX0
TPZAcademicGeoMesh()
sets up parameters to create de hexahedral regular mesh
TPZGeoMesh * RedBlackPyramidalAndHexagonalMesh()
void SetNumberElements(int64_t numelements)
set the number of elements in any direction
TPZGeoMesh * TetrahedralMeshUsingRefinement()
MMeshType fMeshType
type of mesh that should be generated
void SetMeshType(MMeshType meshtype)
set the meshtype acording to the enumerate values
TPZManVector< int, 6 > fBCNumbers
indices of the boundary conditions
bool fShouldDeform
whether the mesh should be deformed or not
TPZGeoMesh * HexahedralMesh()
TPZAcademicGeoMesh(int numelements, MMeshType meshtype, bool deform=false)
sets up parameters to create de hexahedral regular mesh
int64_t size() const
Returns the number of elements of the vector.
void SetBCIDVector(TPZVec< int > &BCNumbers)
Contains declaration of TPZMesh class which defines a geometrical mesh and contains a corresponding l...
#define DebugStop()
Returns a message to user put a breakpoint in.
Free store vector implementation.
int fMaterialId
material index for volume elements
void ShouldDeform(bool deform)
toggle between regular or deformed mesh
int64_t fNumberElements
number of elements in any direction
TPZGeoMesh * PyramidalAndTetrahedralMesh()
static TPZManVector< REAL, 3 > fEps
int AddBoundaryElementsByCoord(TPZGeoMesh *gmesh)
This class implements a geometric mesh for the pz environment. Geometry.
void SetMaterialId(int id)
set the material id to be used
Contains the declaration of TPZFlopCounter class and TPZCounter struct.
TPZGeoMesh * CreateGeoMesh()
create a geometric mesh acording to the parameters of the object
void GenerateNodes(TPZGeoMesh *gmesh)
put the geometric nodes in the geometric mesh
void DeformGMesh(TPZGeoMesh &gmesh)
Deform the geometric mesh according to the coordinates of fDeformed.
TPZGeoMesh * TetrahedralMesh()
int AddBoundaryElements(TPZGeoMesh *gmesh)
void CheckConsistency(TPZGeoMesh *gmesh)
verify if the faces without neighbour should be orthogonal to the main planes
void SetBoundaryIndices(TPZVec< int > &BCNumbers)
set the boundary numbers on the sides of the cube