15 #ifndef __PZ__pzhdivpressurebound__ 16 #define __PZ__pzhdivpressurebound__ 32 template<
class TSHAPE>
95 return TSHAPE::Dimension;
111 virtual void SetSideOrder(
int side,
int order)
override;
150 template<
class TSHAPE>
virtual int SideConnectLocId(int node, int side) const override
Returns the local node number of icon along is.
void IndexShapeToVec(TPZVec< int > &fVectorSide, TPZVec< std::pair< int, int64_t > > &IndexVecShape)
Returns a matrix index of the shape and vector associate to element.
void Read(TPZStream &buf, void *context) override
Reads the element data from a stream.
virtual TPZCompEl * ClonePatchEl(TPZCompMesh &mesh, std::map< int64_t, int64_t > &gl2lcConMap, std::map< int64_t, int64_t > &gl2lcElMap) const override
Create a copy of the given element. The clone copy have the connect indexes mapped to the local clone...
int ClassId() const override
Returns the unique identifier for reading/writing objects to streams.
virtual ~TPZCompElHDivPressureBound()
Default destructor.
virtual void SetConnectIndex(int i, int64_t connectindex) override
Sets the node pointer of node i to nod.
virtual int Dimension() const override
Returns the dimension of the element.
virtual int NConnectShapeF(int connect, int order) const override
Returns the number of shapefunctions associated with a connect.
TPZCompElHDivPressureBound()
Default constructor.
void Write(TPZStream &buf, int withclassid) const override
Saves the element data to a stream.
virtual void InitMaterialData(TPZMaterialData &data) override
Initialize a material data and its attributes based on element dimension, number of state variables a...
Implements a generic computational element to HDiv-Pressure scope. Computational Element.
void ComputeShapeIndex(TPZVec< int > &sides, TPZVec< int64_t > &shapeindex)
Compute the correspondence between the normal vectors and the shape functions.
int ClassId() const override
Returns the unique identifier for reading/writing objects to streams.
Defines the behaviour of all geometric elements. GeometryTPZGeoEl is the common denominator for all g...
int fPressureOrder
Defines the interpolation order for pressure variable.
void Shape(TPZVec< REAL > &pt, TPZFMatrix< REAL > &phi, TPZFMatrix< REAL > &dphi) override
Compute the shape function at the integration point.
virtual void GetInterpolationOrder(TPZVec< int > &ord) override
Identifies the interpolation order on the interior of the element.
virtual void SetSideOrder(int side, int order) override
Returns the preferred order of the polynomial along side iside.
virtual void SideShapeFunction(int side, TPZVec< REAL > &point, TPZFMatrix< REAL > &phi, TPZFMatrix< REAL > &dphi) override
Compute the values of the shape function of the side.
virtual void SetCreateFunctions(TPZCompMesh *mesh) override
Set create function in TPZCompMesh to create elements of this type.
int64_t Index() const
Returns element index of the mesh fELementVec list.
Implements a generic computational element to HDiv scope. Computational Element.
virtual int EffectiveSideOrder(int side) const override
Returns the actual interpolation order of the polynomial along the side.
void FirstShapeIndex(TPZVec< int64_t > &Index)
Returns the vector index of the first index shape associate to element.
int32_t Hash(std::string str)
virtual int NCornerConnects() const override
Returns the number of corner connects of the element.
Contains declaration of TPZCompElHDivBound2 class which implements a generic computational element (H...
Implements computational mesh. Computational Mesh.
virtual void SetPressureOrder(int ord)
Identifies the interpolation order for pressure variable.
virtual int ConnectOrder(int connect) const override
Defines the interface for saving and reading data. Persistency.
virtual int NConnects() const override
Returns the number of connect objects of the element.
virtual TPZCompEl * Clone(TPZCompMesh &mesh) const override
Method for creating a copy of the element.
Defines the interface of a computational element. Computational Element.