7 #ifndef TPZVISCOELASTIC_H 8 #define TPZVISCOELASTIC_H
virtual void ComputeStressTensor(TPZFMatrix< STATE > &Stress, TPZMaterialData &data) const override
Templated vector implementation.
void Write(TPZStream &buf, int withclassid) const override
Saves the element data to a stream.
Implements an abstract class implementing the memory features.
Contains the TPZElasticity3D class which implements a 3D isotropic elasticity material.
void Read(TPZStream &buf, void *context) override
Reads the element data from a stream.
Contains TPZMatrixclass which implements full matrix (using column major representation).
Contains the TPZMatWithMem class which implements the memory features.
int ClassId() const override
Define the class id associated with the class.
STATE fDeltaT
the stability coeficient alpha
STATE fAlpha
the stability coeficient alpha
TPZViscoelastic()
Empty constructor.
virtual int NSolutionVariables(int var) override
Number of data of variable var.
This class implements an isotropic viscoelasticity material.
virtual void FillDataRequirements(TPZMaterialData &data) override
Fill material data parameter with necessary requirements for the Contribute method.
STATE fLambdaV
viscoelasticity coeficients
void UpdateQsi(TPZMaterialData &data)
Defines the interface for saving and reading data. Persistency.
virtual int VariableIndex(const std::string &name) override
Returns index of post-processing variable.
virtual void Contribute(TPZMaterialData &data, REAL weight, TPZFMatrix< REAL > &ek, TPZFMatrix< REAL > &ef)
void SetMaterialDataHooke(STATE ElaE, STATE poissonE, STATE ElaV, STATE poissonV, STATE alpha, STATE deltaT, TPZVec< STATE > &force)
Set material Data with hooke constants.
virtual void Solution(TPZMaterialData &data, int var, TPZVec< STATE > &Solout) override
Returns the solution associated with the var index based on the finite element approximation.