NeoPZ
pzrefprism.h
Go to the documentation of this file.
1 
6 #ifndef TPZREFPRISMH
7 #define TPZREFPRISMH
8 
9 #include "pzstack.h"
10 #include "TPZSavable.h"
11 class TPZGeoEl;
12 class TPZGeoElSide;
13 template<class T>
14 class TPZTransform;
15 
16 namespace pzrefine {
17 
22  class TPZRefPrism : public TPZSavable{
23 
24  public:
25 
26  enum{NSubEl = 8};
27 
28  static void Divide(TPZGeoEl *geo,TPZVec<TPZGeoEl *> &SubElVec);
29  static void MidSideNodeIndex(const TPZGeoEl *gel,int side,int64_t &index);
30  static void NewMidSideNode(TPZGeoEl *gel,int side,int64_t &index);
31  static void GetSubElements(const TPZGeoEl *father,int side, TPZStack<TPZGeoElSide> &subel);
32  static int NSideSubElements(int side);
33 
34  static TPZTransform<REAL> GetTransform(int side,int son);
35  static int FatherSide(int side,int son);
36  public:
37 int ClassId() const override;
38 
39  };
40 
41 };
42 #endif
static void NewMidSideNode(TPZGeoEl *gel, int side, int64_t &index)
Definition: pzrefprism.cpp:361
Contains declaration of the TPZSavable class which defines the interface to save and restore objects ...
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 GetSubElements(const TPZGeoEl *father, int side, TPZStack< TPZGeoElSide > &subel)
Definition: pzrefprism.cpp:414
Defines the behaviour of all geometric elements. GeometryTPZGeoEl is the common denominator for all g...
Definition: pzgeoel.h:43
static void MidSideNodeIndex(const TPZGeoEl *gel, int side, int64_t &index)
Definition: pzrefprism.cpp:393
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
Implements an affine transformation between points in parameter space. Topology Utility.
Definition: pzmganalysis.h:14
static TPZTransform< REAL > GetTransform(int side, int son)
Definition: pzrefprism.cpp:435
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 prism element. Refine.
Definition: pzrefprism.h:22
static void Divide(TPZGeoEl *geo, TPZVec< TPZGeoEl *> &SubElVec)
Definition: pzrefprism.cpp:316
static int NSideSubElements(int side)
Definition: pzrefprism.cpp:427
int ClassId() const override
Define the class id associated with the class.
Definition: pzrefprism.cpp:464
static int FatherSide(int side, int son)
Definition: pzrefprism.cpp:455