void computeMass(BaseParticle *p) const
Compute Particle mass function, which required a reference to the Species vector. It computes the Par...
std::string getBaseName() const
Used in Species::getName to obtain a unique name for each Species.
Mdouble getVolumeFromRadius(const Mdouble radius) const
virtual BaseSpecies * copyMixed() const =0
Creates a new MixedSpecies with the same force properties as the Species from which it is called...
Mdouble getMassFromRadius(const Mdouble radius) const
void setDensity(Mdouble density)
Allows density_ to be changed.
void write(std::ostream &os) const
Writes the species properties to an output stream.
void read(std::istream &is)
Reads the species properties from an input stream.
Mdouble getDensity() const
Allows density_ to be accessed.
BaseInteraction InteractionType
virtual ~ParticleSpecies()
The default destructor.
virtual ParticleSpecies * copy() const =0
Creates a deep copy of the object from which it is called.