31#ifndef PRIMITIVES_ELEMENT_HPP
32#define PRIMITIVES_ELEMENT_HPP
59 Element(
int num,
const char* sym, RealType ARENeg, RealType rcov,
60 RealType rvdw,
int maxbo, RealType mass, RealType elNeg,
61 RealType ionize, RealType elAffin, RealType red, RealType green,
62 RealType blue, std::string name) :
64 name_(name), Rcov_(rcov), Rvdw_(rvdw), mass_(mass), elNeg_(elNeg),
65 ARENeg_(ARENeg), ionize_(ionize), elAffinity_(elAffin), red_(red),
66 green_(green), blue_(blue), maxbonds_(maxbo) {
67 symbol_.assign(sym, 3);
80 const char*
GetSymbol() {
return (symbol_.c_str()); }
158 RealType Rcov_, Rvdw_, mass_, elNeg_, ARENeg_, ionize_, elAffinity_;
159 RealType red_, green_, blue_;
RealType GetVdwRad()
Returns the van der Waals radius of this element.
const char * GetSymbol()
Returns the atomic symbol for this element.
RealType GetMass()
Returns the standard atomic mass for this element (in amu)
RealType GetAllredRochowElectroNeg()
Returns the Allred-Rochow electronegativity for this element.
RealType GetCovalentRad()
Returns the covalent radius of this element.
RealType GetGreen()
Returns the green component of this element's default color.
RealType GetElectroNeg()
Returns the Pauling electronegativity for this element.
Element(int num, const char *sym, RealType ARENeg, RealType rcov, RealType rvdw, int maxbo, RealType mass, RealType elNeg, RealType ionize, RealType elAffin, RealType red, RealType green, RealType blue, std::string name)
Constructor.
int GetAtomicNum()
Returns the atomic number of this element.
RealType GetBlue()
Returns the blue component of this element's default color.
RealType GetElectronAffinity()
Returns the electron affinity (in eV) of this element.
std::string GetName()
Returns the name of this element (in English)
int GetMaxBonds()
Returns the maximum expected number of bonds to this element.
RealType GetIonization()
Returns the ionization potential (in eV) of this element.
RealType GetRed()
Returns the red component of this element's default visualization color.
This basic Periodic Table class was originally taken from the data.cpp file in OpenBabel.