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_torque_CL.h
Go to the documentation of this file.
1 
2 #if !defined(DEM_DEMPACK_TORQUE_CL_H_INCLUDED)
3 #define DEM_DEMPACK_TORQUE_CL_H_INCLUDED
4 
5 /* Project includes */
6 #include "DEM_Dempack_CL.h"
7 //#include "DEM_discontinuum_constitutive_law.h"
8 
9 
10 namespace Kratos {
11 
12  class KRATOS_API(DEM_APPLICATION) DEM_Dempack_torque : public DEM_Dempack {
13 
14  typedef DEM_Dempack BaseClassType;
15 
16  public:
17 
19 
21 
23 
24  DEMContinuumConstitutiveLaw::Pointer Clone() const override;
25 
26  void ComputeParticleRotationalMoments(SphericContinuumParticle* element,
27  SphericContinuumParticle* neighbor,
28  double equiv_young,
29  double distance,
30  double calculation_area,
31  double LocalCoordSystem[3][3],
32  double ElasticLocalRotationalMoment[3],
33  double ViscoLocalRotationalMoment[3],
34  double equiv_poisson,
35  double indentation,
36  double LocalElasticContactForce[3]) override;
37  private:
38 
39  friend class Serializer;
40 
41  virtual void save(Serializer& rSerializer) const override {
43  //rSerializer.save("MyMemberName",myMember);
44  }
45 
46  virtual void load(Serializer& rSerializer) override {
48  //rSerializer.load("MyMemberName",myMember);
49  }
50 
51  };
52 
53 } /* namespace Kratos.*/
54 #endif /* DEM_DEMPACK_TORQUE_CL_H_INCLUDED defined */
Definition: DEM_Dempack_torque_CL.h:12
KRATOS_CLASS_POINTER_DEFINITION(DEM_Dempack_torque)
DEM_Dempack_torque()
Definition: DEM_Dempack_torque_CL.h:20
~DEM_Dempack_torque()
Definition: DEM_Dempack_torque_CL.h:22
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
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
def load(f)
Definition: ode_solve.py:307
Definition: mesh_converter.cpp:33