5 #ifndef LINEARPLASTICVISCOELASTICINTERACTION_H
6 #define LINEARPLASTICVISCOELASTICINTERACTION_H
56 void read(std::istream& is)
override;
61 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
Stores information about interactions between two interactable objects; often particles but could be ...
Definition: BaseInteraction.h:39
Computes normal forces in case of a linear plastic visco-elastic interaction.
Definition: LinearPlasticViscoelasticInteraction.h:19
virtual std::string getBaseName() const
Returns the name of the interaction.
Definition: LinearPlasticViscoelasticInteraction.cc:86
void write(std::ostream &os) const override
Interaction write function, which accepts an std::ostream as input.
Definition: LinearPlasticViscoelasticInteraction.cc:65
void setMaxOverlap(Mdouble maxOverlap)
Definition: LinearPlasticViscoelasticInteraction.cc:191
LinearPlasticViscoelasticInteraction()
Definition: LinearPlasticViscoelasticInteraction.cc:29
LinearPlasticViscoelasticNormalSpecies SpeciesType
An alias for the species (needed for e.g. ThermalSpecies)
Definition: LinearPlasticViscoelasticInteraction.h:24
void read(std::istream &is) override
Interaction read function, which accepts an std::istream as input.
Definition: LinearPlasticViscoelasticInteraction.cc:75
Mdouble getElasticEnergy() const override
Computes and returns the amount of elastic energy stored in the spring.
Definition: LinearPlasticViscoelasticInteraction.cc:163
~LinearPlasticViscoelasticInteraction() override
Destructor.
Definition: LinearPlasticViscoelasticInteraction.cc:54
void computeNormalForce()
Creates a copy of an object of this class. (Deep copy)
Definition: LinearPlasticViscoelasticInteraction.cc:94
const LinearPlasticViscoelasticNormalSpecies * getSpecies() const
Definition: LinearPlasticViscoelasticInteraction.cc:174
Mdouble getMaxOverlap() const
Definition: LinearPlasticViscoelasticInteraction.cc:183
Mdouble maxOverlap_
Definition: LinearPlasticViscoelasticInteraction.h:96
Mdouble getUnloadingStiffness() const
Definition: LinearPlasticViscoelasticInteraction.cc:199
LinearPlasticViscoelasticNormalSpecies contains the parameters used to describe a plastic-cohesive no...
Definition: LinearPlasticViscoelasticNormalSpecies.h:20
#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