1 #ifndef KRATOS_DEM_COMPOUND_CONSTITUTIVE_LAW_H
2 #define KRATOS_DEM_COMPOUND_CONSTITUTIVE_LAW_H
11 template <
class MainCL,
class CohesionCL>
20 DEMDiscontinuumConstitutiveLaw::Pointer
Clone()
const override {
25 std::unique_ptr<DEMDiscontinuumConstitutiveLaw>
CloneUnique()
override {
33 return mCCL.CalculateCohesiveNormalForce(element1, element2, indentation);
37 return mCCL.CalculateCohesiveNormalForceWithFEM(
element, wall, indentation);
46 virtual void save(
Serializer& rSerializer)
const override
Base class for all Conditions.
Definition: condition.h:59
Definition: DEM_compound_constitutive_law.h:13
double CalculateCohesiveNormalForceWithFEM(SphericParticle *const element, Condition *const wall, const double indentation) override
Definition: DEM_compound_constitutive_law.h:36
KRATOS_CLASS_POINTER_DEFINITION(DEM_compound_constitutive_law)
DEMDiscontinuumConstitutiveLaw::Pointer Clone() const override
Definition: DEM_compound_constitutive_law.h:20
double CalculateCohesiveNormalForce(SphericParticle *const element1, SphericParticle *const element2, const double indentation) override
Definition: DEM_compound_constitutive_law.h:32
std::unique_ptr< DEMDiscontinuumConstitutiveLaw > CloneUnique() override
Definition: DEM_compound_constitutive_law.h:25
virtual ~DEM_compound_constitutive_law()
Destructor.
Definition: DEM_compound_constitutive_law.h:30
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