26 #ifndef LINEARIRREVERSIBLEADHESIVEINTERACTION_H
27 #define LINEARIRREVERSIBLEADHESIVEINTERACTION_H
67 void read(std::istream& is);
72 void write(std::ostream& os)
const;
void read(std::istream &is)
Interaction read function, which accepts an std::istream as input.
void write(std::ostream &os) const
Interaction print function, which accepts an std::ostream as input.
void computeAdhesionForce()
Computes the Adhesive force.
std::string getBaseName() const
Returns the name of the interaction, see Interaction.h.
IrreversibleAdhesiveSpecies contains the parameters used to describe a linear irreversible short-rang...
const IrreversibleAdhesiveSpecies * getSpecies() const
A dynamic_cast of BaseSpecies type pointer to a pointer of type IrreversibleAdhesiveSpecies.
IrreversibleAdhesiveInteraction(BaseInteractable *P, BaseInteractable *I, Mdouble timeStamp)
Constructor.
Defines the basic properties that a interactable object can have.
Mdouble getElasticEnergy() const
Returns the elastic energy stored in the adhesive spring.
bool wasInContact_
A history parameter to store if the particles were in contact or not. Useful to compute adhesive forc...
IrreversibleAdhesiveSpecies SpeciesType
An alias name for IrreversibleAdhesiveSpecies data type.
virtual ~IrreversibleAdhesiveInteraction()
Destructor.