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.
beam_constitutive_law.h
Go to the documentation of this file.
1 // KRATOS ___| | | |
2 // \___ \ __| __| | | __| __| | | __| _` | |
3 // | | | | | ( | | | | ( | |
4 // _____/ \__|_| \__,_|\___|\__|\__,_|_| \__,_|_| MECHANICS
5 //
6 // License: BSD License
7 // license: StructuralMechanicsApplication/license.txt
8 //
9 // Main authors: Vicente Mataix Ferrandiz
10 //
11 
12 #pragma once
13 
14 // System includes
15 
16 // External includes
17 
18 // Project includes
20 
21 namespace Kratos
22 {
23 
24 
25 class KRATOS_API(STRUCTURAL_MECHANICS_APPLICATION) BeamConstitutiveLaw : public ConstitutiveLaw
26 {
27 public:
33  typedef std::size_t SizeType;
39 
48 
49  ConstitutiveLaw::Pointer Clone() const override;
50 
55 
56 
60  ~BeamConstitutiveLaw() override;
61 
74  void GetLawFeatures(Features& rFeatures) override;
75 
79  SizeType GetStrainSize() const override
80  {
81  return 1;
82  }
83 
93  int Check(
94  const Properties& rMaterialProperties,
95  const GeometryType& rElementGeometry,
96  const ProcessInfo& rCurrentProcessInfo
97  ) const override;
98 
99 protected:
100 
103 
107 
111 
116 
117 private:
118 
121 
125 
129 
134 
135 
140 
144  friend class Serializer;
145 
146  void save(Serializer& rSerializer) const override
147  {
149  }
150 
151  void load(Serializer& rSerializer) override
152  {
154  }
155 
156 
157 }; // Class BeamConstitutiveLaw
158 } // namespace Kratos.
Definition: beam_constitutive_law.h:26
SizeType GetStrainSize() const override
Definition: beam_constitutive_law.h:79
ConstitutiveLaw BaseType
Definition: beam_constitutive_law.h:32
KRATOS_CLASS_POINTER_DEFINITION(BeamConstitutiveLaw)
ProcessInfo ProcessInfoType
Definition: beam_constitutive_law.h:31
std::size_t SizeType
Definition: beam_constitutive_law.h:33
Definition: constitutive_law.h:47
std::size_t SizeType
Definition: constitutive_law.h:82
Geometry base class.
Definition: geometry.h:71
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
#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
Definition: constitutive_law.h:137