26 #ifndef LINEARChargedInteraction_H
27 #define LINEARChargedInteraction_H
76 void read(std::istream& is)
override;
81 void write(std::ostream& os)
const override;
Defines the basic properties that a interactable object can have.
Definition: BaseInteractable.h:55
Stores information about interactions between two interactable objects; often particles but could be ...
Definition: BaseInteraction.h:60
Definition: BaseParticle.h:54
Definition: ChargedBondedInteraction.h:43
ChargedBondedSpecies SpeciesType
Setting an alias name for ChargedBondedSpecies.
Definition: ChargedBondedInteraction.h:48
~ChargedBondedInteraction() override
Destructor.
Definition: ChargedBondedInteraction.cc:77
void unbond()
Definition: ChargedBondedInteraction.cc:310
ChargedBondedInteraction()
Definition: ChargedBondedInteraction.cc:67
bool bonded_
A history parameter to store if the particles were in contact or not. Useful to compute adhesive forc...
Definition: ChargedBondedInteraction.h:125
const ChargedBondedSpecies * getSpecies() const
Returns a pointer to the adhesive force species ChargedBondedSpecies.
Definition: ChargedBondedInteraction.cc:283
void computeAdhesionForce()
Computes the adhesive forces.
Definition: ChargedBondedInteraction.cc:105
void read(std::istream &is) override
Interaction read function, which accepts an std::istream as input.
Definition: ChargedBondedInteraction.cc:95
Mdouble getElasticEnergy() const override
Returns the amount of Elastic energy involved in an interaction. Basically used in case you want to w...
Definition: ChargedBondedInteraction.cc:207
void bond()
A pair of functions which can be used to fix or unfix a pair of overlapping particles.
Definition: ChargedBondedInteraction.cc:300
void write(std::ostream &os) const override
Interaction print function, which accepts an std::ostream as input.
Definition: ChargedBondedInteraction.cc:87
bool isBonded() const override
Definition: ChargedBondedInteraction.h:114
std::string getBaseName() const
Returns the name of the interaction, see Interaction.h.
Definition: ChargedBondedInteraction.cc:291
ChargedBondedSpecies contains the parameters used to describe a linear reversible short-range force.
Definition: ChargedBondedSpecies.h:38
double P
Uniform pressure.
Definition: TwenteMeshGluing.cpp:73