26 #ifndef SINTERINTERACTION_H
27 #define SINTERINTERACTION_H
66 virtual void read(std::istream& is);
70 virtual void write(std::ostream& os)
const;
98 std::string
getTypeVTK(
unsigned i)
const override;
100 std::string
getNameVTK(
unsigned i)
const override;
102 std::vector<Mdouble>
getFieldVTK(
unsigned i)
const override;
virtual ~SinterInteraction()
Destructor.
std::vector< Mdouble > getFieldVTK(unsigned i) const override
Mdouble getElasticEnergy() const
Computes and returns the amount of elastic energy stored in the spring.
Mdouble getUnloadingStiffness() const
Stores information about interactions between two interactable objects; often particles but could be ...
virtual void read(std::istream &is)
Interaction read function, which accepts an std::istream as input.
SinterInteraction(BaseInteractable *P, BaseInteractable *I, Mdouble timeStamp)
Constructor.
std::string getTypeVTK(unsigned i) const override
void computeNormalForce()
Creates a copy of an object of this class. (Deep copy)
std::string getNameVTK(unsigned i) const override
void setPlasticOverlap(const Mdouble plasticOverlap)
SinterNormalSpecies contains the parameters used to describe a plastic-cohesive normal force (Stefan ...
unsigned getNumberOfFieldsVTK() const override
Mdouble getPlasticOverlap() const
SinterNormalSpecies SpeciesType
An alias for the corresponding species.
virtual std::string getBaseName() const
Returns the name of the interaction.
virtual void write(std::ostream &os) const
Interaction write function, which accepts an std::ostream as input.
Defines the basic properties that a interactable object can have.
Computes normal forces in case of a linear plastic visco-elastic interaction.
const SinterNormalSpecies * getSpecies() const