26 #ifndef HERTZIANVISCOELASTICINTERACTION_H
27 #define HERTZIANVISCOELASTICINTERACTION_H
80 void read(std::istream& is)
override;
85 void write(std::ostream& os)
const override;
double Mdouble
Definition: GeneralDefine.h:34
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
Computes normal forces for a Herztian visco-elastic interaction.
Definition: HertzianViscoelasticInteraction.h:40
const HertzianViscoelasticNormalSpecies * getSpecies() const
Returns a const pointer of type HerztianViscoelasticNormalSpecies (static-cast).
Definition: HertzianViscoelasticInteraction.cc:164
Mdouble getElasticEnergyAtEquilibrium(Mdouble adhesiveForce) const override
Definition: HertzianViscoelasticInteraction.cc:176
void computeNormalForce()
Computes the amount of normal force due to an Hertzian visco-elastic interaction.
Definition: HertzianViscoelasticInteraction.cc:106
HertzianViscoelasticInteraction(const BaseInteraction &p)
Definition: HertzianViscoelasticInteraction.h:72
HertzianViscoelasticNormalSpecies SpeciesType
An alias for HertzianViscoelasticNormalSpecies.
Definition: HertzianViscoelasticInteraction.h:45
Mdouble getElasticEnergy() const override
Computes and returns the amount of elastic energy stored in the spring.
Definition: HertzianViscoelasticInteraction.cc:148
void read(std::istream &is) override
Interaction read function, which accepts an std::istream as input.
Definition: HertzianViscoelasticInteraction.cc:83
HertzianViscoelasticInteraction()
std::string getBaseName() const
Returns the name of the interaction.
Definition: HertzianViscoelasticInteraction.cc:91
void write(std::ostream &os) const override
Interaction write function, which accepts an std::ostream as input.
Definition: HertzianViscoelasticInteraction.cc:75
~HertzianViscoelasticInteraction() override
Destructor.
Definition: HertzianViscoelasticInteraction.cc:65
HertzianViscoelasticNormalSpecies contains the parameters used to describe a Hertzian normal force (T...
Definition: HertzianViscoelasticNormalSpecies.h:38
double P
Uniform pressure.
Definition: TwenteMeshGluing.cpp:73