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_kdem_2d_cl.h
Go to the documentation of this file.
1 
2 #if !defined(DEM_KDEM_2D_CL_H_INCLUDED)
3 #define DEM_KDEM_2D_CL_H_INCLUDED
4 
5 #include "DEM_KDEM_CL.h"
6 
7 namespace Kratos {
8 
9  class KRATOS_API(DEM_APPLICATION) DEM_KDEM2D : public DEM_KDEM {
10 
11  typedef DEM_KDEM BaseClassType;
12 
13  public:
14 
16 
18 
20 
21  DEMContinuumConstitutiveLaw::Pointer Clone() const override;
22 
23  void CalculateContactArea(double radius, double other_radius, double& calculation_area) override;
24 
25  private:
26 
27  friend class Serializer;
28 
29  virtual void load(Serializer& rSerializer) override {
31  }
32 
33  virtual void save(Serializer& rSerializer) const override {
35  }
36 
37 
38  };
39 } // namespace Kratos
40 #endif // DEM_KDEM_2D_H_INCLUDED defined
Definition: dem_kdem_2d_cl.h:9
DEM_KDEM2D()
Definition: dem_kdem_2d_cl.h:17
KRATOS_CLASS_POINTER_DEFINITION(DEM_KDEM2D)
~DEM_KDEM2D()
Definition: dem_kdem_2d_cl.h:19
Definition: DEM_KDEM_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