26 #ifndef LINEARVISCOELASTICINTERACTION_H
27 #define LINEARVISCOELASTICINTERACTION_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
Enables one to compute normal forces in case of a linear visco-elastic interaction.
Definition: LinearViscoelasticInteraction.h:40
const LinearViscoelasticNormalSpecies * getSpecies() const
Returns a const pointer of type LinearViscoelasticNormalSpecies*.
Definition: LinearViscoelasticInteraction.cc:155
void computeNormalForce()
Creates a copy of an object of this class. (Deep copy)
Definition: LinearViscoelasticInteraction.cc:105
~LinearViscoelasticInteraction() override
Destructor.
Definition: LinearViscoelasticInteraction.cc:69
void read(std::istream &is) override
Interaction read function, which accepts an std::istream as input.
Definition: LinearViscoelasticInteraction.cc:89
void write(std::ostream &os) const override
Interaction write function, which accepts an std::ostream as input.
Definition: LinearViscoelasticInteraction.cc:80
LinearViscoelasticInteraction()
Definition: LinearViscoelasticInteraction.cc:50
std::string getBaseName() const
Returns the type/name of interaction (linear visco-elastic interaction).
Definition: LinearViscoelasticInteraction.cc:97
void copyHistoryInteraction()
Mdouble getElasticEnergy() const override
Returns the amount of energy stored in the spring due to head on collision.
Definition: LinearViscoelasticInteraction.cc:142
LinearViscoelasticNormalSpecies SpeciesType
An alias for LinearViscoelasticNormalSpecies.
Definition: LinearViscoelasticInteraction.h:45
Mdouble getElasticEnergyAtEquilibrium(Mdouble adhesiveForce) const override
Definition: LinearViscoelasticInteraction.cc:162
LinearViscoelasticNormalSpecies contains the parameters used to describe a linear elastic-dissipative...
Definition: LinearViscoelasticNormalSpecies.h:39
double P
Uniform pressure.
Definition: TwenteMeshGluing.cpp:73