ParhamiMcMeekingSinterInteraction.h
Go to the documentation of this file.
1 // This file is part of the MercuryDPM project (https://www.mercurydpm.org).
2 // Copyright (c), The MercuryDPM Developers Team. All rights reserved.
3 // License: BSD 3-Clause License; see the LICENSE file in the root directory.
4 
5 #ifndef PARHAMIMCMEEKINGSINTERINTERACTION_H
6 #define PARHAMIMCMEEKINGSINTERINTERACTION_H
7 
9 #include "Math/Vector.h"
10 
11 class BaseParticle;
12 
14 
15 class BaseInteractable;
16 
22 {
23 public:
28 
33 
38 
41 
46 
50  void computeAdhesionForce();
51 
55  void read(std::istream& is) override;
56 
60  void write(std::ostream& os) const override;
68  Mdouble getElasticEnergy() const override;
69 
73  const SpeciesType* getSpecies() const;
74 
78  std::string getBaseName() const;
79 };
80 
81 #endif
float * p
Definition: Tutorial_Map_using.cpp:9
Defines the basic properties that a interactable object can have.
Definition: BaseInteractable.h:34
Stores information about interactions between two interactable objects; often particles but could be ...
Definition: BaseInteraction.h:39
Definition: BaseParticle.h:33
Definition: ParhamiMcMeekingSinterInteraction.h:22
Mdouble getElasticEnergy() const override
Returns the amount of Elastic energy involved in an interaction. Basically used in case you want to w...
Definition: ParhamiMcMeekingSinterInteraction.cc:98
void computeAdhesionForce()
Computes the adhesive forces.
Definition: ParhamiMcMeekingSinterInteraction.cc:70
const SpeciesType * getSpecies() const
Returns a pointer to the adhesive force species ReversibleAdhesiveSpecies.
Definition: ParhamiMcMeekingSinterInteraction.cc:106
ParhamiMcMeekingSinterInteraction()
Definition: ParhamiMcMeekingSinterInteraction.cc:37
void read(std::istream &is) override
Interaction read function, which accepts an std::istream as input.
Definition: ParhamiMcMeekingSinterInteraction.cc:64
~ParhamiMcMeekingSinterInteraction() override
Destructor.
Definition: ParhamiMcMeekingSinterInteraction.cc:48
void write(std::ostream &os) const override
Interaction print function, which accepts an std::ostream as input.
Definition: ParhamiMcMeekingSinterInteraction.cc:58
ParhamiMcMeekingSinterSpecies SpeciesType
Setting an alias name for ReversibleAdhesiveSpecies.
Definition: ParhamiMcMeekingSinterInteraction.h:27
std::string getBaseName() const
Returns the name of the interaction, see Interaction.h.
Definition: ParhamiMcMeekingSinterInteraction.cc:114
ParhamiMcMeekingSinterSpecies contains the parameters used to describe a linear reversible short-rang...
Definition: ParhamiMcMeekingSinterSpecies.h:17
#define I
Definition: main.h:127
double P
Uniform pressure.
Definition: TwenteMeshGluing.cpp:77
std::string string(const unsigned &i)
Definition: oomph_definitions.cc:286