NeoPZ
pzrefpyram.h
Go to the documentation of this file.
1 
6 #ifndef TPZREFPYRAMIDH
7 #define TPZREFPYRAMIDH
8 
9 #include "pzreal.h"
10 #include "pzstack.h"
11 #include "TPZSavable.h"
12 class TPZGeoEl;
13 class TPZGeoElSide;
14 template<class T>
15 class TPZTransform;
16 
17 namespace pzrefine {
18 
23  class TPZRefPyramid : public TPZSavable{
24 
25  public:
26 
27  enum{NSubEl = 10};
28 
29  static void Divide(TPZGeoEl *geo,TPZVec<TPZGeoEl *> &SubElVec);
30  static void MidSideNodeIndex(const TPZGeoEl *gel,int side,int64_t &index);
31  static void NewMidSideNode(TPZGeoEl *gel,int side,int64_t &index);
32  static void GetSubElements(const TPZGeoEl *father,int side, TPZStack<TPZGeoElSide> &subel);
33  static int NSideSubElements(int side);
34  static TPZTransform<REAL> GetTransform(int side,int son);
35  static int FatherSide(int side,int son);
36  static void MidCoordSide(int side,TPZVec<REAL> &coord);
37  public:
38 int ClassId() const override;
39 
40  };
41 
42 };
43 
44 #endif
Contains declaration of the TPZSavable class which defines the interface to save and restore objects ...
static void MidSideNodeIndex(const TPZGeoEl *gel, int side, int64_t &index)
Definition: pzrefpyram.cpp:377
Utility class which represents an element with its side. The Geometric approximation classes Geometry...
Definition: pzgeoelside.h:83
This class implements a simple vector storage scheme for a templated class T. Utility.
Definition: pzgeopoint.h:19
static void NewMidSideNode(TPZGeoEl *gel, int side, int64_t &index)
Definition: pzrefpyram.cpp:348
static int NSideSubElements(int side)
Definition: pzrefpyram.cpp:414
int ClassId() const override
Define the class id associated with the class.
Definition: pzrefpyram.cpp:466
static void MidCoordSide(int side, TPZVec< REAL > &coord)
Defines the behaviour of all geometric elements. GeometryTPZGeoEl is the common denominator for all g...
Definition: pzgeoel.h:43
static void GetSubElements(const TPZGeoEl *father, int side, TPZStack< TPZGeoElSide > &subel)
Definition: pzrefpyram.cpp:401
static TPZTransform< REAL > GetTransform(int side, int son)
Definition: pzrefpyram.cpp:422
Groups all classes which model the h refinement These classes are used as template arguments of...
Definition: pzrefpoint.cpp:15
A simple stack.
This class implements a stack object. Utility.
Definition: pzcheckmesh.h:14
static void Divide(TPZGeoEl *geo, TPZVec< TPZGeoEl *> &SubElVec)
Definition: pzrefpyram.cpp:304
Contains the declaration of TPZFlopCounter class and TPZCounter struct.
Implements an affine transformation between points in parameter space. Topology Utility.
Definition: pzmganalysis.h:14
This class defines the interface to save and restore objects from TPZStream objects. Persistency.
Definition: TPZSavable.h:67
Implements the uniform refinement of a geometric hexahedral element. Refine.
Definition: pzrefpyram.h:23
static int FatherSide(int side, int son)
Definition: pzrefpyram.cpp:456