5 #ifndef LiquidBridgeWilletInteraction_H
6 #define LiquidBridgeWilletInteraction_H
55 void read(std::istream& is)
override;
60 void write(std::ostream& os)
const override;
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
Defines the liquid bridge willet interaction between two particles or walls.
Definition: LiquidBridgeWilletInteraction.h:22
LiquidBridgeWilletSpecies SpeciesType
An alias name for LiquidBridgeWilletSpecies data type.
Definition: LiquidBridgeWilletInteraction.h:27
bool wasInContact_
A history parameter to store if the particles were in contact or not. Useful to compute adhesive forc...
Definition: LiquidBridgeWilletInteraction.h:87
std::string getBaseName() const
Returns the name of the interaction, see Interaction.h.
Definition: LiquidBridgeWilletInteraction.cc:121
void write(std::ostream &os) const override
Interaction print function, which accepts an std::ostream as input.
Definition: LiquidBridgeWilletInteraction.cc:62
bool getWasInContact() const
Definition: LiquidBridgeWilletInteraction.cc:126
void read(std::istream &is) override
Interaction read function, which accepts an std::istream as input.
Definition: LiquidBridgeWilletInteraction.cc:70
LiquidBridgeWilletInteraction()
Definition: LiquidBridgeWilletInteraction.cc:28
void setWasInContact(bool wasInContact)
Definition: LiquidBridgeWilletInteraction.cc:131
Mdouble getElasticEnergy() const override
Returns the amount of Elastic energy involved in an interaction. Basically used in case you want to w...
Definition: LiquidBridgeWilletInteraction.cc:104
void computeAdhesionForce()
Computes the adhesive forces for liquid bridge Willet type of interaction.
Definition: LiquidBridgeWilletInteraction.cc:80
const LiquidBridgeWilletSpecies * getSpecies() const
Returns a pointer to the adhesive force species LiquidBridgeWilletSpecies.
Definition: LiquidBridgeWilletInteraction.cc:113
~LiquidBridgeWilletInteraction() override
Destructor.
Definition: LiquidBridgeWilletInteraction.cc:52
LiquidBridgeWilletSpecies contains the parameters used to describe a short-range force caused by liqu...
Definition: LiquidBridgeWilletSpecies.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