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_fissured_rock_cl.h
Go to the documentation of this file.
1 
2 #if !defined(DEM_KDEM_FISSURED_ROCK_CL_H_INCLUDED)
3 #define DEM_KDEM_FISSURED_ROCK_CL_H_INCLUDED
4 
5 /* Project includes */
7 #include "DEM_KDEM_Rankine_CL.h"
8 
9 
10 namespace Kratos {
11 
12  class KRATOS_API(DEM_APPLICATION) DEM_KDEM_Fissured_Rock_CL : public DEM_KDEM_Rankine {
13 
15 
16  public:
17 
19 
21 
23 
24  DEMContinuumConstitutiveLaw::Pointer Clone() const override;
25 
26  double LocalMaxSearchDistance(const int i, SphericContinuumParticle* element1, SphericContinuumParticle* element2) override;
27  virtual void CheckFailure(const int i_neighbour_count,
28  SphericContinuumParticle* element1,
29  SphericContinuumParticle* element2,
30  double& contact_sigma,
31  double& contact_tau,
32  double LocalElasticContactForce[3],
33  double ViscoDampingLocalContactForce[3],
34  double ElasticLocalRotationalMoment[3],
35  double ViscoLocalRotationalMoment[3]) override;
36  bool CheckRequirementsOfStressTensor() override;
37 
38  private:
39 
40  friend class Serializer;
41 
42  virtual void save(Serializer& rSerializer) const override{
44  //rSerializer.save("MyMemberName",myMember);
45  }
46 
47  virtual void load(Serializer& rSerializer) override{
49  //rSerializer.load("MyMemberName",myMember);
50  }
51 
52  };
53 
54 } /* namespace Kratos.*/
55 #endif /* DEM_KDEM_FISSURED_ROCK_CL_H_INCLUDED defined */
Definition: dem_kdem_fissured_rock_cl.h:12
DEM_KDEM_Fissured_Rock_CL()
Definition: dem_kdem_fissured_rock_cl.h:20
KRATOS_CLASS_POINTER_DEFINITION(DEM_KDEM_Fissured_Rock_CL)
~DEM_KDEM_Fissured_Rock_CL()
Definition: dem_kdem_fissured_rock_cl.h:22
Definition: DEM_KDEM_Rankine_CL.h:12
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
def load(f)
Definition: ode_solve.py:307
integer i
Definition: TensorModule.f:17