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.
DEM_Dempack_2D_CL.h
Go to the documentation of this file.
1 
2 #if !defined(DEM_DEMPACK_2D_CL_H_INCLUDED)
3 #define DEM_DEMPACK_2D_CL_H_INCLUDED
4 
5 /* Project includes */
6 #include "DEM_Dempack_CL.h"
7 //#include "DEM_discontinuum_constitutive_law.h"
8 
9 namespace Kratos {
10 
11  class KRATOS_API(DEM_APPLICATION) DEM_Dempack2D : public DEM_Dempack {
12 
13  typedef DEM_Dempack BaseClassType;
14 
15  public:
16 
18 
20 
21  //DEMContinuumConstitutiveLaw(const DEMContinuumConstitutiveLaw &rReferenceContinuumConstitutiveLaw);
22 
27  double mHistoryDisp;
29 
31 
32  DEMContinuumConstitutiveLaw::Pointer Clone() const override;
33  void CalculateContactArea(double radius, double other_radius, double& calculation_area) override;
34 
35 
36  private:
37 
38  friend class Serializer;
39 
40  virtual void save(Serializer& rSerializer) const override {
42  //rSerializer.save("MyMemberName",myMember);
43  }
44 
45  virtual void load(Serializer& rSerializer) override {
47  //rSerializer.load("MyMemberName",myMember);
48  }
49 
50  };
51 
52 } /* namespace Kratos.*/
53 #endif /* DEM_DEMPACK_2D_H_INCLUDED defined */
Definition: DEM_Dempack_2D_CL.h:11
double mHistoryMaxInd
Definition: DEM_Dempack_2D_CL.h:23
DEM_Dempack2D()
Definition: DEM_Dempack_2D_CL.h:19
double mHistoryDegradation
Definition: DEM_Dempack_2D_CL.h:26
double mHistoryMaxForce
Definition: DEM_Dempack_2D_CL.h:24
double mHistoryShearFlag
Definition: DEM_Dempack_2D_CL.h:28
double mHistoryDisp
Definition: DEM_Dempack_2D_CL.h:27
~DEM_Dempack2D()
Definition: DEM_Dempack_2D_CL.h:30
double mHistoryDamage
Definition: DEM_Dempack_2D_CL.h:25
KRATOS_CLASS_POINTER_DEFINITION(DEM_Dempack2D)
Definition: DEM_Dempack_CL.h:11
Definition: DEM_continuum_constitutive_law.h:23
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
float radius
Definition: mesh_to_mdpa_converter.py:18
def load(f)
Definition: ode_solve.py:307