30 virtual std::string
Name()
override {
return "nonlinear_1dMaterial"; }
39 virtual void Print(std::ostream &out = std::cout)
override;
87 virtual int ClassId()
const override;
virtual void Solution(TPZMaterialData &data, int var, TPZVec< STATE > &Solout)
Returns the solution associated with the var index based on the finite element approximation.
virtual ~TPZNLMat1d()
Default destructor.
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.
clarg::argBool bc("-bc", "binary checkpoints", false)
virtual int ClassId() const override
To create another material of the same type.
REAL fE
Young's modulus.
REAL fArea
Cross Section Area.
This abstract class defines the behaviour which each derived class needs to implement.
virtual std::string Name() override
Returns the name of the material.
This class defines the boundary condition for TPZMaterial objects.
virtual int Dimension() const override
Returns the integrable dimension of the material: Material is 1d.
virtual void ContributeBC(TPZMaterialData &data, REAL weight, TPZFMatrix< STATE > &ek, TPZFMatrix< STATE > &ef, TPZBndCond &bc)=0
It computes a contribution to the stiffness matrix and load vector at one BC integration point...
virtual void ContributeBC(TPZMaterialData &data, REAL weight, TPZFMatrix< STATE > &ef, TPZBndCond &bc) override
Computes contribution to load vector (right hand side) at the integration point of a boundary...
virtual STATE Eps(TPZVec< STATE > &sol, TPZFMatrix< REAL > &axes, TPZFMatrix< REAL > &dphi)=0
TPZNLMat1d(int id)
Simple constructor.
virtual void ContributeBC(TPZMaterialData &data, REAL weight, TPZFMatrix< STATE > &ek, TPZFMatrix< STATE > &ef, TPZBndCond &bc) override
Computes contribution to the right hand side at an integration point.
virtual void Contribute(TPZMaterialData &data, REAL weight, TPZFMatrix< STATE > &ek, TPZFMatrix< STATE > &ef) override
Computes contribution to the stiffness matrix and right hand side at an integration point...
virtual int NStateVariables() const override
Returns the number of state variables associated with the material: Only w?
virtual void Print(std::ostream &out=std::cout) override
Prints out the data associated with the material.
Virtual class that implements the whole structure for evaluta non linear truss elements.