26 #ifndef LINEARPLASTICVISCOELASTICINTERACTION_H
27 #define LINEARPLASTICVISCOELASTICINTERACTION_H
70 virtual void read(std::istream& is);
74 virtual void write(std::ostream& os)
const;
virtual std::string getBaseName() const
Returns the name of the interaction.
virtual void read(std::istream &is)
Interaction read function, which accepts an std::istream as input.
Mdouble getUnloadingStiffness() const
void computeLinearPlasticViscoelasticForce()
Creates a copy of an object of this class. (Deep copy)
void setMaxOverlap(const Mdouble maxOverlap)
Stores information about interactions between two interactable objects; often particles but could be ...
void computeNormalForce()
Calls computeLinearPlasticViscoElasticForce().
LinearPlasticViscoelasticInteraction(BaseInteractable *P, BaseInteractable *I, Mdouble timeStamp)
Constructor.
Mdouble getElasticEnergy() const
Computes and returns the amount of elastic energy stored in the spring.
LinearPlasticViscoelasticNormalSpecies SpeciesType
An alias for the species (needed for e.g. ThermalSpecies)
const LinearPlasticViscoelasticNormalSpecies * getSpecies() const
Defines the basic properties that a interactable object can have.
LinearPlasticViscoelasticNormalSpecies contains the parameters used to describe a plastic-cohesive no...
Mdouble getMaxOverlap() const
Computes normal forces in case of a linear plastic visco-elastic interaction.
virtual void write(std::ostream &os) const
Interaction write function, which accepts an std::ostream as input.
virtual ~LinearPlasticViscoelasticInteraction()
Destructor.