21 #include "custom_constitutive/linear_plane_strain.h"
56 template <
class TConstLawIntegratorType>
58 :
public std::conditional<TConstLawIntegratorType::VoigtSize == 6, ElasticIsotropic3D, LinearPlaneStrain >
::type
65 static constexpr
SizeType Dimension = TConstLawIntegratorType::Dimension;
68 static constexpr
SizeType VoigtSize = TConstLawIntegratorType::VoigtSize;
83 static constexpr
double tolerance = std::numeric_limits<double>::epsilon();
99 ConstitutiveLaw::Pointer
Clone()
const override
101 return Kratos::make_shared<GenericSmallStrainOrthotropicDamage<TConstLawIntegratorType>>(*this);
109 mDamages(rOther.mDamages),
110 mThresholds(rOther.mThresholds)
160 void InitializeMaterial(
163 const Vector& rShapeFunctionsValues
278 double& CalculateValue(
281 double& rValue)
override;
436 void save(
Serializer &rSerializer)
const override
439 rSerializer.
save(
"Damages", mDamages);
440 rSerializer.
save(
"Thresholds", mThresholds);
446 rSerializer.
load(
"Damages", mDamages);
447 rSerializer.
load(
"Thresholds", mThresholds);
Definition: constitutive_law.h:47
This class defines an small strain orthotropic damage model developed by Cervera et....
Definition: generic_small_strain_orthotropic_damage.h:59
Vector & GetDamages()
Definition: generic_small_strain_orthotropic_damage.h:382
~GenericSmallStrainOrthotropicDamage() override
Definition: generic_small_strain_orthotropic_damage.h:117
std::conditional< VoigtSize==6, ElasticIsotropic3D, LinearPlaneStrain >::type BaseType
Definition of the base class.
Definition: generic_small_strain_orthotropic_damage.h:71
bool RequiresFinalizeMaterialResponse() override
If the CL requires to initialize the material response, called by the element in InitializeSolutionSt...
Definition: generic_small_strain_orthotropic_damage.h:258
bool RequiresInitializeMaterialResponse() override
If the CL requires to initialize the material response, called by the element in InitializeSolutionSt...
Definition: generic_small_strain_orthotropic_damage.h:266
Geometry< NodeType > GeometryType
The geometry definition.
Definition: generic_small_strain_orthotropic_damage.h:80
Vector & GetThresholds()
Definition: generic_small_strain_orthotropic_damage.h:381
Node NodeType
The node definition.
Definition: generic_small_strain_orthotropic_damage.h:77
void SetThresholds(const Vector &rToThresholds)
Definition: generic_small_strain_orthotropic_damage.h:384
GenericSmallStrainOrthotropicDamage()
Definition: generic_small_strain_orthotropic_damage.h:92
GenericSmallStrainOrthotropicDamage(const GenericSmallStrainOrthotropicDamage &rOther)
Definition: generic_small_strain_orthotropic_damage.h:107
void SetDamages(const Vector &rToDamages)
Definition: generic_small_strain_orthotropic_damage.h:385
ConstitutiveLaw::Pointer Clone() const override
Definition: generic_small_strain_orthotropic_damage.h:99
KRATOS_CLASS_POINTER_DEFINITION(GenericSmallStrainOrthotropicDamage)
Counted pointer of GenericYieldSurface.
Geometry base class.
Definition: geometry.h:71
This class defines the node.
Definition: node.h:65
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
#define KRATOS_SERIALIZE_SAVE_BASE_CLASS(Serializer, BaseType)
Definition: define.h:812
#define KRATOS_SERIALIZE_LOAD_BASE_CLASS(Serializer, BaseType)
Definition: define.h:815
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
KratosZeroVector< double > ZeroVector
Definition: amatrix_interface.h:561
std::size_t SizeType
The definition of the size type.
Definition: mortar_classes.h:43
def SetValue(entity, variable, value)
Definition: coupling_interface_data.py:256
type
Definition: generate_gid_list_file.py:35
def load(f)
Definition: ode_solve.py:307
Definition: constitutive_law.h:189