104 ConstitutiveLaw::Pointer Clone()
const override;
117 SizeType WorkingSpaceDimension()
override;
123 SizeType GetStrainSize()
const override;
133 return mpConstitutiveLaw->Has(rThisVariable);
143 return mpConstitutiveLaw->Has(rThisVariable);
153 return mpConstitutiveLaw->Has(rThisVariable);
163 return mpConstitutiveLaw->Has(rThisVariable);
173 return mpConstitutiveLaw->Has(rThisVariable);
183 return mpConstitutiveLaw->Has(rThisVariable);
193 return mpConstitutiveLaw->Has(rThisVariable);
204 mpConstitutiveLaw->GetValue(rThisVariable,rValue);
216 mpConstitutiveLaw->GetValue(rThisVariable,rValue);
228 mpConstitutiveLaw->GetValue(rThisVariable,rValue);
240 mpConstitutiveLaw->GetValue(rThisVariable,rValue);
252 mpConstitutiveLaw->GetValue(rThisVariable,rValue);
264 mpConstitutiveLaw->GetValue(rThisVariable,rValue);
277 mpConstitutiveLaw->GetValue(rThisVariable,rValue);
289 bool& rValue)
override
291 mpConstitutiveLaw->CalculateValue(rParameterValues,rThisVariable,rValue);
305 mpConstitutiveLaw->CalculateValue(rParameterValues,rThisVariable,rValue);
319 mpConstitutiveLaw->CalculateValue(rParameterValues,rThisVariable,rValue);
333 mpConstitutiveLaw->CalculateValue(rParameterValues,rThisVariable,rValue);
347 mpConstitutiveLaw->CalculateValue(rParameterValues,rThisVariable,rValue);
361 mpConstitutiveLaw->CalculateValue(rParameterValues,rThisVariable,rValue);
375 mpConstitutiveLaw->CalculateValue(rParameterValues,rThisVariable,rValue);
388 mpConstitutiveLaw->SetValue(rThisVariable, rValue, rCurrentProcessInfo);
400 mpConstitutiveLaw->SetValue(rThisVariable, rValue, rCurrentProcessInfo);
412 mpConstitutiveLaw->SetValue(rThisVariable, rValue, rCurrentProcessInfo);
424 mpConstitutiveLaw->SetValue(rThisVariable, rValue, rCurrentProcessInfo);
436 mpConstitutiveLaw->SetValue(rThisVariable, rValue, rCurrentProcessInfo);
448 mpConstitutiveLaw->SetValue(rThisVariable, rValue, rCurrentProcessInfo);
460 mpConstitutiveLaw->SetValue(rThisVariable, rValue, rCurrentProcessInfo);
471 void InitializeMaterial(
474 const Vector& rShapeFunctionsValues
482 void CalculateMaterialResponsePK2 (
Parameters& rValues)
override;
488 void InitializeMaterialResponsePK2 (
Parameters& rValues)
override;
495 void FinalizeMaterialResponsePK2 (
Parameters& rValues)
override;
509 const Vector& rShapeFunctionsValues
516 void GetLawFeatures(Features& rFeatures)
override;
539 void PrincipalVector(
Vector& rPrincipalVector,
const Vector& rNonPrincipalVector);
548 void CheckWrinklingState(WrinklingType& rWrinklingState,
const Vector& rStress,
const Vector& rStrain,
549 Vector& rWrinklingDirectionVector);
579 ConstitutiveLaw::Pointer mpConstitutiveLaw;
601 void save(
Serializer& rSerializer)
const override
604 rSerializer.
save(
"ConstitutiveLaw", mpConstitutiveLaw);
610 rSerializer.
load(
"ConstitutiveLaw", mpConstitutiveLaw);
Definition: constitutive_law.h:47
std::size_t SizeType
Definition: constitutive_law.h:82
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
This law defines a wrinkling modification for any linear 2D claw.
Definition: wrinkling_linear_2d_law.h:51
double & GetValue(const Variable< double > &rThisVariable, double &rValue) override
Returns the value of a specified variable (double)
Definition: wrinkling_linear_2d_law.h:226
bool Has(const Variable< int > &rThisVariable) override
Returns whether this constitutive Law has specified variable (int)
Definition: wrinkling_linear_2d_law.h:141
int & CalculateValue(Parameters &rParameterValues, const Variable< int > &rThisVariable, int &rValue) override
Calculates the value of a specified variable (int)
Definition: wrinkling_linear_2d_law.h:302
void SetValue(const Variable< int > &rThisVariable, const int &rValue, const ProcessInfo &rCurrentProcessInfo) override
Sets the value of a specified variable (int)
Definition: wrinkling_linear_2d_law.h:397
bool Has(const Variable< array_1d< double, 3 > > &rThisVariable) override
Returns whether this constitutive Law has specified variable (array_1d<double, 3 >)
Definition: wrinkling_linear_2d_law.h:181
WrinklingType
Definition: wrinkling_linear_2d_law.h:69
ConstitutiveLaw BaseType
The definition of the CL base class.
Definition: wrinkling_linear_2d_law.h:61
void SetValue(const Variable< Matrix > &rThisVariable, const Matrix &rValue, const ProcessInfo &rCurrentProcessInfo) override
Sets the value of a specified variable (Matrix)
Definition: wrinkling_linear_2d_law.h:433
ProcessInfo ProcessInfoType
The definition of the process info.
Definition: wrinkling_linear_2d_law.h:58
void SetValue(const Variable< Vector > &rThisVariable, const Vector &rValue, const ProcessInfo &rCurrentProcessInfo) override
Sets the value of a specified variable (Vector)
Definition: wrinkling_linear_2d_law.h:421
array_1d< double, 6 > & CalculateValue(Parameters &rParameterValues, const Variable< array_1d< double, 6 >> &rThisVariable, array_1d< double, 6 > &rValue) override
Calculates the value of a specified variable (array_1d<double, 6 >)
Definition: wrinkling_linear_2d_law.h:372
KRATOS_CLASS_POINTER_DEFINITION(WrinklingLinear2DLaw)
Pointer definition of WrinklingLinear2DLaw.
void SetValue(const Variable< bool > &rThisVariable, const bool &rValue, const ProcessInfo &rCurrentProcessInfo) override
Sets the value of a specified variable (boolean)
Definition: wrinkling_linear_2d_law.h:385
void SetValue(const Variable< array_1d< double, 6 >> &rThisVariable, const array_1d< double, 6 > &rValue, const ProcessInfo &rCurrentProcessInfo) override
Sets the value of a specified variable (array_1d<double, 6 > )
Definition: wrinkling_linear_2d_law.h:457
bool Has(const Variable< double > &rThisVariable) override
Returns whether this constitutive Law has specified variable (double)
Definition: wrinkling_linear_2d_law.h:151
bool & GetValue(const Variable< bool > &rThisVariable, bool &rValue) override
Returns the value of a specified variable (bool)
Definition: wrinkling_linear_2d_law.h:202
bool Has(const Variable< Matrix > &rThisVariable) override
Returns whether this constitutive Law has specified variable (Matrix)
Definition: wrinkling_linear_2d_law.h:171
bool Has(const Variable< Vector > &rThisVariable) override
Returns whether this constitutive Law has specified variable (Vector)
Definition: wrinkling_linear_2d_law.h:161
Vector & GetValue(const Variable< Vector > &rThisVariable, Vector &rValue) override
Returns the value of a specified variable (Vector)
Definition: wrinkling_linear_2d_law.h:238
array_1d< double, 6 > & GetValue(const Variable< array_1d< double, 6 >> &rThisVariable, array_1d< double, 6 > &rValue) override
Returns the value of a specified variable (array_1d<double, 6 > )
Definition: wrinkling_linear_2d_law.h:275
double & CalculateValue(ConstitutiveLaw::Parameters &rParameterValues, const Variable< double > &rThisVariable, double &rValue) override
Calculates the value of a specified variable (double)
Definition: wrinkling_linear_2d_law.h:316
bool & CalculateValue(Parameters &rParameterValues, const Variable< bool > &rThisVariable, bool &rValue) override
Calculates the value of a specified variable (bool)
Definition: wrinkling_linear_2d_law.h:288
int & GetValue(const Variable< int > &rThisVariable, int &rValue) override
Returns the value of a specified variable (int)
Definition: wrinkling_linear_2d_law.h:214
array_1d< double, 3 > & GetValue(const Variable< array_1d< double, 3 >> &rThisVariable, array_1d< double, 3 > &rValue) override
Returns the value of a specified variable (array_1d<double, 3 > )
Definition: wrinkling_linear_2d_law.h:262
~WrinklingLinear2DLaw() override=default
Destructor.
Matrix & CalculateValue(ConstitutiveLaw::Parameters &rParameterValues, const Variable< Matrix > &rThisVariable, Matrix &rValue) override
Calculates the value of a specified variable (Matrix)
Definition: wrinkling_linear_2d_law.h:344
std::size_t SizeType
The definition of the size type.
Definition: wrinkling_linear_2d_law.h:64
Matrix & GetValue(const Variable< Matrix > &rThisVariable, Matrix &rValue) override
Returns the value of a specified variable (Matrix)
Definition: wrinkling_linear_2d_law.h:250
Vector & CalculateValue(ConstitutiveLaw::Parameters &rParameterValues, const Variable< Vector > &rThisVariable, Vector &rValue) override
Calculates the value of a specified variable (Vector)
Definition: wrinkling_linear_2d_law.h:330
array_1d< double, 3 > & CalculateValue(Parameters &rParameterValues, const Variable< array_1d< double, 3 >> &rThisVariable, array_1d< double, 3 > &rValue) override
Calculates the value of a specified variable (array_1d<double, 3 >)
Definition: wrinkling_linear_2d_law.h:358
bool Has(const Variable< array_1d< double, 6 > > &rThisVariable) override
Returns whether this constitutive Law has specified variable (array_1d<double, 6 >)
Definition: wrinkling_linear_2d_law.h:191
void SetValue(const Variable< array_1d< double, 3 >> &rThisVariable, const array_1d< double, 3 > &rValue, const ProcessInfo &rCurrentProcessInfo) override
Sets the value of a specified variable (array_1d<double, 3 > )
Definition: wrinkling_linear_2d_law.h:445
bool Has(const Variable< bool > &rThisVariable) override
Returns whether this constitutive Law has specified variable (bool)
Definition: wrinkling_linear_2d_law.h:131
void SetValue(const Variable< double > &rThisVariable, const double &rValue, const ProcessInfo &rCurrentProcessInfo) override
Sets the value of a specified variable (double)
Definition: wrinkling_linear_2d_law.h:409
#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
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