NeoPZ
Public Member Functions | Protected Attributes | List of all members
TPZMultiphysicsElement Class Referenceabstract

#include <pzmultiphysicselement.h>

Inheritance diagram for TPZMultiphysicsElement:
[legend]
Collaboration diagram for TPZMultiphysicsElement:
[legend]

Public Member Functions

 TPZMultiphysicsElement ()
 Default constructor. More...
 
 TPZMultiphysicsElement (TPZCompMesh &mesh, TPZGeoEl *ref, int64_t &index)
 Constructor. More...
 
 TPZMultiphysicsElement (TPZCompMesh &mesh, const TPZMultiphysicsElement &copy)
 Put a copy of the element in the referred mesh. More...
 
virtual ~TPZMultiphysicsElement ()
 Default destructor. More...
 
virtual void AddElement (TPZCompEl *cel, int64_t mesh)=0
 
virtual void AddElement (const TPZCompElSide &cel, int64_t mesh)=0
 
virtual TPZCompElElement (int64_t elindex)=0
 
virtual TPZManVector< TPZCompElSide, 5 > & ElementVec ()=0
 Returns a reference to the element pointers vector. More...
 
virtual TPZCompElReferredElement (int64_t mesh)=0
 
virtual int64_t NMeshes ()=0
 
virtual void SetConnectIndexes (TPZVec< int64_t > &indexes)=0
 
virtual void AffineTransform (TPZVec< TPZTransform<> > &trVec) const =0
 
virtual void InitMaterialData (TPZVec< TPZMaterialData > &dataVec, TPZVec< int64_t > *indices=0)=0
 
virtual void ComputeRequiredData (TPZVec< REAL > &point, TPZVec< TPZTransform<> > &trvec, TPZVec< TPZMaterialData > &datavec, TPZVec< int64_t > indices)
 
virtual void ComputeRequiredData (TPZMaterialData &data, TPZVec< REAL > &qsi)
 Compute and fill data with requested attributes. More...
 
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. More...
 
virtual void EvaluateError (TPZFunction< STATE > &func, TPZVec< STATE > &errors, bool store_error)
 
virtual void CalcStiff (TPZElementMatrix &ek, TPZElementMatrix &ef) override=0
 Computes the element stifness matrix and right hand side. More...
 
virtual void CreateGraphicalElement (TPZGraphMesh &grmesh, int dimension) override=0
 Creates corresponding graphical element(s) if the dimension matches graphical elements are used to generate output files. More...
 
void CreateInterfaces ()
 
bool ExistsInterface (int side)
 
TPZMultiphysicsInterfaceElementCreateInterface (int side)
 
void RemoveInterfaces ()
 
void RemoveInterface (int side)
 
virtual const TPZIntPointsGetIntegrationRule () const override=0
 Returns a reference to an integration rule suitable for integrating the interior of the element. More...
 
virtual TPZIntPointsGetIntegrationRule ()=0
 Returns a reference to an integration rule suitable for integrating the interior of the element. More...
 
virtual void InitializeIntegrationRule () override=0
 After adding the elements initialize the integration rule. More...
 
virtual void PolynomialOrder (TPZVec< int > &order) const =0
 
virtual int ComputeIntegrationOrder () const override
 
virtual void BuildCornerConnectList (std::set< int64_t > &connectindexes) const override
 adds the connect indexes associated with base shape functions to the set More...
 
virtual void TransferMultiphysicsElementSolution () override
 
virtual void SetActiveApproxSpaces (TPZManVector< int, 5 > &active_approx_space)
 Set the active approximation spaces. More...
 
virtual TPZManVector< int, 5 > & GetActiveApproxSpaces ()
 Set the active approximation spaces. More...
 
virtual bool IsActiveApproxSpaces (int space_index)
 
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 the master element coordinates. More...
 
virtual void AddShapeRestraint (TPZOneShapeRestraint restraint) override
 Add a shape restraint (meant to fit the pyramid to restraint. More...
 
virtual std::list< TPZOneShapeRestraintGetShapeRestraints () const override
 Return a list with the shape restraints. More...
 
- Public Member Functions inherited from TPZCompEl
virtual int ClassId () const override
 Define the class id associated with the class. More...
 
 TPZCompEl ()
 Simple Constructor. More...
 
virtual ~TPZCompEl ()
 Simple destructor. More...
 
virtual TPZCompElClone (TPZCompMesh &mesh) const =0
 Method for creating a copy of the element. More...
 
virtual TPZCompElClonePatchEl (TPZCompMesh &mesh, std::map< int64_t, int64_t > &gl2lcConMap, std::map< int64_t, int64_t > &gl2lcElMap) const =0
 Method for creating a copy of the element in a patch mesh. More...
 
 TPZCompEl (TPZCompMesh &mesh, const TPZCompEl &copy)
 Put a copy of the element in the referred mesh. More...
 
 TPZCompEl (TPZCompMesh &mesh, const TPZCompEl &copy, std::map< int64_t, int64_t > &gl2lcElMap)
 Put a copy of the element in the patch mesh. More...
 
 TPZCompEl (TPZCompMesh &mesh, const TPZCompEl &copy, int64_t &index)
 Copy of the element in the new mesh returning allocated index. More...
 
 TPZCompEl (TPZCompMesh &mesh, TPZGeoEl *gel, int64_t &index)
 Creates a computational element within mesh. Inserts the element within the data structure of the mesh. More...
 
virtual void SetCreateFunctions (TPZCompMesh *mesh)
 Sets create function in TPZCompMesh to create elements of this type. More...
 
virtual REAL VolumeOfEl ()
 Returns the volume of the geometric element associated. More...
 
virtual void LoadElementReference ()
 Loads the geometric element reference. More...
 
virtual REAL CompareElement (int var, char *matname)
 This method computes the norm of the difference of a post processed variable with @ the same post processed variable of the element pointed to by the geometric element. More...
 
virtual void Assemble ()
 Computes the element stifness matrix and right hand side in an internal data structure. Used for initializing condensed element data structures. More...
 
virtual bool HasMaterial (const std::set< int > &materialids) const
 Verifies if the material associated with the element is contained in the set. More...
 
virtual void CalcResidual (TPZElementMatrix &ef)
 Computes the element right hand side. More...
 
virtual void Divide (int64_t index, TPZVec< int64_t > &subindex, int interpolate=0)
 Divide the computational element. If interpolate = 1, the solution is interpolated to the sub elements. More...
 
virtual void ProjectFlux (TPZElementMatrix &ek, TPZElementMatrix &ef)
 Projects the flux function on the finite element space. More...
 
virtual void ComputeError (int errorid, TPZVec< REAL > &error)
 ComputeError computes the element error estimator. More...
 
virtual void Integrate (int variable, TPZVec< STATE > &value)
 Integrates a variable over the element. More...
 
virtual void GetMemoryIndices (TPZVec< int64_t > &indices) const
 Get the indices of the vector of element memory associated with the integration points. More...
 
virtual void SetMemoryIndices (TPZVec< int64_t > &indices)
 Set the indices of the vector of element memory associated with the integration points. More...
 
virtual void PrepareIntPtIndices ()
 Prepare the vector of the material withmem with the correct integration point indexes. More...
 
virtual void ForcePrepareIntPtIndices ()
 PrepareIntPtIndices initializes the material damage varibles memory in the proper material class. More...
 
virtual void SetFreeIntPtIndices ()
 Frees the material damage varibles memory in the proper material class. More...
 
virtual int NumberOfCompElementsInsideThisCompEl ()
 Return the size of the elementvec in multiphysics, if it is not multiphysics, just return 1. More...
 
virtual void SetMultiphysicsElementSolution ()
 
virtual void ResetShapeRestraints ()
 Return a list with the shape restraints. More...
 
virtual TPZVec< STATE > IntegrateSolution (int var) const
 Compute the integral of a variable. More...
 
virtual TPZVec< STATE > IntegrateSolution (const std::string &varname, const std::set< int > &matids)
 Compute the integral of a variable defined by the string if the material id is included in matids. More...
 
virtual void ComputeSolution (TPZVec< REAL > &qsi, TPZMaterialData &data)
 
virtual void ComputeSolution (TPZVec< REAL > &qsi, TPZSolVec &sol, TPZGradSolVec &dsol, TPZFMatrix< REAL > &axes)
 Computes solution and its derivatives in the local coordinate qsi. More...
 
virtual void ComputeSolution (TPZVec< REAL > &qsi, TPZVec< REAL > &normal, TPZSolVec &leftsol, TPZGradSolVec &dleftsol, TPZFMatrix< REAL > &leftaxes, TPZSolVec &rightsol, TPZGradSolVec &drightsol, TPZFMatrix< REAL > &rightaxes)
 Computes solution and its derivatives in the local coordinate qsi.
This method will function for both volumetric and interface elements. More...
 
virtual void ComputeSolution (TPZVec< REAL > &qsi, TPZFMatrix< REAL > &phi, TPZFMatrix< REAL > &dphix, const TPZFMatrix< REAL > &axes, TPZSolVec &sol, TPZGradSolVec &dsol)
 Computes solution and its derivatives in local coordinate qsi. More...
 
virtual void BuildConnectList (std::set< int64_t > &indepconnectlist, std::set< int64_t > &depconnectlist)
 Builds the list of all connectivities related to the element including the connects pointed to by dependent connects. More...
 
virtual void BuildConnectList (TPZStack< int64_t > &connectlist) const
 Builds the list of all connectivities related to the element including the connects pointed to by dependent connects. More...
 
virtual void BuildConnectList (std::set< int64_t > &connectlist)
 Builds the list of all connectivities related to the element including the connects pointed to by dependent connects. More...
 
virtual int HasDependency ()
 Returns 1 if the element has at least one dependent node. Returns 0 otherwise. More...
 
virtual int PressureConnectIndex () const
 Returns the index of the pressure connect. More...
 
virtual void ReduceInternalNodes ()
 Domain Decomposition.
This method will eliminate the nodes which are internal to the element from the datastructure of the grid
After calling this method, the superelement will statically condense the internal equations. More...
 
virtual void SetConnectIndex (int inode, int64_t index)=0
 Set the index i to node inode. More...
 
virtual void CalcBlockDiagonal (TPZStack< int64_t > &connectlist, TPZBlockDiagonal< STATE > &block)
 Calculates the diagonal block. More...
 
REAL MaximumRadiusOfEl ()
 Will return the maximum distance between the nodes of the reference element. More...
 
REAL LesserEdgeOfEl ()
 Will return the smallest distance between two nodes of the reference element. More...
 
void Write (TPZStream &buf, int withclassid) const override
 Save the element data to a stream. More...
 
void Read (TPZStream &buf, void *context) override
 Read the element data from a stream. More...
 
virtual void SetIntegrationRule (TPZIntPoints *intrule)
 Method to set a dynamically allocated integration rule. More...
 
virtual void SetIntegrationRule (int order)
 
virtual MElementType Type ()
 Return the type of the element. More...
 
virtual int IsInterface ()
 
TPZGeoElReference () const
 Return a pointer to the corresponding geometric element if such exists, return 0 otherwise. More...
 
void SetReference (int64_t referenceindex)
 
virtual bool NeedsComputing (const std::set< int > &materialids)
 return true if the element has a variational statement associated with the material ids More...
 
virtual int NConnects () const =0
 Returns the number of nodes of the element. More...
 
virtual int NEquations ()
 Returns the number of equations of the element. More...
 
int64_t Index () const
 Returns element index of the mesh fELementVec list. More...
 
void SetIndex (int64_t index)
 Sets element index of the mesh fELementVec list. More...
 
virtual int64_t ConnectIndex (int i) const =0
 Returns the index of the ith connectivity of the element. More...
 
virtual TPZConnectConnect (int i) const
 Returns a pointer to the ith node. More...
 
virtual int Dimension () const =0
 Dimension of the element. More...
 
virtual TPZMaterialMaterial () const
 Identify the material object associated with the element. More...
 
TPZGeoElGetRefElPatch ()
 Returns the reference geometric element patch.
Look for a geometric element which refers to a computational element and is neighbour of the current element AND is larger than the current element. More...
 
virtual void LoadSolution ()
 Loads the solution within the internal data structure of the element. More...
 
void SetMesh (TPZCompMesh *mesh)
 Sets the grid of the element. More...
 
TPZCompMeshMesh () const
 Return a pointer to the grid of the element. More...
 
virtual void Print (std::ostream &out=std::cout) const
 Prints element data. More...
 
virtual void PrintSolution (TPZVec< REAL > &point, const char *VarName, std::ostream &out)
 Prints the solution - sol - for the variable "VarName" at point specified in terms of the master element coordinates. More...
 
virtual void PrintCoordinate (TPZVec< REAL > &point, int CoordinateIndex, std::ostream &out)
 Prints one coordinate index corresponding to the point to the output stream. More...
 
virtual void PrintTitle (const char *VarName, std::ostream &out)
 Prints the variables names associated with the element material. More...
 
- Public Member Functions inherited from TPZSavable
 TPZSavable ()
 
virtual ~TPZSavable ()
 
virtual std::list< std::map< std::string, uint64_t > > VersionHistory () const
 
virtual std::pair< std::string, uint64_t > Version () const
 
virtual bool Compare (TPZSavable *copy, bool override=false)
 Compares the object for identity with the object pointed to, eventually copy the object. More...
 
virtual bool Compare (TPZSavable *copy, bool override=false) const
 Compares the object for identity with the object pointed to, eventually copy the object. More...
 
- Public Member Functions inherited from TPZRegisterClassId
template<typename T >
 TPZRegisterClassId (int(T::*)() const)
 
 TPZRegisterClassId ()=default
 

Protected Attributes

std::list< TPZOneShapeRestraintfRestraints
 list of restraints applied to one shape function More...
 
TPZManVector< int, 5 > fActiveApproxSpace
 List of active approximation spaces. More...
 
- Protected Attributes inherited from TPZCompEl
TPZCompMeshfMesh
 Computational mesh to which the element belongs. More...
 
int64_t fIndex
 Element index into mesh element vector. More...
 
TPZIntPointsfIntegrationRule
 Integration rule established by the user. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from TPZCompEl
static int StaticClassId ()
 
static void SetgOrder (int order)
 Sets the value of the default interpolation order. More...
 
static int GetgOrder ()
 Set the default value of the interpolation order. More...
 
static void SetOrthogonalFunction (void(*orthogonal)(REAL x, int num, TPZFMatrix< REAL > &phi, TPZFMatrix< REAL > &dphi))
 Sets the orthogonal function which will be used throughout the program by default this function is the Chebyshev function. More...
 
static void Chebyshev (REAL x, int num, TPZFMatrix< REAL > &phi, TPZFMatrix< REAL > &dphi)
 Implements of the orthogonal Chebyshev functions. More...
 
- Static Public Member Functions inherited from TPZSavable
static std::set< TPZRestoreClassBase * > & RestoreClassSet ()
 This static function guarantees that the gMap object is available when needed. More...
 
static std::map< int, TPZRestore_t > & ClassIdMap ()
 This static function guarantees that the gMap object is available when needed. More...
 
static std::pair< std::string, uint64_t > NeoPZVersion ()
 
static void Register (TPZRestoreClassBase *restore)
 
static void RegisterClassId (int classid, TPZRestore_t fun)
 
static TPZSavableCreateInstance (const int &classId)
 

Detailed Description

Definition at line 17 of file pzmultiphysicselement.h.

Constructor & Destructor Documentation

◆ TPZMultiphysicsElement() [1/3]

TPZMultiphysicsElement::TPZMultiphysicsElement ( )
inline

Default constructor.

Definition at line 29 of file pzmultiphysicselement.h.

Referenced by TPZMultiphysicsElement().

◆ TPZMultiphysicsElement() [2/3]

TPZMultiphysicsElement::TPZMultiphysicsElement ( TPZCompMesh mesh,
TPZGeoEl ref,
int64_t &  index 
)
inline

Constructor.

Parameters
meshMultiphysics mesh where will be created the element
refgeometric element reference
indexIndex of the element created

Definition at line 38 of file pzmultiphysicselement.h.

References TPZMultiphysicsElement().

◆ TPZMultiphysicsElement() [3/3]

TPZMultiphysicsElement::TPZMultiphysicsElement ( TPZCompMesh mesh,
const TPZMultiphysicsElement copy 
)

Put a copy of the element in the referred mesh.

Definition at line 22 of file pzmultiphysicselement.cpp.

◆ ~TPZMultiphysicsElement()

virtual TPZMultiphysicsElement::~TPZMultiphysicsElement ( )
inlinevirtual

Member Function Documentation

◆ AddElement() [1/2]

virtual void TPZMultiphysicsElement::AddElement ( TPZCompEl cel,
int64_t  mesh 
)
pure virtual

◆ AddElement() [2/2]

virtual void TPZMultiphysicsElement::AddElement ( const TPZCompElSide cel,
int64_t  mesh 
)
pure virtual

◆ AddShapeRestraint()

virtual void TPZMultiphysicsElement::AddShapeRestraint ( TPZOneShapeRestraint  restraint)
inlineoverridevirtual

Add a shape restraint (meant to fit the pyramid to restraint.

Reimplemented from TPZCompEl.

Definition at line 164 of file pzmultiphysicselement.h.

Referenced by TPZBuildMultiphysicsMesh::AddConnects(), and TPZMultiphysicsCompMesh::AddConnects().

◆ AffineTransform()

virtual void TPZMultiphysicsElement::AffineTransform ( TPZVec< TPZTransform<> > &  trVec) const
pure virtual

◆ BuildCornerConnectList()

virtual void TPZMultiphysicsElement::BuildCornerConnectList ( std::set< int64_t > &  connectindexes) const
inlineoverridevirtual

adds the connect indexes associated with base shape functions to the set

Implements TPZCompEl.

Definition at line 123 of file pzmultiphysicselement.h.

References DebugStop, and TransferMultiphysicsElementSolution().

◆ CalcStiff()

virtual void TPZMultiphysicsElement::CalcStiff ( TPZElementMatrix ek,
TPZElementMatrix ef 
)
overridepure virtual

Computes the element stifness matrix and right hand side.

Parameters
ekelement stiffness matrix
efelement load vector

Reimplemented from TPZCompEl.

Implemented in TPZMultiphysicsCompEl< TGeometry >.

Referenced by ComputeRequiredData().

◆ ComputeIntegrationOrder()

int TPZMultiphysicsElement::ComputeIntegrationOrder ( ) const
overridevirtual

Reimplemented from TPZCompEl.

Definition at line 80 of file pzmultiphysicselement.cpp.

References DebugStop.

Referenced by TPZMultiphysicsInterfaceElement::ComputeIntegrationOrder(), and ComputeRequiredData().

◆ ComputeRequiredData() [1/2]

void TPZMultiphysicsElement::ComputeRequiredData ( TPZVec< REAL > &  point,
TPZVec< TPZTransform<> > &  trvec,
TPZVec< TPZMaterialData > &  datavec,
TPZVec< int64_t >  indices 
)
virtual

◆ ComputeRequiredData() [2/2]

virtual void TPZMultiphysicsElement::ComputeRequiredData ( TPZMaterialData data,
TPZVec< REAL > &  qsi 
)
inlinevirtual

◆ CreateGraphicalElement()

virtual void TPZMultiphysicsElement::CreateGraphicalElement ( TPZGraphMesh graphmesh,
int  dimension 
)
overridepure virtual

Creates corresponding graphical element(s) if the dimension matches graphical elements are used to generate output files.

Parameters
graphmeshgraphical mesh where the element will be created
dimensiontarget dimension of the graphical element

Reimplemented from TPZCompEl.

Implemented in TPZMultiphysicsCompEl< TGeometry >.

Referenced by ComputeRequiredData().

◆ CreateInterface()

TPZMultiphysicsInterfaceElement * TPZMultiphysicsElement::CreateInterface ( int  side)

◆ CreateInterfaces()

void TPZMultiphysicsElement::CreateInterfaces ( )

◆ Element()

virtual TPZCompEl* TPZMultiphysicsElement::Element ( int64_t  elindex)
pure virtual

◆ ElementVec()

virtual TPZManVector<TPZCompElSide,5>& TPZMultiphysicsElement::ElementVec ( )
pure virtual

Returns a reference to the element pointers vector.

Implemented in TPZMultiphysicsCompEl< TGeometry >.

Referenced by SetActiveApproxSpaces(), and ~TPZMultiphysicsElement().

◆ EvaluateError() [1/2]

void TPZMultiphysicsElement::EvaluateError ( std::function< void(const TPZVec< REAL > &loc, TPZVec< STATE > &val, TPZFMatrix< STATE > &deriv)>  func,
TPZVec< REAL > &  errors,
bool  store_error 
)
overridevirtual

Performs an error estimate on the elemen.

Parameters
fpfunction pointer which computes the exact solution
errors(output) each norm or true error of the error of the solution at each physics
flux(input) value of the interpolated flux values

Reimplemented from TPZCompEl.

Reimplemented in TPZMultiphysicsCompEl< TGeometry >.

Definition at line 484 of file pzmultiphysicselement.cpp.

References DebugStop.

Referenced by ComputeError(), and ComputeRequiredData().

◆ EvaluateError() [2/2]

void TPZMultiphysicsElement::EvaluateError ( TPZFunction< STATE > &  func,
TPZVec< STATE > &  errors,
bool  store_error 
)
virtual

Reimplemented in TPZMultiphysicsCompEl< TGeometry >.

Definition at line 492 of file pzmultiphysicselement.cpp.

References DebugStop.

◆ ExistsInterface()

bool TPZMultiphysicsElement::ExistsInterface ( int  side)

◆ GetActiveApproxSpaces()

virtual TPZManVector<int,5>& TPZMultiphysicsElement::GetActiveApproxSpaces ( )
inlinevirtual

Set the active approximation spaces.

Parameters
indexesList of the active approximation spaces

Definition at line 150 of file pzmultiphysicselement.h.

References fActiveApproxSpace.

◆ GetIntegrationRule() [1/2]

virtual const TPZIntPoints& TPZMultiphysicsElement::GetIntegrationRule ( ) const
overridepure virtual

Returns a reference to an integration rule suitable for integrating the interior of the element.

Reimplemented from TPZCompEl.

Implemented in TPZMultiphysicsCompEl< TGeometry >.

Referenced by ComputeRequiredData().

◆ GetIntegrationRule() [2/2]

virtual TPZIntPoints& TPZMultiphysicsElement::GetIntegrationRule ( )
pure virtual

Returns a reference to an integration rule suitable for integrating the interior of the element.

Implemented in TPZMultiphysicsCompEl< TGeometry >.

◆ GetShapeRestraints()

virtual std::list<TPZOneShapeRestraint> TPZMultiphysicsElement::GetShapeRestraints ( ) const
inlineoverridevirtual

Return a list with the shape restraints.

Reimplemented from TPZCompEl.

Definition at line 170 of file pzmultiphysicselement.h.

References fRestraints.

Referenced by TPZMultiphysicsCompEl< TGeometry >::InitializeElementMatrix(), and TPZMultiphysicsCompEl< TGeometry >::Print().

◆ InitializeIntegrationRule()

virtual void TPZMultiphysicsElement::InitializeIntegrationRule ( )
overridepure virtual

After adding the elements initialize the integration rule.

Reimplemented from TPZCompEl.

Implemented in TPZMultiphysicsCompEl< TGeometry >.

Referenced by TPZBuildMultiphysicsMesh::AddElements(), TPZMultiphysicsCompMesh::AddElements(), and ComputeRequiredData().

◆ InitMaterialData()

virtual void TPZMultiphysicsElement::InitMaterialData ( TPZVec< TPZMaterialData > &  dataVec,
TPZVec< int64_t > *  indices = 0 
)
pure virtual

◆ IsActiveApproxSpaces()

virtual bool TPZMultiphysicsElement::IsActiveApproxSpaces ( int  space_index)
inlinevirtual

◆ NMeshes()

virtual int64_t TPZMultiphysicsElement::NMeshes ( )
pure virtual

◆ PolynomialOrder()

virtual void TPZMultiphysicsElement::PolynomialOrder ( TPZVec< int > &  order) const
pure virtual

◆ ReferredElement()

virtual TPZCompEl* TPZMultiphysicsElement::ReferredElement ( int64_t  mesh)
pure virtual

◆ RemoveInterface()

void TPZMultiphysicsElement::RemoveInterface ( int  side)

◆ RemoveInterfaces()

void TPZMultiphysicsElement::RemoveInterfaces ( )

◆ SetActiveApproxSpaces()

virtual void TPZMultiphysicsElement::SetActiveApproxSpaces ( TPZManVector< int, 5 > &  active_approx_space)
inlinevirtual

Set the active approximation spaces.

Parameters
indexesList of the active approximation spaces

Definition at line 135 of file pzmultiphysicselement.h.

References DebugStop, ElementVec(), and TPZVec< T >::size().

Referenced by TPZMultiphysicsCompMesh::AddElements().

◆ SetConnectIndexes()

virtual void TPZMultiphysicsElement::SetConnectIndexes ( TPZVec< int64_t > &  indexes)
pure virtual

◆ Solution()

virtual void TPZMultiphysicsElement::Solution ( TPZVec< REAL > &  qsi,
int  var,
TPZVec< STATE > &  sol 
)
overridepure virtual

Calculates the solution - sol - for the variable var at point qsi, where qsi is expressed in terms of the master element coordinates.

Parameters
qsimaster element coordinate
varvariable name
solvetor for the solution

Reimplemented from TPZCompEl.

Implemented in TPZMultiphysicsCompEl< TGeometry >.

Referenced by IsActiveApproxSpaces().

◆ TransferMultiphysicsElementSolution()

void TPZMultiphysicsElement::TransferMultiphysicsElementSolution ( )
overridevirtual

Member Data Documentation

◆ fActiveApproxSpace

TPZManVector<int,5> TPZMultiphysicsElement::fActiveApproxSpace
protected

◆ fRestraints

std::list<TPZOneShapeRestraint> TPZMultiphysicsElement::fRestraints
protected

list of restraints applied to one shape function

Definition at line 22 of file pzmultiphysicselement.h.

Referenced by GetShapeRestraints().


The documentation for this class was generated from the following files: