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.
multi_linear_elastic_1d_law.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 authors: Klaus B. Sautter
12 //
13 
14 #pragma once
15 
16 // Project includes
18 
19 namespace Kratos
20 {
21 
38  class KRATOS_API(CONSTITUTIVE_LAWS_APPLICATION) MultiLinearElastic1DLaw : public TrussConstitutiveLaw
39  {
40  public:
41 
43 
48 
49  ConstitutiveLaw::Pointer Clone() const override;
50 
55 
56 
60  ~MultiLinearElastic1DLaw() override;
61 
71  int Check(
72  const Properties& rMaterialProperties,
73  const GeometryType& rElementGeometry,
74  const ProcessInfo& rCurrentProcessInfo
75  ) const override;
76 
77  double& CalculateValue(ConstitutiveLaw::Parameters& rParameterValues,
78  const Variable<double>& rThisVariable,double& rValue) override;
79 
80  private:
81 
82  friend class Serializer;
83 
84  void save(Serializer& rSerializer) const override
85  {
87  }
88 
89  void load(Serializer& rSerializer) override
90  {
92  }
93 
94 
95  }; // Class MultiLinearElastic1DLaw
96 
97 } // namespace Kratos.
Geometry base class.
Definition: geometry.h:71
KRATOS_CLASS_POINTER_DEFINITION(MultiLinearElastic1DLaw)
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
This constitutive law represents a multi linear elastic 1d claw.
This constitutive law represents a linear elastic 1D law.
def load(f)
Definition: ode_solve.py:307
Definition: constitutive_law.h:189