129 for(
int il = 0; il < (n+1); il++ )
135 for(
int inode = 0; inode < NNodesBase; inode++)
147 NewCoordinates_r[0] = REAL(NewCoordinates[0]);
148 NewCoordinates_r[1] = REAL(NewCoordinates[1]);
149 NewCoordinates_r[2] = REAL(NewCoordinates[2]);
152 Coordinates[0]+=NewCoordinates_r[0];
153 Coordinates[1]+=NewCoordinates_r[1];
154 Coordinates[2]+=NewCoordinates_r[2];
155 Coordinates[2]+= sing*dt/2.0;
159 Coordinates[0]+=NewCoordinates_r[0];
160 Coordinates[1]+=NewCoordinates_r[1];
161 Coordinates[2]+=NewCoordinates_r[2];
194 int gelNodes = gel->
NNodes();
198 for(
int inode = 0; inode < CTopology.
size(); inode++)
200 CTopology[inode] = gel->
Node(inode).
Id();
207 for(
int il = 1; il < (n+1); il++ )
418 std::cout <<
"Connection not implemented " << std::endl;
virtual void Execute(const TPZVec< REAL > &x, TPZVec< TVar > &f, TPZFMatrix< TVar > &df)
Performs function computation.
void SetMaxElementId(int64_t id)
Used in patch meshes.
bool operator==(const TPZHierarquicalGrid &other) const
TPZAutoPointer< TPZGeoMesh > fBase
A geometric mesh generated from other sources.
TPZAutoPointer< TPZFunction< REAL > > fParametricFunction
Pointer to parametric function of t parameter.
int fbackMatID
Extrusion back material id.
Implements a vector class which allows to use external storage provided by the user. Utility.
bool fIsQuad
2d extrusion is based on quadrilaterals
int64_t NElements() const
Number of elements of the mesh.
std::string fFileName
Name of the fine mesh to be extended.
void CreateGeometricElement(int n, int iel, int eldim, int elmatid, int &elid)
void SetDimension(int dim)
Set Dimension.
Contains the TPZTriangle class which defines the topology of a triangle.
TPZGeoMesh * ComputeExtrusion(REAL t, REAL dt, int n)
int64_t size() const
Returns the number of elements of the vector.
virtual void Resize(const int64_t newsize, const T &object)
Resizes the vector object reallocating the necessary storage, copying the existing objects to the new...
void Resize(const int newsize)
Increase the size of the chunk vector.
Contains declaration of TPZMesh class which defines a geometrical mesh and contains a corresponding l...
void SetMaxNodeId(int64_t id)
Used in patch meshes.
Implements a generic geometric element which is refined according to a generic refinement pattern...
Defines the behaviour of all geometric elements. GeometryTPZGeoEl is the common denominator for all g...
Contains the TPZGeoTetrahedra class which implements the geometry of a tetrahedral element...
#define DebugStop()
Returns a message to user put a breakpoint in.
int64_t NNodes() const
Number of nodes of the mesh.
virtual MElementType Type() const =0
Returns the element type acording to pzeltype.h.
TPZAdmChunkVector< TPZGeoNode > & NodeVec()
Contains declaration of TPZGeoElRefPattern class which implements a generic geometric element which i...
TPZGeoMesh * fComputedGeomesh
A geometric mesh being computed.
Contains the TPZRefPattern class which defines the topology of the current refinement pattern to a me...
TPZGeoNode & Node(int i) const
Returns the ith node of the element.
Contains the TPZGeoCube class which implements the geometry of hexahedra element. ...
Contains the TPZGeoPoint class which implements the geometry of a point element or 0-D element...
virtual int NNodes() const =0
Returns the number of nodes of the element.
void BuildConnectivity()
Build the connectivity of the grid.
TPZVec< TPZAutoPointer< TPZGeoMesh > > fSubBases
Vector of n bases to be connected to the original base.
int Dimension()
Get Dimension.
bool fIsPrism
3d extrusion is based on prisms
This class implements a geometric mesh for the pz environment. Geometry.
int Id() const
Returns the identity of the current node.
bool fIsTetrahedron
3d extrusion is based on tetrahedrons
int ffrontMatID
Extrusion front material id.
Contains the TPZGeoPrism class which implements the geometry of a prism element.
TPZHierarquicalGrid & operator=(const TPZHierarquicalGrid &other)
bool fNonAffineQ
Non affine 2D and 3D extrusion.
TPZAdmChunkVector< TPZGeoEl * > & ElementVec()
Methods for handling pzlists.