5 #ifndef LINEARIRREVERSIBLEADHESIVEINTERACTION_H
6 #define LINEARIRREVERSIBLEADHESIVEINTERACTION_H
54 void read(std::istream& is)
override;
59 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
Definition: BaseParticle.h:33
Definition: IrreversibleAdhesiveInteraction.h:21
Mdouble getElasticEnergy() const override
Returns the elastic energy stored in the adhesive spring.
Definition: IrreversibleAdhesiveInteraction.cc:116
void computeAdhesionForce()
Computes the Adhesive force.
Definition: IrreversibleAdhesiveInteraction.cc:80
bool getWasInContact() const
Definition: IrreversibleAdhesiveInteraction.cc:128
void read(std::istream &is) override
Interaction read function, which accepts an std::istream as input.
Definition: IrreversibleAdhesiveInteraction.cc:71
void write(std::ostream &os) const override
Interaction print function, which accepts an std::ostream as input.
Definition: IrreversibleAdhesiveInteraction.cc:63
bool wasInContact_
A history parameter to store if the particles were in contact or not. Useful to compute adhesive forc...
Definition: IrreversibleAdhesiveInteraction.h:85
IrreversibleAdhesiveInteraction()
Definition: IrreversibleAdhesiveInteraction.cc:28
IrreversibleAdhesiveSpecies SpeciesType
An alias name for IrreversibleAdhesiveSpecies data type.
Definition: IrreversibleAdhesiveInteraction.h:26
~IrreversibleAdhesiveInteraction() override
Destructor.
Definition: IrreversibleAdhesiveInteraction.cc:53
std::string getBaseName() const
Returns the name of the interaction, see Interaction.h.
Definition: IrreversibleAdhesiveInteraction.cc:106
const IrreversibleAdhesiveSpecies * getSpecies() const
Returns a pointer to the adhesive force species IrreversibleAdhesiveSpecies.
Definition: IrreversibleAdhesiveInteraction.cc:97
void setWasInContact(bool wasInContact)
Definition: IrreversibleAdhesiveInteraction.cc:133
IrreversibleAdhesiveSpecies contains the parameters used to describe a linear irreversible short-rang...
Definition: IrreversibleAdhesiveSpecies.h:18
Definition: ReversibleAdhesiveInteraction.h:22
#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