#include <gcu/element.h>
Public Member Functions | |
double | GetWeight (int Z, int &prec) |
int | GetZ () |
const char * | GetSymbol () |
char | GetDefaultValence () |
unsigned | GetMaxBonds () |
bool | GetBestSide () |
double * | GetDefaultColor () |
const char * | GetName () |
const GcuAtomicRadius ** | GetRadii () |
const GcuElectronegativity ** | GetElectronegativities () |
unsigned | GetValenceElectrons () |
unsigned | GetTotalValenceElectrons () |
unsigned | GetMaxValenceElectrons () |
double | GetWeight (int &prec) |
IsotopicPattern * | GetIsotopicPattern (unsigned natoms) |
Static Public Member Functions | |
static const gchar * | Symbol (gint Z) |
static bool | BestSide (gint Z) |
static gint | Z (const gchar *symbol) |
static Element * | GetElement (gint Z) |
static Element * | GetElement (const gchar *symbol) |
static bool | GetRadius (GcuAtomicRadius *radius) |
static bool | GetElectronegativity (GcuElectronegativity *en) |
static unsigned | GetMaxBonds (gint Z) |
static void | LoadRadii () |
static void | LoadElectronicProps () |
static void | LoadIsotopes () |
static void | LoadAllData () |
Definition at line 53 of file element.h.
|
|
|
This static method is used to know on what side of the symbol of the element attached hydrogens should be written.
|
|
Retreives the default color used for the element.
|
|
|
|
|
|
The programs searches an electronegativity value for the element in the scale if given. If one is found the value and the scale (if NULL on calling) are given the corresponding values of the first match before returning.
|
|
|
|
|
|
|
|
The value returned by this method might be too low in some cases and is only indicative. Instances of the Atom class accept any number of bonds. This behavior might change in future versions.
|
|
|
|
|
|
|
|
|
|
The programs searches a value corresponding to the fields having a non default value. If one is found the other fields are given the corresponding values f the first match before returning.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Loads all databases. |
|
Loads the atomic electronic properties database. |
|
Loads the isotopes database. |
|
Loads the atomic radii database. |
|
|
|
|