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_d_linear_custom_constants_cl.h
Go to the documentation of this file.
1 // Authors: S. Latorre (CIMNE)
2 // Date: April 2016
3 
4 #if !defined(DEM_D_LINEAR_CUSTOM_CONSTANTS_CL_H_INCLUDED)
5 #define DEM_D_LINEAR_CUSTOM_CONSTANTS_CL_H_INCLUDED
6 
8 
9 namespace Kratos {
10 
11  class KRATOS_API(DEM_APPLICATION) DEM_D_Linear_Custom_Constants : public DEM_D_Linear_viscous_Coulomb {
12 
13  public:
14 
16 
18 
20 
21  DEMDiscontinuumConstitutiveLaw::Pointer Clone() const override;
22 
23  std::unique_ptr<DEMDiscontinuumConstitutiveLaw> CloneUnique() override;
24 
25  void InitializeContact(SphericParticle* const element1, SphericParticle* const element2, const double indentation) override;
26  void InitializeContactWithFEM(SphericParticle* const element, Condition* const wall, const double indentation, const double ini_delta = 0.0) override;
27 
28  private:
29 
30  friend class Serializer;
31 
32  virtual void save(Serializer& rSerializer) const override {
34  //rSerializer.save("MyMemberName",myMember);
35  }
36 
37  virtual void load(Serializer& rSerializer) override {
39  //rSerializer.load("MyMemberName",myMember);
40  }
41  };
42 } // namespace Kratos
43 #endif // DEM_D_LINEAR_CUSTOM_CONSTANTS_CL_H_INCLUDED defined
Base class for all Conditions.
Definition: condition.h:59
Definition: dem_d_linear_custom_constants_cl.h:11
DEM_D_Linear_Custom_Constants()
Definition: dem_d_linear_custom_constants_cl.h:17
KRATOS_CLASS_POINTER_DEFINITION(DEM_D_Linear_Custom_Constants)
~DEM_D_Linear_Custom_Constants()
Definition: dem_d_linear_custom_constants_cl.h:19
Definition: DEM_D_Linear_viscous_Coulomb_CL.h:15
Definition: DEM_discontinuum_constitutive_law.h:22
The serialization consists in storing the state of an object into a storage format like data file or ...
Definition: serializer.h:123
Definition: spheric_particle.h:31
#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