NeoPZ
pzrefquad.h
Go to the documentation of this file.
1 
6 #ifndef TPZREFQUADH
7 #define TPZREFQUADH
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 TPZRefQuad : public TPZSavable {
24 
25  public:
26 
27  enum{NSubEl = 4};
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
Contains declaration of the TPZSavable class which defines the interface to save and restore objects ...
static void Divide(TPZGeoEl *geo, TPZVec< TPZGeoEl *> &SubElVec)
Definition: pzrefquad.cpp:126
static int FatherSide(int side, int son)
Definition: pzrefquad.cpp:254
static void NewMidSideNode(TPZGeoEl *gel, int side, int64_t &index)
Definition: pzrefquad.cpp:166
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 TPZTransform< REAL > GetTransform(int side, int son)
Definition: pzrefquad.cpp:234
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: pzrefquad.cpp:194
static void GetSubElements(const TPZGeoEl *father, int side, TPZStack< TPZGeoElSide > &subel)
Definition: pzrefquad.cpp:214
Groups all classes which model the h refinement These classes are used as template arguments of...
Definition: pzrefpoint.cpp:15
int ClassId() const override
Define the class id associated with the class.
Definition: pzrefquad.cpp:263
A simple stack.
static int NSideSubElements(int side)
Definition: pzrefquad.cpp:226
This class implements a stack object. Utility.
Definition: pzcheckmesh.h:14
Implements the uniform refinement of a geometric quadrilateral element. Refine.
Definition: pzrefquad.h:23
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