6 #ifndef PZMULTIPHYSICSELEMENTH 7 #define PZMULTIPHYSICSELEMENTH 125 std::cout <<
"To Be Implemented\n";
142 fActiveApproxSpace = active_approx_space;
158 return fActiveApproxSpace[space_index];
166 fRestraints.push_back(restraint);
Represents a graphical mesh used for post processing purposes. Post processing.
virtual ~TPZMultiphysicsElement()
Default destructor.
virtual void ComputeRequiredData(TPZVec< REAL > &point, TPZVec< TPZTransform<> > &trvec, TPZVec< TPZMaterialData > &datavec, TPZVec< int64_t > indices)
virtual void InitMaterialData(TPZVec< TPZMaterialData > &dataVec, TPZVec< int64_t > *indices=0)=0
Implements computational element and a side. Computational Element.
virtual void InitializeIntegrationRule() override=0
After adding the elements initialize the integration rule.
TPZMultiphysicsInterfaceElement * CreateInterface(int side)
virtual TPZCompEl * Element(int64_t elindex)=0
clarg::argInt dimension("-d", "Matrices dimension M x M", 1000)
virtual void AddShapeRestraint(TPZOneShapeRestraint restraint) override
Add a shape restraint (meant to fit the pyramid to restraint.
Contains declaration of TPZCompEl class which defines the interface of a computational element...
virtual void AddElement(TPZCompEl *cel, int64_t mesh)=0
virtual int ComputeIntegrationOrder() const override
virtual void ComputeRequiredData(TPZMaterialData &data, TPZVec< REAL > &qsi)
Compute and fill data with requested attributes.
virtual int64_t NMeshes()=0
Definition of the retraint associated with the top of the pyramid.
Contains declaration of TPZGeoElBC class, it is a structure to help the construction of geometric ele...
REAL val(STATE &number)
Returns value of the variable.
virtual void EvaluateError(std::function< void(const TPZVec< REAL > &loc, TPZVec< STATE > &val, TPZFMatrix< STATE > &deriv)> func, TPZVec< REAL > &errors, bool store_error) override
Performs an error estimate on the elemen.
void RemoveInterface(int side)
Abstract class defining integration rules. Numerical Integration.
TPZManVector< int, 5 > fActiveApproxSpace
List of active approximation spaces.
virtual void AffineTransform(TPZVec< TPZTransform<> > &trVec) const =0
int64_t size() const
Returns the number of elements of the vector.
virtual TPZManVector< TPZCompElSide, 5 > & ElementVec()=0
Returns a reference to the element pointers vector.
Defines the behaviour of all geometric elements. GeometryTPZGeoEl is the common denominator for all g...
#define DebugStop()
Returns a message to user put a breakpoint in.
virtual TPZCompEl * ReferredElement(int64_t mesh)=0
TPZMultiphysicsElement()
Default constructor.
bool ExistsInterface(int side)
virtual void Solution(TPZVec< REAL > &qsi, int var, TPZVec< STATE > &sol) override=0
Calculates the solution - sol - for the variable var at point qsi, where qsi is expressed in terms of...
virtual void CreateGraphicalElement(TPZGraphMesh &grmesh, int dimension) override=0
Creates corresponding graphical element(s) if the dimension matches graphical elements are used to ge...
virtual const TPZIntPoints & GetIntegrationRule() const override=0
Returns a reference to an integration rule suitable for integrating the interior of the element...
virtual void CalcStiff(TPZElementMatrix &ek, TPZElementMatrix &ef) override=0
Computes the element stifness matrix and right hand side.
std::list< TPZOneShapeRestraint > fRestraints
list of restraints applied to one shape function
virtual void SetConnectIndexes(TPZVec< int64_t > &indexes)=0
This class associates an element matrix with the coeficients of its contribution in the global stiffn...
virtual void SetActiveApproxSpaces(TPZManVector< int, 5 > &active_approx_space)
Set the active approximation spaces.
TPZGeoEl * Reference() const
Return a pointer to the corresponding geometric element if such exists, return 0 otherwise.
void ResetReference()
Reset the element referenced by the geometric element to NULL.
Computes the contribution over an interface between two discontinuous elements. Computational Element...
virtual void BuildCornerConnectList(std::set< int64_t > &connectindexes) const override
adds the connect indexes associated with base shape functions to the set
Implements computational mesh. Computational Mesh.
virtual TPZManVector< int, 5 > & GetActiveApproxSpaces()
Set the active approximation spaces.
virtual void PolynomialOrder(TPZVec< int > &order) const =0
virtual std::list< TPZOneShapeRestraint > GetShapeRestraints() const override
Return a list with the shape restraints.
virtual bool IsActiveApproxSpaces(int space_index)
virtual void TransferMultiphysicsElementSolution() override
Defines the interface of a computational element. Computational Element.
TPZMultiphysicsElement(TPZCompMesh &mesh, TPZGeoEl *ref, int64_t &index)
Constructor.