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_dev_CL.h
Go to the documentation of this file.
1 
2 #if !defined(DEM_DEMPACK_2D_DEV_CL_H_INCLUDED)
3 #define DEM_DEMPACK_2D_DEV_CL_H_INCLUDED
4 
5 /* Project includes */
6 #include "DEM_Dempack_dev_CL.h"
7 
8 namespace Kratos {
9 
10  class KRATOS_API(DEM_APPLICATION) DEM_Dempack2D_dev : public DEM_Dempack_dev {
11 
13 
14  public:
15 
17 
19 
21 
22  DEMContinuumConstitutiveLaw::Pointer Clone() const override;
23  void CalculateContactArea(double radius, double other_radius, double& calculation_area) override;
24 
25 
26  private:
27 
28  friend class Serializer;
29 
30  virtual void save(Serializer& rSerializer) const override {
32  //rSerializer.save("MyMemberName",myMember);
33  }
34 
35  virtual void load(Serializer& rSerializer) override {
37  //rSerializer.load("MyMemberName",myMember);
38  }
39 
40  };
41 
42 } /* namespace Kratos.*/
43 #endif /* DEM_DEMPACK_2D_DEV_H_INCLUDED defined */
Definition: DEM_Dempack_2D_dev_CL.h:10
DEM_Dempack2D_dev()
Definition: DEM_Dempack_2D_dev_CL.h:18
~DEM_Dempack2D_dev()
Definition: DEM_Dempack_2D_dev_CL.h:20
KRATOS_CLASS_POINTER_DEFINITION(DEM_Dempack2D_dev)
Definition: DEM_Dempack_dev_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