42 #ifdef DEBUG_CONSTRUCTOR
43 std::cout<<
"ReversibleAdhesiveInteraction::ReversibleAdhesiveInteraction() finished"<<std::endl;
53 #ifdef DEBUG_CONSTRUCTOR
54 std::cout<<
"ReversibleAdhesiveInteraction::ReversibleAdhesiveInteraction(const ReversibleAdhesiveInteraction &p finished"<<std::endl;
63 #ifdef DEBUG_DESTRUCTOR
64 std::cout<<
"ReversibleAdhesiveInteraction::~ReversibleAdhesiveInteraction() finished"<<std::endl;
113 return "ReversibleAdhesive";
Mdouble getAdhesionForceMax() const
Allows the spring constant to be accessed.
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.
const BaseSpecies * getBaseSpecies() const
Return a constant point to BaseSpecies of the interaction.
Mdouble getElasticEnergy() const
Returns the amount of Elastic energy involved in an interaction. Basically used in case you want to w...
const Vec3D & getNormal() const
Gets the normal vector between the two interacting objects.
Mdouble getOverlap() const
Returns a Mdouble with the current overlap between the two interacting objects.
void addForce(Vec3D force)
add an force increment to the total force.
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...
virtual ~ReversibleAdhesiveInteraction()
Destructor.
Defines the basic properties that a interactable object can have.
Mdouble getAdhesionStiffness() const
Allows the spring constant to be accessed.
ReversibleAdhesiveInteraction(BaseInteractable *P, BaseInteractable *I, Mdouble timeStamp)
Constructor.