26 #ifndef HertzianViscoelasticNormalSpecies_H
27 #define HertzianViscoelasticNormalSpecies_H
52 void read(std::istream& is);
55 void write(std::ostream& os)
const;
void setElasticModulus(Mdouble elasticModulus)
Allows the spring constant to be changed.
BaseSpecies is the class from which all other species are derived.
Mdouble getElasticModulus() const
Allows the spring constant to be accessed.
void mix(HertzianViscoelasticNormalSpecies *const SBase, HertzianViscoelasticNormalSpecies *const TBase)
Calculates collision time for two copies of a particle of given disp, k, mass.
Mdouble elasticModulus_
normal spring constant
Computes normal forces for a Herztian visco-elastic interaction.
void read(std::istream &is)
Reads the species properties from an input stream.
void setDissipation(Mdouble dissipation)
Allows the normal dissipation to be changed.
HertzianViscoelasticInteraction InteractionType
The correct Interaction type for this FrictionForceSpecies.
HertzianViscoelasticNormalSpecies()
The default constructor.
Mdouble getDissipation() const
Allows the normal dissipation to be accessed.
Mdouble dissipation_
normal dissipation constant
std::string getBaseName() const
Used in Species::getName to obtain a unique name for each Species.
void write(std::ostream &os) const
Writes the species properties to an output stream.
HertzianViscoelasticNormalSpecies contains the parameters used to describe a Hertzian normal force (T...
virtual ~HertzianViscoelasticNormalSpecies()
The default destructor.