KratosMultiphysics
KRATOS Multiphysics (Kratos) is a framework for building parallel, multi-disciplinary simulation software, aiming at modularity, extensibility, and high performance. Kratos is written in C++, and counts with an extensive Python interface.
generic_small_strain_isotropic_damage_plane_stress.h
Go to the documentation of this file.
1 // KRATOS ___ _ _ _ _ _ __ _
2 // / __\___ _ __ ___| |_(_) |_ _ _| |_(_)_ _____ / / __ ___ _____ /_\ _ __ _ __
3 // / / / _ \| '_ \/ __| __| | __| | | | __| \ \ / / _ \/ / / _` \ \ /\ / / __| //_\\| '_ \| '_ |
4 // / /__| (_) | | | \__ \ |_| | |_| |_| | |_| |\ V / __/ /__| (_| |\ V V /\__ \/ _ \ |_) | |_) |
5 // \____/\___/|_| |_|___/\__|_|\__|\__,_|\__|_| \_/ \___\____/\__,_| \_/\_/ |___/\_/ \_/ .__/| .__/
6 // |_| |_|
7 //
8 // License: BSD License
9 // license: structural_mechanics_application/license.txt
10 //
11 // Main author: Alejandro Cornejo
12 //
13 //
14 
15 #pragma once
16 
17 // System includes
18 
19 // External includes
20 
21 // Project includes
23 
24 namespace Kratos
25 {
28 
32 
33  // The size type definition
34  typedef std::size_t SizeType;
35 
39 
43 
47 
55 template <class TConstLawIntegratorType>
56 class KRATOS_API(CONSTITUTIVE_LAWS_APPLICATION) GenericSmallStrainIsotropicDamagePlaneStress
57  : public GenericSmallStrainIsotropicDamage<TConstLawIntegratorType>
58 {
59 public:
62 
65 
75  {
76  }
77 
81  ConstitutiveLaw::Pointer Clone() const override
82  {
83  return Kratos::make_shared<GenericSmallStrainIsotropicDamagePlaneStress<TConstLawIntegratorType>>(*this);
84  }
85 
90  : BaseType(rOther)
91  {
92  }
93 
98  {
99  }
100 
104 
105  Matrix& CalculateValue(
106  ConstitutiveLaw::Parameters &rParameterValues,
107  const Variable<Matrix> &rThisVariable,
108  Matrix &rValue) override;
109 
113 
117 
121 
125 
129 
131 
132 protected:
135 
139 
143 
147 
151 
155 
159 
161 private:
164 
168 
172 
176 
180 
184 
188 
189  // Serialization
190 
191  friend class Serializer;
192 
193  void save(Serializer &rSerializer) const override
194  {
196  }
197 
198  void load(Serializer &rSerializer) override
199  {
201  }
202 
204 
205 };
206 
207 } // namespace Kratos
Definition: constitutive_law.h:47
This class is the base class which define all the constitutive laws for damage in small deformation.
Definition: generic_small_strain_isotropic_damage.h:58
std::conditional< VoigtSize==6, ElasticIsotropic3D, LinearPlaneStrain >::type BaseType
Definition of the base class.
Definition: generic_small_strain_isotropic_damage.h:70
This class is the base class which define all the constitutive laws for damage in plane stress small ...
Definition: generic_small_strain_isotropic_damage_plane_stress.h:58
~GenericSmallStrainIsotropicDamagePlaneStress() override
Definition: generic_small_strain_isotropic_damage_plane_stress.h:97
ConstitutiveLaw::Pointer Clone() const override
Definition: generic_small_strain_isotropic_damage_plane_stress.h:81
KRATOS_CLASS_POINTER_DEFINITION(GenericSmallStrainIsotropicDamagePlaneStress)
GenericSmallStrainIsotropicDamagePlaneStress(const GenericSmallStrainIsotropicDamagePlaneStress &rOther)
Definition: generic_small_strain_isotropic_damage_plane_stress.h:89
GenericSmallStrainIsotropicDamagePlaneStress()
Definition: generic_small_strain_isotropic_damage_plane_stress.h:74
GenericSmallStrainIsotropicDamage< TConstLawIntegratorType > BaseType
Definition of the base class.
Definition: generic_small_strain_isotropic_damage_plane_stress.h:64
The serialization consists in storing the state of an object into a storage format like data file or ...
Definition: serializer.h:123
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
REF: G. R. Cowper, GAUSSIAN QUADRATURE FORMULAS FOR TRIANGLES.
Definition: mesh_condition.cpp:21
std::size_t SizeType
The definition of the size type.
Definition: mortar_classes.h:43
def load(f)
Definition: ode_solve.py:307
Definition: constitutive_law.h:189