NeoPZ
|
#include <pzreducedspace.h>
Public Member Functions | |
TPZReducedSpace () | |
Default constructor. More... | |
virtual | ~TPZReducedSpace () |
Default destructor. More... | |
TPZReducedSpace (TPZCompMesh &mesh, const TPZReducedSpace ©) | |
Puts a copy of the element in the referred mesh. More... | |
TPZReducedSpace (TPZCompMesh &mesh, const TPZReducedSpace ©, std::map< int64_t, int64_t > &gl2lcElMap) | |
Puts a copy of the element in the patch mesh. More... | |
TPZReducedSpace (TPZCompMesh &mesh, const TPZReducedSpace ©, int64_t &index) | |
Copy of the element in the new mesh whit alocated index. More... | |
TPZReducedSpace (TPZCompMesh &mesh, TPZGeoEl *gel, int64_t &index) | |
Create a computational element within mesh. More... | |
virtual int | NConnects () const override |
Returns the number of nodes of the element. More... | |
virtual int | NSideConnects (int iside) const override |
Returns the number of dof nodes along side iside. More... | |
virtual int | SideConnectLocId (int icon, int is) const override |
Returns the local node number of icon along is. More... | |
virtual int | NShapeF () const override |
It returns the shapes number of the element. More... | |
virtual int | NConnectShapeF (int inod, int order) const override |
Returns the number of shapefunctions associated with a connect. More... | |
virtual int | MaxOrder () override |
Returns the max order of interpolation. More... | |
virtual void | Shape (TPZVec< REAL > &qsi, TPZFMatrix< REAL > &phi, TPZFMatrix< REAL > &dphi) override |
Computes the shape function set at the point x. More... | |
virtual void | ShapeX (TPZVec< REAL > &qsi, TPZFMatrix< REAL > &phi, TPZFMatrix< REAL > &dphix, TPZFMatrix< REAL > &axes) |
Computes the shape function set at the point x. More... | |
virtual void | ShapeX (TPZVec< REAL > &qsi, TPZMaterialData &data) |
virtual void | ComputeShape (TPZVec< REAL > &qsi, TPZMaterialData &data) override |
Compute shape functions based on master element in the classical FEM manne. More... | |
virtual void | ComputeSolution (TPZVec< REAL > &qsi, TPZMaterialData &data) override |
virtual void | InitMaterialData (TPZMaterialData &data) override |
Initialize a material data and its attributes based on element dimension, number of state variables and material definitions. More... | |
virtual void | ComputeRequiredData (TPZMaterialData &data, TPZVec< REAL > &qsi) override |
Compute and fill data with requested attributes. More... | |
void | ComputeSolution (TPZVec< REAL > &qsi, TPZFMatrix< REAL > &phi, TPZFMatrix< REAL > &dphix, const TPZFMatrix< REAL > &axes, TPZSolVec &sol, TPZGradSolVec &dsol) override |
Computes solution and its derivatives in local coordinate qsi. More... | |
void | InitializeElementMatrix (TPZElementMatrix &ek, TPZElementMatrix &ef) override |
Initialize element matrix in which is computed CalcStiff. More... | |
void | InitializeElementMatrix (TPZElementMatrix &ef) override |
Initialize element matrix in which is computed in CalcResidual. 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 | PRefine (int order) override |
Change the preferred order for the element and proceed the adjust of the aproximation space taking in acount the type of formulation and the neighbours of the element. More... | |
virtual void | SetConnectIndex (int inode, int64_t index) override |
Set the index i to node inode. More... | |
virtual TPZCompEl * | Clone (TPZCompMesh &mesh) const override |
Method for creating a copy of the element. More... | |
virtual const TPZIntPoints & | GetIntegrationRule () const override |
Returns a reference to an integration rule suitable for integrating the interior of the element. More... | |
virtual TPZIntPoints & | GetIntegrationRule () override |
Returns a reference to an integration rule suitable for integrating the interior of the element. More... | |
virtual int | Dimension () const override |
Dimension of the element. More... | |
virtual TPZCompEl * | ClonePatchEl (TPZCompMesh &mesh, std::map< int64_t, int64_t > &gl2lcConMap, std::map< int64_t, int64_t > &gl2lcElMap) const override |
Method for creating a copy of the element in a patch mesh. More... | |
virtual void | BuildCornerConnectList (std::set< int64_t > &connectindexes) const override |
adds the connect indexes associated with base shape functions to the set More... | |
virtual int64_t | ConnectIndex (int i) const override |
Returns the index of the ith connectivity of the element. More... | |
virtual void | SetPreferredOrder (int order) override |
Defines the desired order for entire element. More... | |
void | CreateGraphicalElement (TPZGraphMesh &grafgrid, int dimension) override |
Creates corresponding graphical element(s) if the dimension matches graphical elements are used to generate output files. More... | |
int | ClassId () const override |
Define the class id associated with the class. More... | |
Public Member Functions inherited from TPZInterpolationSpace | |
TPZInterpolationSpace () | |
Default constructor. More... | |
virtual | ~TPZInterpolationSpace () |
Default destructor. More... | |
TPZInterpolationSpace (TPZCompMesh &mesh, const TPZInterpolationSpace ©) | |
Puts a copy of the element in the referred mesh. More... | |
TPZInterpolationSpace (TPZCompMesh &mesh, const TPZInterpolationSpace ©, std::map< int64_t, int64_t > &gl2lcElMap) | |
Puts a copy of the element in the patch mesh. More... | |
TPZInterpolationSpace (TPZCompMesh &mesh, const TPZInterpolationSpace ©, int64_t &index) | |
Copy of the element in the new mesh whit alocated index. More... | |
TPZInterpolationSpace (TPZCompMesh &mesh, TPZGeoEl *gel, int64_t &index) | |
Create a computational element within mesh. More... | |
virtual void | ComputeRequiredData (TPZVec< REAL > &intpointtemp, TPZVec< TPZTransform< REAL > > &trvec, TPZVec< TPZMaterialData > &datavec) |
Compute and fill data with requested attributes for each of the compels in fElementVec. More... | |
virtual void | ComputeNormal (TPZMaterialData &data) |
Computes the proper normal vector towards the neighbour element. More... | |
void | VectorialProd (TPZVec< REAL > &ivec, TPZVec< REAL > &jvec, TPZVec< REAL > &kvec, bool unitary=false) |
Computes the vectorial product of two vectors and normalize the result if unitary is set to true. More... | |
virtual void | CalcStiff (TPZElementMatrix &ek, TPZElementMatrix &ef) override |
Computes the element stiffness matrix and right hand side. More... | |
virtual void | CalcResidual (TPZElementMatrix &ef) override |
Only computes the element residual. More... | |
void | MinMaxSolutionValues (TPZVec< STATE > &min, TPZVec< STATE > &max) |
Returns minimum and maximum values for each state variable. More... | |
virtual REAL | InnerRadius () |
Returns the inner radius value. More... | |
virtual void | Solution (TPZVec< REAL > &qsi, int var, TPZVec< STATE > &sol) override |
Post processing method which computes the solution for the var post processed variable. More... | |
void | InterpolateSolution (TPZInterpolationSpace &coarsel) |
Interpolates the solution into the degrees of freedom nodes from the degrees of freedom nodes from the coarse element. More... | |
void | CreateInterfaces (bool BetweenContinuous=false) |
Create interfaces between this and its neighbours. More... | |
TPZInterfaceElement * | CreateInterface (int side, bool BetweenContinuous=false) |
Create an interface between this and the neighbour by side side. More... | |
int | ExistsInterface (TPZGeoElSide geosd) |
Verify existence of interface. More... | |
void | RemoveInterfaces () |
Remove interfaces connected to this element. More... | |
void | RemoveInterface (int side) |
Remove interface which is neighbour from side side. 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 | ComputeError (int errorid, TPZVec< REAL > &error) override |
Computes the element error estimator. More... | |
virtual TPZVec< STATE > | IntegrateSolution (int variable) const override |
Integrate a variable over the element. More... | |
virtual void | Integrate (int variable, TPZVec< STATE > &value) override |
Integrates a variable over the element. More... | |
void | ProjectFlux (TPZElementMatrix &ek, TPZElementMatrix &ef) override |
Integrate the solution over the element. More... | |
virtual int | GetPreferredOrder () |
Returns the prefered order for the element. More... | |
virtual int | GetSideOrient (int side) |
It returns the normal orientation of the reference element by the side. Only side that has dimension larger than zero and smaller than me. More... | |
virtual void | SetSideOrient (int side, int sideorient) |
It set the normal orientation of the element by the side. Only side that has dimension equal to my dimension minus one. More... | |
void | BuildTransferMatrix (TPZInterpolationSpace &coarsel, TPZTransform<> &t, TPZTransfer< STATE > &transfer) |
Accumulates the transfer coefficients between the current element and the coarse element into the transfer matrix, using the transformation t. More... | |
virtual void | Print (std::ostream &out=std::cout) const override |
Prints the relevant data of the element to the output stream. More... | |
int | NSideShapeF (int side) const |
Returns the number of shape functions on a side. More... | |
int64_t | SideConnectIndex (int icon, int is) const |
Returns the index of the c th connect object along side is. More... | |
TPZConnect & | SideConnect (int icon, int is) const |
Returns a pointer to the icon th connect object along side is. More... | |
virtual void | AdjustIntegrationRule () |
Adjust the integration rule according to the polynomial order of shape functions. More... | |
virtual int | ComputeIntegrationOrder () const override |
Compute integration order according to ... . More... | |
virtual void | SetIntegrationRule (int order) override |
virtual void | ComputeShape (TPZVec< REAL > &intpoint, TPZVec< REAL > &X, TPZFMatrix< REAL > &jacobian, TPZFMatrix< REAL > &axes, REAL &detjac, TPZFMatrix< REAL > &jacinv, TPZFMatrix< REAL > &phi, TPZFMatrix< REAL > &dphi, TPZFMatrix< REAL > &dphidx) |
Compute shape functions based on master element in the classical FEM manner. More... | |
virtual void | SideShapeFunction (int side, TPZVec< REAL > &point, TPZFMatrix< REAL > &phi, TPZFMatrix< REAL > &dphi) |
Compute the values of the shape function along the side. More... | |
Public Member Functions inherited from TPZCompEl | |
TPZCompEl () | |
Simple Constructor. More... | |
virtual | ~TPZCompEl () |
Simple destructor. More... | |
TPZCompEl (TPZCompMesh &mesh, const TPZCompEl ©) | |
Put a copy of the element in the referred mesh. More... | |
TPZCompEl (TPZCompMesh &mesh, const TPZCompEl ©, std::map< int64_t, int64_t > &gl2lcElMap) | |
Put a copy of the element in the patch mesh. More... | |
TPZCompEl (TPZCompMesh &mesh, const TPZCompEl ©, 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 | 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 | 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 | TransferMultiphysicsElementSolution () |
virtual void | SetMultiphysicsElementSolution () |
virtual void | AddShapeRestraint (TPZOneShapeRestraint restraint) |
Add a shape restraint (meant to fit the pyramid to restraint. More... | |
virtual std::list< TPZOneShapeRestraint > | GetShapeRestraints () const |
Return a list with the shape restraints. More... | |
virtual void | ResetShapeRestraints () |
Return a list with the shape restraints. 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, 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 | 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 | 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... | |
virtual void | InitializeIntegrationRule () |
virtual void | SetIntegrationRule (TPZIntPoints *intrule) |
Method to set a dynamically allocated integration rule. More... | |
virtual MElementType | Type () |
Return the type of the element. More... | |
virtual int | IsInterface () |
TPZGeoEl * | Reference () 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 | 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 TPZConnect & | Connect (int i) const |
Returns a pointer to the ith node. More... | |
virtual TPZMaterial * | Material () const |
Identify the material object associated with the element. More... | |
TPZGeoEl * | GetRefElPatch () |
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... | |
TPZCompMesh * | Mesh () const |
Return a pointer to the grid of the element. 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 | |
Static Public Member Functions | |
static void | SetAllCreateFunctionsReducedSpace (TPZCompMesh *cmesh) |
Static Public Member Functions inherited from TPZInterpolationSpace | |
static void | Convert2Axes (const TPZFMatrix< REAL > &dphi, const TPZFMatrix< REAL > &jacinv, TPZFMatrix< REAL > &dphidx) |
convert a shapefunction derivative in xi-eta to a function derivative in axes More... | |
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 TPZSavable * | CreateInstance (const int &classId) |
Private Member Functions | |
TPZInterpolationSpace * | ReferredIntel () const |
Additional Inherited Members | |
Protected Member Functions inherited from TPZInterpolationSpace | |
void | ExpandShapeFunctions (TPZVec< int64_t > &connectlist, TPZVec< int > &dependencyorder, TPZVec< int > &blocksizes, TPZFMatrix< REAL > &phi, TPZFMatrix< REAL > &dphi) |
Auxiliary method to expand a vector of shapefunctions and their derivatives to acount for constraints. More... | |
Protected Attributes inherited from TPZInterpolationSpace | |
int | fPreferredOrder |
Preferred polynomial order. More... | |
Protected Attributes inherited from TPZCompEl | |
TPZCompMesh * | fMesh |
Computational mesh to which the element belongs. More... | |
int64_t | fIndex |
Element index into mesh element vector. More... | |
TPZIntPoints * | fIntegrationRule |
Integration rule established by the user. More... | |
Definition at line 15 of file pzreducedspace.h.
TPZReducedSpace::TPZReducedSpace | ( | ) |
Default constructor.
Definition at line 22 of file pzreducedspace.cpp.
Referenced by Clone(), ClonePatchEl(), and CreateReducedElement().
|
virtual |
Default destructor.
Definition at line 29 of file pzreducedspace.cpp.
TPZReducedSpace::TPZReducedSpace | ( | TPZCompMesh & | mesh, |
const TPZReducedSpace & | copy | ||
) |
Puts a copy of the element in the referred mesh.
Definition at line 35 of file pzreducedspace.cpp.
TPZReducedSpace::TPZReducedSpace | ( | TPZCompMesh & | mesh, |
const TPZReducedSpace & | copy, | ||
std::map< int64_t, int64_t > & | gl2lcElMap | ||
) |
Puts a copy of the element in the patch mesh.
Definition at line 42 of file pzreducedspace.cpp.
TPZReducedSpace::TPZReducedSpace | ( | TPZCompMesh & | mesh, |
const TPZReducedSpace & | copy, | ||
int64_t & | index | ||
) |
Copy of the element in the new mesh whit alocated index.
Definition at line 49 of file pzreducedspace.cpp.
TPZReducedSpace::TPZReducedSpace | ( | TPZCompMesh & | mesh, |
TPZGeoEl * | gel, | ||
int64_t & | index | ||
) |
Create a computational element within mesh.
mesh | mesh where will be created the element |
gel | geometrical element to insert |
index | new elemen indexInserts the element within the data structure of the mesh |
mesh | mesh wher will be created the element |
gel | geometrical element to insert |
index | new elemen indexInserts the element within the data structure of the mesh |
Definition at line 62 of file pzreducedspace.cpp.
|
inlineoverridevirtual |
adds the connect indexes associated with base shape functions to the set
Implements TPZCompEl.
Definition at line 177 of file pzreducedspace.h.
|
overridevirtual |
Define the class id associated with the class.
This id has to be unique for all classes A non unique id is flagged at the startup of the program
Reimplemented from TPZInterpolationSpace.
Definition at line 493 of file pzreducedspace.cpp.
References TPZInterpolationSpace::ClassId(), and Hash().
Referenced by SetPreferredOrder().
|
overridevirtual |
Method for creating a copy of the element.
Implements TPZCompEl.
Definition at line 430 of file pzreducedspace.cpp.
References TPZReducedSpace().
Referenced by SetConnectIndex().
|
overridevirtual |
Method for creating a copy of the element in a patch mesh.
mesh | Patch clone mesh |
gl2lcConMap | map the connects indexes from global element (original) to the local copy. |
gl2lcElMap | map the computational elements Otherwise of the previous clone function, this method don't copy entire mesh. Therefore it needs to map the connect index from the both meshes - original and patch |
Implements TPZCompEl.
Definition at line 434 of file pzreducedspace.cpp.
References TPZReducedSpace().
Referenced by Dimension().
|
overridevirtual |
Compute and fill data with requested attributes.
Reimplemented from TPZInterpolationSpace.
Definition at line 190 of file pzreducedspace.cpp.
References TPZMaterialData::axes, TPZInterpolationSpace::ComputeNormal(), ComputeSolution(), TPZMaterialData::detjac, TPZGeoEl::Dimension(), TPZMaterialData::dphix, TPZMaterialData::dsol, TPZMaterialData::fNeedsHSize, TPZMaterialData::fNeedsNormal, TPZMaterialData::fNeedsSol, TPZMaterialData::HSize, TPZInterpolationSpace::InnerRadius(), TPZMaterialData::intGlobPtIndex, TPZMaterialData::jacinv, TPZMaterialData::jacobian, TPZGeoEl::Jacobian(), TPZMaterialData::phi, TPZCompEl::Reference(), TPZManVector< T, NumExtAlloc >::Resize(), TPZFMatrix< TVar >::Resize(), ShapeX(), TPZMaterialData::sol, TPZMaterialData::x, and TPZGeoEl::X().
Referenced by SideConnectLocId().
|
overridevirtual |
Compute shape functions based on master element in the classical FEM manne.
[in] | intpoint | point in master element coordinates |
[in] | data | stores all input data |
Reimplemented from TPZInterpolationSpace.
Definition at line 170 of file pzreducedspace.cpp.
References ShapeX().
Referenced by SideConnectLocId().
|
overridevirtual |
Reimplemented from TPZCompEl.
Definition at line 174 of file pzreducedspace.cpp.
References TPZMaterialData::axes, TPZMaterialData::dphix, TPZMaterialData::dsol, TPZMaterialData::phi, and TPZMaterialData::sol.
Referenced by ComputeRequiredData(), and SideConnectLocId().
|
overridevirtual |
Computes solution and its derivatives in local coordinate qsi.
qsi | master element coordinate |
phi | matrix containing shape functions compute in qsi point |
dphix | matrix containing the derivatives of shape functions in the direction of the axes |
axes | axes indicating the direction of the derivatives |
sol | finite element solution |
dsol | solution derivatives |
qsi | master element coordinate |
phi | matrix containing shape functions compute in qsi point |
dphix | matrix containing the derivatives of shape functions in the direction of the axes |
axes | [in] axes indicating the direction of the derivatives |
sol | finite element solution |
dsol | solution derivatives |
Reimplemented from TPZCompEl.
Definition at line 341 of file pzreducedspace.cpp.
References TPZCompMesh::Block(), TPZMatrix< TVar >::Cols(), TPZCompEl::Connect(), DebugStop, TPZVec< T >::Fill(), TPZCompEl::Material(), TPZCompEl::Mesh(), NConnects(), TPZMaterial::NStateVariables(), TPZBlock< TVar >::Position(), TPZManVector< T, NumExtAlloc >::Resize(), TPZMatrix< TVar >::Rows(), TPZConnect::SequenceNumber(), TPZBlock< TVar >::Size(), and TPZCompMesh::Solution().
|
inlineoverridevirtual |
Returns the index of the ith connectivity of the element.
i | connectivity index who want knows |
Implements TPZCompEl.
Definition at line 181 of file pzreducedspace.h.
References DebugStop.
Referenced by InitializeElementMatrix().
|
overridevirtual |
Creates corresponding graphical element(s) if the dimension matches graphical elements are used to generate output files.
graphmesh | graphical mesh where the element will be created |
dimension | target dimension of the graphical element |
Reimplemented from TPZCompEl.
Definition at line 453 of file pzreducedspace.cpp.
References TPZMaterial::Id(), TPZCompEl::Material(), TPZGraphMesh::Material_Is_PostProcessed(), TPZGeoEl::NSides(), and TPZCompEl::Reference().
Referenced by SetPreferredOrder().
|
inlineoverridevirtual |
Dimension of the element.
Implements TPZCompEl.
Definition at line 170 of file pzreducedspace.h.
References ClonePatchEl(), TPZCompEl::Dimension(), and ReferredIntel().
|
inlineoverridevirtual |
Returns a reference to an integration rule suitable for integrating the interior of the element.
Implements TPZInterpolationSpace.
Definition at line 158 of file pzreducedspace.h.
References TPZInterpolationSpace::GetIntegrationRule(), and ReferredIntel().
|
inlineoverridevirtual |
Returns a reference to an integration rule suitable for integrating the interior of the element.
Implements TPZInterpolationSpace.
Definition at line 164 of file pzreducedspace.h.
References TPZInterpolationSpace::GetIntegrationRule(), and ReferredIntel().
|
overridevirtual |
Initialize element matrix in which is computed CalcStiff.
Reimplemented from TPZInterpolationSpace.
Definition at line 217 of file pzreducedspace.cpp.
References TPZCompEl::Connect(), ConnectIndex(), DebugStop, TPZElementMatrix::fBlock, TPZElementMatrix::fConnect, TPZElementMatrix::fMat, TPZCompEl::Material(), NConnects(), TPZConnect::NShape(), NShapeF(), TPZMaterial::NumLoadCases(), TPZFMatrix< TVar >::Redim(), TPZManVector< T, NumExtAlloc >::Resize(), TPZBlock< TVar >::Set(), and TPZBlock< TVar >::SetNBlocks().
Referenced by SideConnectLocId().
|
overridevirtual |
Initialize element matrix in which is computed in CalcResidual.
Reimplemented from TPZInterpolationSpace.
Definition at line 251 of file pzreducedspace.cpp.
References TPZCompEl::Connect(), ConnectIndex(), DebugStop, TPZElementMatrix::fBlock, TPZElementMatrix::fConnect, TPZElementMatrix::fMat, TPZCompEl::Material(), NConnects(), TPZConnect::NShape(), NShapeF(), TPZMaterial::NumLoadCases(), TPZFMatrix< TVar >::Redim(), TPZManVector< T, NumExtAlloc >::Resize(), TPZBlock< TVar >::Set(), and TPZBlock< TVar >::SetNBlocks().
|
overridevirtual |
Initialize a material data and its attributes based on element dimension, number of state variables and material definitions.
Reimplemented from TPZInterpolationSpace.
Definition at line 182 of file pzreducedspace.cpp.
References TPZMaterialData::EVecShape, TPZMaterial::FillDataRequirements(), TPZMaterialData::fShapeType, and TPZCompEl::Material().
Referenced by SideConnectLocId().
|
overridevirtual |
Returns the max order of interpolation.
Reimplemented from TPZInterpolationSpace.
Definition at line 88 of file pzreducedspace.cpp.
References TPZInterpolationSpace::MaxOrder(), and ReferredIntel().
Referenced by SideConnectLocId().
|
inlineoverridevirtual |
Returns the number of nodes of the element.
Implements TPZCompEl.
Definition at line 45 of file pzreducedspace.h.
Referenced by ComputeSolution(), InitializeElementMatrix(), and NSideConnects().
|
overridevirtual |
Returns the number of shapefunctions associated with a connect.
Implements TPZInterpolationSpace.
Definition at line 76 of file pzreducedspace.cpp.
References TPZCompEl::Connect(), DebugStop, and TPZConnect::NShape().
Referenced by SideConnectLocId().
|
overridevirtual |
It returns the shapes number of the element.
Implements TPZInterpolationSpace.
Definition at line 69 of file pzreducedspace.cpp.
References TPZCompEl::Connect(), and TPZConnect::NShape().
Referenced by InitializeElementMatrix(), and SideConnectLocId().
|
inlineoverridevirtual |
Returns the number of dof nodes along side iside.
Implements TPZInterpolationSpace.
Definition at line 51 of file pzreducedspace.h.
References NConnects().
|
inlineoverridevirtual |
Change the preferred order for the element and proceed the adjust of the aproximation space
taking in acount the type of formulation and the neighbours of the element.
Implements TPZInterpolationSpace.
Definition at line 148 of file pzreducedspace.h.
References DebugStop.
|
overridevirtual |
Read the element data from a stream.
Reimplemented from TPZInterpolationSpace.
Definition at line 285 of file pzreducedspace.cpp.
References TPZInterpolationSpace::Read().
Referenced by SideConnectLocId().
|
private |
Definition at line 290 of file pzreducedspace.cpp.
References DebugStop, TPZMultiphysicsElement::Element(), TPZCompEl::Index(), TPZCompEl::Mesh(), and TPZCompMeshReferred::ReferredEl().
Referenced by Dimension(), GetIntegrationRule(), MaxOrder(), SetPreferredOrder(), and ShapeX().
|
static |
Definition at line 416 of file pzreducedspace.cpp.
References TPZCompMesh::ApproxSpace(), CreateReducedElement(), ECube, EOned, EPiramide, EPoint, EPrisma, EQuadrilateral, ETetraedro, ETriangle, and TPZCreateApproximationSpace::SetCreateFunctions().
|
inlineoverridevirtual |
Set the index i to node inode.
inode | node to set index |
index | index to be seted |
Implements TPZCompEl.
Definition at line 152 of file pzreducedspace.h.
|
inlineoverridevirtual |
Defines the desired order for entire element.
Implements TPZInterpolationSpace.
Definition at line 188 of file pzreducedspace.h.
References ClassId(), CreateGraphicalElement(), DebugStop, dimension, PZError, and ReferredIntel().
|
overridevirtual |
Computes the shape function set at the point x.
qsi | point in master element coordinates |
phi | vector of values of shapefunctions, dimension (numshape,1) |
dphi | matrix of derivatives of shapefunctions, dimension (dim,numshape) This method uses the order of interpolation of the element along the sides to compute the number of shapefunctions |
Implements TPZInterpolationSpace.
Definition at line 104 of file pzreducedspace.cpp.
References DebugStop.
Referenced by SideConnectLocId().
|
virtual |
Computes the shape function set at the point x.
qsi | point in master element coordinates |
phi | vector of values of shapefunctions, dimension (numshape,1) |
dphix | matrix of derivatives of shapefunctions, dimension (dim,numshape) |
axes | axes indicating the direction of the derivatives This method uses the order of interpolation of the element along the sides to compute the number of shapefunctions |
qsi | point in master element coordinates |
phi | vector of values of shapefunctions, dimension (numshape,1) |
dphix | matrix of derivatives of shapefunctions, dimension (dim,numshape) This method uses the order of interpolation of the element along the sides to compute the number of shapefunctions |
Definition at line 119 of file pzreducedspace.cpp.
References TPZCompEl::ComputeSolution(), DebugStop, ReferredIntel(), TPZFMatrix< TVar >::Resize(), TPZMatrix< TVar >::Rows(), and TPZVec< T >::size().
Referenced by ComputeRequiredData(), ComputeShape(), and SideConnectLocId().
|
virtual |
Definition at line 145 of file pzreducedspace.cpp.
References TPZMaterialData::axes, TPZCompEl::ComputeSolution(), DebugStop, TPZMaterialData::dphix, TPZMaterialData::dsol, TPZMaterialData::phi, ReferredIntel(), TPZFMatrix< TVar >::Resize(), TPZMatrix< TVar >::Rows(), TPZVec< T >::size(), and TPZMaterialData::sol.
|
inlineoverridevirtual |
Returns the local node number of icon along is.
icon | connect number along side is |
is | side which is being queried |
Implements TPZInterpolationSpace.
Definition at line 61 of file pzreducedspace.h.
References ComputeRequiredData(), ComputeShape(), ComputeSolution(), DebugStop, InitializeElementMatrix(), InitMaterialData(), MaxOrder(), NConnectShapeF(), NShapeF(), Read(), Shape(), ShapeX(), and Write().
|
overridevirtual |
Save the element data to a stream.
Reimplemented from TPZInterpolationSpace.
Definition at line 279 of file pzreducedspace.cpp.
References TPZInterpolationSpace::Write().
Referenced by SideConnectLocId().