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_fabric_2d_cl.h
Go to the documentation of this file.
1 
2 #if !defined(DEM_KDEMFabric2D_CL_H_INCLUDED)
3 #define DEM_KDEMFabric2D_CL_H_INCLUDED
4 
5 #include "dem_kdem_2d_cl.h"
6 
7 namespace Kratos {
8 
9  class KRATOS_API(DEM_APPLICATION) DEM_KDEMFabric2D : public DEM_KDEM2D {
10 
11  typedef DEM_KDEM2D 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  void ComputeParticleRotationalMoments(SphericContinuumParticle* element,
26  SphericContinuumParticle* neighbor,
27  double equiv_young,
28  double distance,
29  double calculation_area,
30  double LocalCoordSystem[3][3],
31  double ElasticLocalRotationalMoment[3],
32  double ViscoLocalRotationalMoment[3],
33  double equiv_poisson,
34  double indentation,
35  double LocalElasticContactForce[3]) override;
36 
37  private:
38 
39  friend class Serializer;
40 
41  virtual void load(Serializer& rSerializer) override {
43  }
44 
45  virtual void save(Serializer& rSerializer) const override {
47  }
48  };
49 } // namespace Kratos
50 #endif // DEM_KDEMFabric2D_CL_H_INCLUDED defined
Definition: dem_kdem_2d_cl.h:9
Definition: dem_kdem_fabric_2d_cl.h:9
KRATOS_CLASS_POINTER_DEFINITION(DEM_KDEMFabric2D)
DEM_KDEMFabric2D()
Definition: dem_kdem_fabric_2d_cl.h:17
~DEM_KDEMFabric2D()
Definition: dem_kdem_fabric_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
Definition: spheric_continuum_particle.h:26
#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
Definition: mesh_converter.cpp:33