26 #ifndef LiquidBridgeWilletInteraction_H
27 #define LiquidBridgeWilletInteraction_H
65 void read(std::istream& is);
69 void write(std::ostream& os)
const;
void computeAdhesionForce()
Computes the adhesive forces for liquid bridge Willet type of interaction.
void write(std::ostream &os) const
Interaction print function, which accepts an std::ostream as input.
Stores information about interactions between two interactable objects; often particles but could be ...
const LiquidBridgeWilletSpecies * getSpecies() const
A dynamic_cast of BaseSpecies type pointer to a pointer of type LiquidBridgeWilletSpecies.
Mdouble getElasticEnergy() const
Returns the amount of Elastic energy involved in an interaction. Basically used in case you want to w...
bool wasInContact_
A history parameter to store if the particles were in contact or not. Useful to compute adhesive forc...
std::string getBaseName() const
Returns the name of the interaction, see Interaction.h.
LiquidBridgeWilletInteraction(BaseInteractable *P, BaseInteractable *I, Mdouble timeStamp)
Constructor.
Defines the liquid bridge willet interaction between two particles or walls.
LiquidBridgeWilletSpecies contains the parameters used to describe a short-range force caused by liqu...
Defines the basic properties that a interactable object can have.
LiquidBridgeWilletSpecies SpeciesType
An alias name for LiquidBridgeWilletSpecies data type.
virtual ~LiquidBridgeWilletInteraction()
Destructor.
void read(std::istream &is)
Interaction read function, which accepts an std::istream as input.