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