76 ConstitutiveLaw::Pointer pPlasticityLaw,
77 ConstitutiveLaw::Pointer pViscousLaw) : mpPlasticityConstitutiveLaw(pPlasticityLaw), mpViscousConstitutiveLaw(pViscousLaw)
84 ConstitutiveLaw::Pointer
Clone()
const override
86 auto p_law = Kratos::make_shared<GenericSmallStrainViscoplasticity3D>(*
this);
88 p_law->SetPlasticityConstitutiveLaw(mpPlasticityConstitutiveLaw->Clone());
89 p_law->SetViscousConstitutiveLaw(mpViscousConstitutiveLaw->Clone());
96 :
ConstitutiveLaw(rOther), mpPlasticityConstitutiveLaw(rOther.mpPlasticityConstitutiveLaw), mpViscousConstitutiveLaw(rOther.mpViscousConstitutiveLaw)
170 void FinalizeSolutionStep(
173 const Vector &rShapeFunctionsValues,
222 double &CalculateValue(
225 double &rValue)
override;
259 return mpPlasticityConstitutiveLaw;
264 mpPlasticityConstitutiveLaw = pPlasticityConstitutiveLaw;
269 return mpViscousConstitutiveLaw;
274 mpViscousConstitutiveLaw = pViscousConstitutiveLaw;
302 ConstitutiveLaw::Pointer mpPlasticityConstitutiveLaw;
303 ConstitutiveLaw::Pointer mpViscousConstitutiveLaw;
318 void CalculateElasticMatrix(
319 Matrix &rElasticityTensor,
338 void save(
Serializer &rSerializer)
const override
341 rSerializer.
save(
"PlasticityConstitutiveLaw", mpPlasticityConstitutiveLaw);
342 rSerializer.
save(
"ViscousConstitutiveLaw", mpViscousConstitutiveLaw);
348 rSerializer.
load(
"PlasticityConstitutiveLaw", mpPlasticityConstitutiveLaw);
349 rSerializer.
load(
"ViscousConstitutiveLaw", mpViscousConstitutiveLaw);
Definition: constitutive_law.h:47
std::size_t SizeType
Definition: constitutive_law.h:82
Definition: generic_small_strain_viscoplasticity_3d.h:53
ConstitutiveLaw::Pointer GetViscousConstitutiveLaw()
Definition: generic_small_strain_viscoplasticity_3d.h:267
bool RequiresInitializeMaterialResponse() override
If the CL requires to initialize the material response, called by the element in InitializeSolutionSt...
Definition: generic_small_strain_viscoplasticity_3d.h:217
KRATOS_CLASS_POINTER_DEFINITION(GenericSmallStrainViscoplasticity3D)
Counted pointer of GenericSmallStrainViscoplasticity3D.
GenericSmallStrainViscoplasticity3D(GenericSmallStrainViscoplasticity3D const &rOther)
Definition: generic_small_strain_viscoplasticity_3d.h:95
ConstitutiveLaw::Pointer GetPlasticityConstitutiveLaw()
Definition: generic_small_strain_viscoplasticity_3d.h:257
GenericSmallStrainViscoplasticity3D()
Definition: generic_small_strain_viscoplasticity_3d.h:68
ConstitutiveLaw::Pointer Clone() const override
Definition: generic_small_strain_viscoplasticity_3d.h:84
SizeType WorkingSpaceDimension() override
Dimension of the law:
Definition: generic_small_strain_viscoplasticity_3d.h:125
GenericSmallStrainViscoplasticity3D(ConstitutiveLaw::Pointer pPlasticityLaw, ConstitutiveLaw::Pointer pViscousLaw)
Definition: generic_small_strain_viscoplasticity_3d.h:75
void SetPlasticityConstitutiveLaw(ConstitutiveLaw::Pointer pPlasticityConstitutiveLaw)
Definition: generic_small_strain_viscoplasticity_3d.h:262
bool RequiresFinalizeMaterialResponse() override
If the CL requires to initialize the material response, called by the element in InitializeSolutionSt...
Definition: generic_small_strain_viscoplasticity_3d.h:209
void SetViscousConstitutiveLaw(ConstitutiveLaw::Pointer pViscousConstitutiveLaw)
Definition: generic_small_strain_viscoplasticity_3d.h:272
~GenericSmallStrainViscoplasticity3D() override
Definition: generic_small_strain_viscoplasticity_3d.h:103
SizeType GetStrainSize() const override
Voigt tensor size:
Definition: generic_small_strain_viscoplasticity_3d.h:133
Geometry base class.
Definition: geometry.h:71
This class provides to Kratos a data structure for I/O based on the standard of JSON.
Definition: kratos_parameters.h:59
ProcessInfo holds the current value of different solution parameters.
Definition: process_info.h:59
Properties encapsulates data shared by different Elements or Conditions. It can store any type of dat...
Definition: properties.h:69
The serialization consists in storing the state of an object into a storage format like data file or ...
Definition: serializer.h:123
void load(std::string const &rTag, TDataType &rObject)
Definition: serializer.h:207
void save(std::string const &rTag, std::array< TDataType, TDataSize > const &rObject)
Definition: serializer.h:545
Variable class contains all information needed to store and retrive data from a data container.
Definition: variable.h:63
#define KRATOS_SERIALIZE_SAVE_BASE_CLASS(Serializer, BaseType)
Definition: define.h:812
#define KRATOS_SERIALIZE_LOAD_BASE_CLASS(Serializer, BaseType)
Definition: define.h:815
Modeler::Pointer Create(const std::string &ModelerName, Model &rModel, const Parameters ModelParameters)
Checks if the modeler is registered.
Definition: modeler_factory.cpp:30
bool Has(const std::string &ModelerName)
Checks if the modeler is registered.
Definition: modeler_factory.cpp:24
Parameters GetValue(Parameters &rParameters, const std::string &rEntry)
Definition: add_kratos_parameters_to_python.cpp:53
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
def load(f)
Definition: ode_solve.py:307
Definition: constitutive_law.h:189