|
| static unsigned char | elementCount () |
| static unsigned char | atomicNumberFromName (const std::string &name) |
| static unsigned char | atomicNumberFromSymbol (const std::string &symbol) |
| static unsigned char | guessAtomicNumber (const std::string &str) |
| static const char * | name (unsigned char atomicNumber) |
| static const char * | symbol (unsigned char atomicNumber) |
| static double | mass (unsigned char atomicNumber) |
| static double | radiusVDW (unsigned char atomicNumber) |
| static double | radiusCovalent (unsigned char atomicNumber) |
| static const unsigned char * | color (unsigned char atomicNumber) |
| static unsigned char | valenceElectrons (unsigned char atomicNumber) |
| static double | isotopeMass (unsigned char atomicNumber, unsigned short isotopeNumber) |
The elements class gives a simple interface to basic data about chemical elements.
The atomic numbers between the symbolic constants CustomElementMin and CustomElementMax are used to represent non-elemental entities, such as particles or structures units from MD simulations. Custom elements names and symbols are returned as name="CustomElement_aa" and symbol="Xaa", where 'aa' is some combination of lowercase letters that is unique to the particular custom element atomic number. For all custom elements, the radii will match Carbon, the color is random (but consistent), and the mass is zero.