SBMElementTable Class Reference

This class is used to describe the periodic table. More...

Elements

static const SBElementgetElement (SBMElement::Type element)
 Returns a reference to periodic table element element.
 
static SBMElement *const * getElementVector ()
 Returns the vector of periodic table elements.
 
static unsigned int getNumberOfElements ()
 Returns the number of periodic table elements.
 
static std::string getElementName (SBMElement::Type element)
 Returns the name of periodic table element element.
 
static std::string getElementSymbol (SBMElement::Type element)
 Returns the symbol of periodic table element element.
 
static std::string getPeriod (SBMElement::Type element)
 Returns the period of periodic table element element.
 
static unsigned int getGroup (SBMElement::Type element)
 Returns the group of periodic table element element.
 
static std::string getBlock (SBMElement::Type element)
 Returns the block of periodic table element element.
 
static SBQuantity::mass getAtomicWeight (SBMElement::Type element)
 Returns the atomic weight of periodic table element element.
 
static SBQuantity::length getCovalentRadius (SBMElement::Type element)
 Returns the covalent radius of periodic table element element.
 
static SBQuantity::length getVanDerWaalsRadius (SBMElement::Type element)
 Returns the van der Waals radius of periodic table element element.
 
static SBQuantity::dimensionless getElectronegativity (SBMElement::Type element)
 Returns the electronegativity of periodic table element element.
 
static SBElement::Type getElementTypeByName (char *elementName)
 Returns the type of periodic table element named elementName.
 
static SBElement::Type getElementTypeByName (const std::string &elementName)
 Returns the type of periodic table element named elementName.
 
static SBElement::Type getElementTypeBySymbol (char *elementSymbol)
 Returns the type of periodic table element with symbol elementSymbol.
 
static SBElement::Type getElementTypeBySymbol (const std::string &elementSymbol)
 Returns the type of periodic table element with symbol elementSymbol.
 

Debugging

virtual void print () const
 Prints the periodic table.
 

Detailed Description

This class is used to describe the periodic table in SAMSON.

Typically, this class is used when accessing properties of periodic table elements:

Note that convenience functions exist in atoms to access the properties of their element:

SBQuantity::length r = atom->getCovalentRadius();

Short name: SBElementTable
Short name: SBPeriodicTable

See also
SBMElement
SAMSON's unit system