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.
elastoplastic_mod_mohr_coulomb_cohesive_2D_law.hpp
Go to the documentation of this file.
1 // | / |
2 // ' / __| _` | __| _ \ __|
3 // . \ | ( | | ( |\__ `
4 // _|\_\_| \__,_|\__|\___/ ____/
5 // Multi-Physics
6 //
7 // License: BSD License
8 // Kratos default license: kratos/license.txt
9 //
10 // Main authors: Danilo Cavalcanti and Ignasi de Pouplana
11 //
12 
13 #if !defined (KRATOS_ELASTOPLASTIC_MODIFIED_MOHRCOULOMB_COHESIVE_2D_LAW_H_INCLUDED)
14 #define KRATOS_ELASTOPLASTIC_MODIFIED_MOHRCOULOMB_COHESIVE_2D_LAW_H_INCLUDED
15 
16 // Project includes
17 #include "includes/serializer.h"
18 
19 // Application includes
22 
23 namespace Kratos
24 {
25 
26 class KRATOS_API(POROMECHANICS_APPLICATION) ElastoPlasticModMohrCoulombCohesive2DLaw : public ElastoPlasticModMohrCoulombCohesive3DLaw
27 {
28 
29 public:
30 
32 
33 //----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
34 
35  // Default Constructor
37  {
38  }
39 
40  ConstitutiveLaw::Pointer Clone() const override
41  {
42  return Kratos::make_shared<ElastoPlasticModMohrCoulombCohesive2DLaw>(ElastoPlasticModMohrCoulombCohesive2DLaw(*this));
43  }
44 
45  // Copy Constructor
47  {
48  }
49 
50  // Destructor
52  {
53  }
54 
55 //----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
56 
57  void GetLawFeatures(Features& rFeatures) override;
58 
59  void InitializeMaterial( const Properties& rMaterialProperties,const GeometryType& rElementGeometry,const Vector& rShapeFunctionsValues ) override;
60 
61 //----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
62 
63 protected:
64 
65  // Member Variables
66 
67 //----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
68 
69  double GetShearResultantStressVector(Vector& StressVector) override;
70 
71  void GetElasticConstitutiveMatrix(Matrix& rElasticConstitutiveMatrix, ConstitutiveLawVariables& rVariables, Parameters& rValues) override;
72 
73 //----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
74 
75 private:
76 
77  // Serialization
78 
79  friend class Serializer;
80 
81  void save(Serializer& rSerializer) const override
82  {
84  }
85 
86  void load(Serializer& rSerializer) override
87  {
89  }
90 
91 }; // Class ElastoPlasticModMohrCoulombCohesive2DLaw
92 } // namespace Kratos.
93 #endif // KRATOS_ELASTOPLASTIC_MODIFIED_MOHRCOULOMB_COHESIVE_2D_LAW_H_INCLUDED defined
Definition: constitutive_law.h:47
Definition: elastoplastic_mod_mohr_coulomb_cohesive_2D_law.hpp:27
ElastoPlasticModMohrCoulombCohesive2DLaw(const ElastoPlasticModMohrCoulombCohesive2DLaw &rOther)
Definition: elastoplastic_mod_mohr_coulomb_cohesive_2D_law.hpp:46
~ElastoPlasticModMohrCoulombCohesive2DLaw() override
Definition: elastoplastic_mod_mohr_coulomb_cohesive_2D_law.hpp:51
ConstitutiveLaw::Pointer Clone() const override
Clone function (has to be implemented by any derived class)
Definition: elastoplastic_mod_mohr_coulomb_cohesive_2D_law.hpp:40
ElastoPlasticModMohrCoulombCohesive2DLaw()
Definition: elastoplastic_mod_mohr_coulomb_cohesive_2D_law.hpp:36
KRATOS_CLASS_POINTER_DEFINITION(ElastoPlasticModMohrCoulombCohesive2DLaw)
Definition: elastoplastic_mod_mohr_coulomb_cohesive_3D_law.hpp:32
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
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
#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
def load(f)
Definition: ode_solve.py:307