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.
linear_elastic_2D_plane_stress_nodal.hpp
Go to the documentation of this file.
1 //
2 // Project Name:
3 // Last modified by: $Author:
4 // Date: $Date:
5 // Revision: $Revision:
6 //
7 
8 #if !defined (KRATOS_LINEAR_ELASTIC_2D_PLANE_STRESS_NODAL_H_INCLUDED)
9 #define KRATOS_LINEAR_ELASTIC_2D_PLANE_STRESS_NODAL_H_INCLUDED
10 
11 // Project includes
12 #include "includes/serializer.h"
14 
15 namespace Kratos
16 {
17 
18 class KRATOS_API(DAM_APPLICATION) LinearElastic2DPlaneStressNodal : public LinearElastic2DPlaneStrainNodal
19 {
20 
21 public:
22 
24 
25 //----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
26 
27  // Default Constructor
29 
30  // Copy Constructor
32 
33  // Destructor
35 
36 //----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
37 
38  ConstitutiveLaw::Pointer Clone() const override;
39 
40 //----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
41 
42 protected:
43 
44  // Member Variables
45 
46 //----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
47 
48  void GetLawFeatures(Features& rFeatures) override;
49 
50  void CalculateLinearElasticMatrix( Matrix& rConstitutiveMatrix, const double &rYoungModulus, const double &rPoissonCoefficient ) override;
51 
52 //----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
53 
54 private:
55 
56  // Serialization
57 
58  friend class Serializer;
59 
60  void save(Serializer& rSerializer) const override
61  {
63  }
64 
65  void load(Serializer& rSerializer) override
66  {
68  }
69 
70 }; // Class LinearElastic2DPlaneStressNodal
71 } // namespace Kratos.
72 #endif // KRATOS_LINEAR_ELASTIC_2D_PLANE_STRESS_NODAL_H_INCLUDED defined
Definition: linear_elastic_2D_plane_strain_nodal.hpp:19
Definition: linear_elastic_2D_plane_stress_nodal.hpp:19
KRATOS_CLASS_POINTER_DEFINITION(LinearElastic2DPlaneStressNodal)
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