![]() |
Rosetta Core
2014.16.56682
|
stores element properties More...
#include <Element.hh>
Public Types | |
| enum | Properties { Mass, CovalentRadius, VDWaalsRadius, NumberOfProperties } |
| enum properties for element types More... | |
Public Member Functions | |
| Element () | |
| construct undefined element More... | |
| Element (const core::Size ATOMIC_NUMBER, const core::Size PERIOD, const core::Size MAIN_GROUP, const std::string &CHEMICAL_SYMBOL, const std::string &CHEMICAL_NAME, const core::Real MASS, const core::Real COVALENT_RADIUS, const core::Real VDW_RADIUS, const ElectronConfiguration &ELECTRON_CONFIGURATION) | |
| construct element from all its data More... | |
| ElementOP | Clone () const |
| virtual copy constructor More... | |
| core::Size | get_atomic_number () const |
| atomic number More... | |
| core::Size | get_period () const |
| core::Size | get_main_group () const |
| const std::string & | get_chemical_symbol () const |
| GetChemicalSymbol. More... | |
| const std::string & | get_chemical_name () const |
| GetChemicalName. More... | |
| core::Real | get_property (const Element::Properties &PROPERTY) const |
| element type property as core::Real More... | |
| const ElectronConfiguration & | get_electron_configuration () const |
| electron configuration More... | |
| bool | is_conjugatable () const |
| tell whether this element type can participate in a conjugated system More... | |
| Real | weight () const |
| Return the full name of the Element. More... | |
| bool | is_fake () const |
| Return true unless the element actually exists in the periodic table. More... | |
| std::istream & | read (std::istream &ISTREAM) |
| read from std::istream More... | |
| std::ostream & | write (std::ostream &OSTREAM) const |
| write to std::ostream More... | |
Static Public Member Functions | |
| static const std::string & | get_property_name (const Properties &PROPERTY) |
| element type property as string More... | |
Private Attributes | |
| core::Size | atomic_number_ |
| atomic number More... | |
| core::Size | period_ |
| Period. More... | |
| core::Size | main_group_ |
| Group # in the main group (1-8) such as transistion metals. More... | |
| std::string | chemical_symbol_ |
| ChemicalSymbol. More... | |
| std::string | chemical_name_ |
| ChemicalName. More... | |
| ElectronConfiguration | electron_configuration_ |
| electron configuration More... | |
| utility::vector0< core::Real > | properties_ |
| real-valued properties More... | |
stores element properties
This is a low level helper class to store element properties
| core::chemical::Element::Element | ( | ) |
construct undefined element
References get_undefined_real(), and get_undefined_size().
Referenced by Clone().
| core::chemical::Element::Element | ( | const core::Size | ATOMIC_NUMBER, |
| const core::Size | PERIOD, | ||
| const core::Size | MAIN_GROUP, | ||
| const std::string & | CHEMICAL_SYMBOL, | ||
| const std::string & | CHEMICAL_NAME, | ||
| const core::Real | MASS, | ||
| const core::Real | COVALENT_RADIUS, | ||
| const core::Real | VDW_RADIUS, | ||
| const ElectronConfiguration & | ELECTRON_CONFIGURATION | ||
| ) |
construct element from all its data
| ATOMIC_NUMBER | - number in the PSE |
| PERIOD | - in which period is the element |
| MAIN_GROUP | - in which of the main groups does the element belong (0 for transition metals) |
| CHEMICAL_SYMBOL | - one or two letters as in international PSE, first letter capital |
| CHEMICAL_NAME | - full international name (first letter capital) |
| MASS | - the atomic mass as a weighted avergage of all isotopes |
| COVALENT_RADIUS | - radius of atom with electrons |
| VDW_RADIUS | - vdw radius |
| ELECTRON_CONFIGURATION | - the electron configuration |
|
inline |
|
inline |
GetChemicalName.
References chemical_name_.
Referenced by core::chemical::gasteiger::PossibleAtomTypesForAtom::FindPossibleAtomTypesForAtom().
|
inline |
GetChemicalSymbol.
References chemical_symbol_.
Referenced by core::chemical::gasteiger::PossibleAtomTypesForAtom::FindPossibleAtomTypesForAtom().
|
inline |
|
inline |
References main_group_.
|
inline |
References period_.
|
inline |
element type property as core::Real
| PROPERTY | the property desired |
References properties_.
|
static |
element type property as string
| PROPERTY | the property desired |
|
inline |
tell whether this element type can participate in a conjugated system
References electron_configuration_, and core::chemical::ElectronConfiguration::valence_electrons_p().
|
inline |
Return true unless the element actually exists in the periodic table.
References atomic_number_.
| std::istream & core::chemical::Element::read | ( | std::istream & | ISTREAM | ) |
read from std::istream
| ISTREAM | input stream |
References atomic_number_, chemical_name_, chemical_symbol_, electron_configuration_, main_group_, NumberOfProperties, period_, properties_, core::chemical::gasteiger::safe_read(), tag, and utility_exit_with_message.
Referenced by core::chemical::operator>>().
|
inline |
Return the full name of the Element.
This is legacy code from old element set
References Mass, and properties_.
| std::ostream & core::chemical::Element::write | ( | std::ostream & | OSTREAM | ) | const |
write to std::ostream
| OSTREAM | output stream |
| OSTREAM | output stream |
| INDENT | number of indentations |
References atomic_number_, chemical_name_, chemical_symbol_, electron_configuration_, main_group_, NumberOfProperties, period_, properties_, and core::chemical::gasteiger::safe_write().
Referenced by core::chemical::operator<<().
|
private |
atomic number
Referenced by get_atomic_number(), is_fake(), read(), and write().
|
private |
ChemicalName.
Referenced by get_chemical_name(), read(), and write().
|
private |
ChemicalSymbol.
Referenced by get_chemical_symbol(), read(), and write().
|
private |
electron configuration
Referenced by get_electron_configuration(), is_conjugatable(), read(), and write().
|
private |
Group # in the main group (1-8) such as transistion metals.
Referenced by get_main_group(), read(), and write().
|
private |
Period.
Referenced by get_period(), read(), and write().
|
private |
real-valued properties
Referenced by get_property(), read(), weight(), and write().
1.8.7