chemmisol 0.1
|
#include <system.h>
Public Member Functions | |
InvalidMineralSpeciesWithUndefinedSitesCount (const ChemicalSystem *chemical_system, const std::string &name) | |
const char * | what () const noexcept override |
Public Member Functions inherited from chemmisol::InvalidSpecies | |
const ChemicalSystem & | getChemicalSystem () const |
const std::string & | getName () const |
Phase | getPhase () const |
Additional Inherited Members | |
Protected Member Functions inherited from chemmisol::InvalidSpecies | |
InvalidSpecies (const ChemicalSystem *chemical_system, const std::string &name, Phase phase) | |
Exception thrown when trying to add a mineral species to a chemical system where the mineral sites count is not properly defined.
chemmisol::InvalidMineralSpeciesWithUndefinedSitesCount::InvalidMineralSpeciesWithUndefinedSitesCount | ( | const ChemicalSystem * | chemical_system, |
const std::string & | name | ||
) |
Defines an InvalidMineralSpeciesWithUndefinedSitesCount exception.
chemical_system | chemical system with an invalid sites count. |
name | Name of the mineral species that cannot be added to the system. |
|
inlineoverridenoexcept |
Returns a message that contains suggestions about how to solve the issue.