NeoPZ
TPZRefLinear.h
Go to the documentation of this file.
1 
5 /* class that defines the default refinement of the hexaedral element */
6 
7 #ifndef TPZREFLINEARH
8 #define TPZREFLINEARH
9 
10 #include "pzstack.h"
11 #include "TPZSavable.h"
12 class TPZGeoEl;
13 template<class T>
14 class TPZTransform;
15 class TPZGeoElSide;
16 
17 namespace pzrefine {
18 
23  class TPZRefLinear : public TPZSavable {
24 
25  public:
26 
27  enum{NSubEl = 2};
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  public:
37 int ClassId() const override;
38 
39  };
40 
41 };
42 
43 #endif
static int NSideSubElements(int side)
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
static TPZTransform< REAL > GetTransform(int side, int son)
This class implements a simple vector storage scheme for a templated class T. Utility.
Definition: pzgeopoint.h:19
int ClassId() const override
Define the class id associated with the class.
static void NewMidSideNode(TPZGeoEl *gel, int side, int64_t &index)
static void Divide(TPZGeoEl *geo, TPZVec< TPZGeoEl *> &SubElVec)
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)
Groups all classes which model the h refinement These classes are used as template arguments of...
Definition: pzrefpoint.cpp:15
A simple stack.
static int FatherSide(int side, int son)
Implements the uniform refinement of a geometric linear element. Refine.
Definition: TPZRefLinear.h:23
This class implements a stack object. Utility.
Definition: pzcheckmesh.h:14
static void MidSideNodeIndex(const TPZGeoEl *gel, int side, int64_t &index)
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