NeoPZ
pzreftriangle.h
Go to the documentation of this file.
1 
6 #ifndef TPZREFTRIANGH
7 #define TPZREFTRIANGH
8 
9 #include "pzstack.h"
10 #include "TPZSavable.h"
11 
12 class TPZGeoEl;
13 template<class T>
14 class TPZTransform;
15 class TPZGeoElSide;
16 
17 namespace pzrefine {
18 
23  class TPZRefTriangle : public TPZSavable {
24  public:
25 
26  enum{NSubEl = 4};
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  static TPZTransform<REAL> GetTransform(int side,int son);
34  static int FatherSide(int side,int son);
35  public:
36 int ClassId() const override;
37 
38  };
39 
40 };
41 
42 #endif
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
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)
static void NewMidSideNode(TPZGeoEl *gel, int side, int64_t &index)
static int NSideSubElements(int side)
int ClassId() const override
Define the class id associated with the class.
Groups all classes which model the h refinement These classes are used as template arguments of...
Definition: pzrefpoint.cpp:15
Implements the uniform refinement of a geometric triangular element. Refine.
Definition: pzreftriangle.h:23
static void GetSubElements(const TPZGeoEl *father, int side, TPZStack< TPZGeoElSide > &subel)
A simple stack.
This class implements a stack object. Utility.
Definition: pzcheckmesh.h:14
static TPZTransform< REAL > GetTransform(int side, int son)
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
static int FatherSide(int side, int son)
static void Divide(TPZGeoEl *geo, TPZVec< TPZGeoEl *> &SubElVec)