NeoPZ
Public Member Functions | Protected Attributes | List of all members
TPZMatTemporal Class Reference

#include <TPZMatTemporal.h>

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

Public Member Functions

 TPZMatTemporal ()
 
virtual ~TPZMatTemporal ()
 
virtual void SetDeltaT (const REAL deltaT)
 
virtual void SetContributionTime (TPZContributeTime time)
 
int ClassId () const override
 
- Public Member Functions inherited from TPZMaterialData
 TPZMaterialData ()
 Default constructor. More...
 
 TPZMaterialData (const TPZMaterialData &cp)
 Copy constructor. More...
 
 ~TPZMaterialData ()
 Default destructor. More...
 
void SetAllRequirements (bool set)
 Set all flags at once. More...
 
TPZMaterialDataoperator= (const TPZMaterialData &cp)
 
void Print (std::ostream &out) const
 Prints the data. More...
 
void PrintMathematica (std::ostream &out) const
 Prints the data in a format suitable for Mathematica. More...
 
void Write (TPZStream &buf, int withclassid) const override
 Saves the element data to a stream. More...
 
void Read (TPZStream &buf, void *context) override
 Reads the element data from a stream. More...
 
virtual bool Compare (TPZSavable *copy, bool override=false) override
 Compares the object for identity with the object pointed to, eventually copy the object. More...
 
virtual bool Compare (TPZSavable *copy, bool override=false) const override
 Compares the object for identity with the object pointed to, eventually copy the object. More...
 
void ComputeFluxValues (TPZFMatrix< REAL > &fluxes)
 Computes the flux values based on a Material of Hdiv approx space. More...
 
void ComputeFunctionDivergence ()
 Computes the flux divergence values based on a Material of Hdiv approx space. 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
 
- Public Member Functions inherited from TPZRegisterClassId
template<typename T >
 TPZRegisterClassId (int(T::*)() const)
 
 TPZRegisterClassId ()=default
 

Protected Attributes

REAL fDeltaT
 
TPZContributeTime fTime
 

Additional Inherited Members

- Public Types inherited from TPZMaterialData
enum  MShapeFunctionType { EEmpty, EScalarShape, EVecandShape, EVecShape }
 
- 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)
 
- Public Attributes inherited from TPZMaterialData
MShapeFunctionType fShapeType
 
int intLocPtIndex
 Index of the current integration point being evaluated. More...
 
int intGlobPtIndex
 global point index More...
 
int NintPts
 amount of points in the integrstion rule More...
 
bool fNeedsSol
 
bool fNeedsNeighborSol
 
bool fNeedsHSize
 
bool fNeedsNeighborCenter
 
bool fNeedsNormalVecFad
 
bool fNeedsNormal
 
bool fActiveApproxSpace
 
TPZFNMatrix< 220, REAL > phi
 vector of shapefunctions (format is dependent on the value of shapetype) More...
 
TPZFNMatrix< 660, REAL > dphi
 values of the derivative of the shape functions over the master element More...
 
TPZFNMatrix< 660, REAL > dphix
 values of the derivative of the shape functions More...
 
TPZFNMatrix< 220, REAL > divphi
 values of the divergence of the shapefunctions in the mapped element (only applicable to H(div)) spaces More...
 
TPZFNMatrix< 9, REAL > axes
 axes indicating the directions of the derivatives of the shapefunctions More...
 
TPZFNMatrix< 9, REAL > jacobian
 value of the jacobian at the integration point More...
 
TPZFNMatrix< 9, REAL > jacinv
 value of the inverse of the jacobian at the integration point More...
 
TPZManVector< REAL, 3 > normal
 normal to the element at the integration point More...
 
TPZManVector< REAL, 3 > x
 value of the coordinate at the integration point More...
 
TPZManVector< REAL, 3 > xParametric
 value of the coordinate at the integration point corresponding to the x-parametric coordinate (master element) More...
 
int p
 maximum polinomial order of the shape functions More...
 
TPZSolVec sol
 vector of the solutions at the integration point More...
 
TPZGradSolVec dsol
 vector of the derivatives of the solution at the integration point More...
 
TPZSolVec divsol
 vector of the divergence of the solution at the integration point (only of hdiv spaces) More...
 
REAL HSize
 measure of the size of the element More...
 
REAL detjac
 determinant of the jacobian More...
 
TPZManVector< REAL, 3 > XCenter
 value of the coordinate at the center of the element More...
 
TPZFNMatrix< 180 > fDirectionsOnMaster
 Directions on the master element. More...
 
int numberdualfunctions
 number of dual function (e.g. pressure in HDiv approximations) More...
 
int gelElId
 
TPZManVector< std::pair< int, int64_t > > fVecShapeIndex
 correspondence between normal vector index and index of the shape functions More...
 
TPZFNMatrix< 180 > fNormalVec
 list of normal vectors More...
 

Detailed Description

Interface setup for all classes involving temporal behaviour

Definition at line 14 of file TPZMatTemporal.h.

Constructor & Destructor Documentation

◆ TPZMatTemporal()

TPZMatTemporal::TPZMatTemporal ( )
inline

Definition at line 17 of file TPZMatTemporal.h.

◆ ~TPZMatTemporal()

virtual TPZMatTemporal::~TPZMatTemporal ( )
inlinevirtual

Definition at line 20 of file TPZMatTemporal.h.

Member Function Documentation

◆ ClassId()

int TPZMatTemporal::ClassId ( ) const
overridevirtual

Whether to compute the initial solution vector based on a constant initial value

Reimplemented from TPZMaterialData.

Definition at line 4 of file TPZMatTemporal.cpp.

References TPZMaterialData::ClassId(), and Hash().

Referenced by TPZMatPorous< T, TMEM >::ClassId().

◆ SetContributionTime()

virtual void TPZMatTemporal::SetContributionTime ( TPZContributeTime  time)
inlinevirtual

Definition at line 26 of file TPZMatTemporal.h.

Referenced by TPZPoroElastoPlasticAnalysis::SetContributionTime().

◆ SetDeltaT()

virtual void TPZMatTemporal::SetDeltaT ( const REAL  deltaT)
inlinevirtual

Definition at line 23 of file TPZMatTemporal.h.

References fDeltaT.

Referenced by TPZPoroElastoPlasticAnalysis::SetDeltaT().

Member Data Documentation

◆ fDeltaT

REAL TPZMatTemporal::fDeltaT
protected

◆ fTime

TPZContributeTime TPZMatTemporal::fTime
protected

Some materials require double temporal contributions in order to contribute converged (Last_CT) and current (Advanced_CT) in the temporal scheme.

Definition at line 40 of file TPZMatTemporal.h.

Referenced by TPZMatPorous< T, TMEM >::Contribute(), and TPZMatPorous< T, TMEM >::TPZMatPorous().


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