26 #ifndef LINEARREVERSIBLEADHESIVEINTERACTION_H
27 #define LINEARREVERSIBLEADHESIVEINTERACTION_H
65 void read(std::istream& is);
69 void write(std::ostream& os)
const;
ReversibleAdhesiveSpecies contains the parameters used to describe a linear reversible short-range fo...
Stores information about interactions between two interactable objects; often particles but could be ...
void write(std::ostream &os) const
Interaction print function, which accepts an std::ostream as input.
void read(std::istream &is)
Interaction read function, which accepts an std::istream as input.
Mdouble getElasticEnergy() const
Returns the amount of Elastic energy involved in an interaction. Basically used in case you want to w...
void computeAdhesionForce()
Computes the adhesive forces.
std::string getBaseName() const
Returns the name of the interaction, see Interaction.h.
const ReversibleAdhesiveSpecies * getSpecies() const
A dynamic_cast of BaseSpecies pointer type to a pointer to an object of type ReversibleAdhesiveSpecie...
ReversibleAdhesiveSpecies SpeciesType
Setting an alias name for ReversibleAdhesiveSpecies.
virtual ~ReversibleAdhesiveInteraction()
Destructor.
Defines the basic properties that a interactable object can have.
ReversibleAdhesiveInteraction(BaseInteractable *P, BaseInteractable *I, Mdouble timeStamp)
Constructor.