votca 2024.2-dev
|
information about an element More...
#include <elements.h>
Public Member Functions | |
bool | isElement (std::string name) |
Determine if the name is a recognized element symbol or name. | |
double | getVdWChelpG (std::string name) |
double | getVdWMK (std::string name) |
Index | getNucCrg (std::string name) |
Return the Nuclear charges of each atom. H - 1, He - 2, Na - 3 etc... | |
Index | getEleNum (std::string name) |
double | getMass (std::string name) |
Returns the mass of each atom in a.u. | |
double | getPolarizability (std::string name) |
Returns the atomic polarisability of atom. | |
double | getCovRad (std::string name, std::string unit) |
Returns the covalent Radii of the atom. | |
std::string | getEleName (Index elenum) |
std::string | getEleShort (std::string elefull) |
bool | isEleShort (std::string shortname) |
Is eleshort recognized an element symbol i.e. H, C, He, Ne etc. | |
bool | isEleFull (std::string fullname) |
Is elefull recognized as an element name i.e. Carbon, HYDROGEN, suphur. | |
bool | isMassAssociatedWithElement (double mass, double tolerance) |
std::string | getEleShortClosestInMass (double mass, double tolerance) |
std::string | getEleFull (std::string eleshort) |
Private Member Functions | |
std::pair< std::string, double > | findShortNameOfElementClosestInMass (double mass) |
void | FillMass () |
void | FillVdWChelpG () |
void | FillNucCrg () |
void | FillCovRad () |
void | FillEleNum () |
void | FillEleName () |
void | FillEleShort () |
void | FillEleFull () |
void | FillVdWMK () |
void | FillPolarizability () |
Private Attributes | |
bool | filled_VdWChelpG_ = false |
bool | filled_VdWMK_ = false |
bool | filled_NucCrg_ = false |
bool | filled_CovRad_ = false |
bool | filled_Mass_ = false |
bool | filled_EleNum_ = false |
bool | filled_EleName_ = false |
bool | filled_ElPolarizability_ = false |
bool | filled_EleShort_ = false |
bool | filled_EleFull_ = false |
std::map< std::string, double > | VdWChelpG_ |
std::map< std::string, double > | VdWMK_ |
std::map< std::string, Index > | NucCrg_ |
std::map< std::string, double > | CovRad_ |
std::map< std::string, double > | Mass_ |
std::map< std::string, Index > | EleNum_ |
std::map< Index, std::string > | EleName_ |
std::map< std::string, double > | ElPolarizability_ |
std::map< std::string, std::string > | EleShort_ |
std::map< std::string, std::string > | EleFull_ |
information about an element
The Elements class stores properties of several elements in the periodic table includeing: mass, element name, element symbol, van der Waals radius, effective nuclear potential, element number as it appears in the periodic table.
Definition at line 42 of file elements.h.
|
private |
Definition at line 384 of file elements.cc.
|
private |
Definition at line 688 of file elements.cc.
|
private |
Definition at line 537 of file elements.cc.
|
private |
Definition at line 462 of file elements.cc.
|
private |
Definition at line 613 of file elements.cc.
|
private |
Definition at line 209 of file elements.cc.
|
private |
Definition at line 308 of file elements.cc.
|
private |
Definition at line 785 of file elements.cc.
|
private |
Definition at line 284 of file elements.cc.
|
private |
Definition at line 763 of file elements.cc.
|
private |
Finds the element closest in mass and returns the difference as well as the string of elements short name
Definition at line 192 of file elements.cc.
double votca::tools::Elements::getCovRad | ( | std::string | name, |
std::string | unit ) |
Returns the covalent Radii of the atom.
Definition at line 109 of file elements.cc.
std::string votca::tools::Elements::getEleFull | ( | std::string | eleshort | ) |
Provided the element symbol returns the element name "Pb" = "LEAD", "Na" = "SODIUM", ....
Definition at line 137 of file elements.cc.
std::string votca::tools::Elements::getEleName | ( | Index | elenum | ) |
Provided the element number returns the symbol for the element name (1) = "H", (2) = "He", ...
Definition at line 129 of file elements.cc.
Index votca::tools::Elements::getEleNum | ( | std::string | name | ) |
Similar to the Nuclear charges but returns in integer form represents the id of the atom in the periodic table, the id starts at 1
Definition at line 49 of file elements.cc.
std::string votca::tools::Elements::getEleShort | ( | std::string | elefull | ) |
Provided the full element name returns the element symbol "Hydrogen" = "H", "HELIUM" = "He",...
Definition at line 145 of file elements.cc.
std::string votca::tools::Elements::getEleShortClosestInMass | ( | double | mass, |
double | tolerance ) |
Get the shortened element name given a mass similar in size to one of the elements. Provided the mass is within the specified tolerance of the match.
Definition at line 178 of file elements.cc.
double votca::tools::Elements::getMass | ( | std::string | name | ) |
Returns the mass of each atom in a.u.
Definition at line 62 of file elements.cc.
Index votca::tools::Elements::getNucCrg | ( | std::string | name | ) |
Return the Nuclear charges of each atom. H - 1, He - 2, Na - 3 etc...
Definition at line 36 of file elements.cc.
double votca::tools::Elements::getPolarizability | ( | std::string | name | ) |
Returns the atomic polarisability of atom.
Definition at line 97 of file elements.cc.
double votca::tools::Elements::getVdWChelpG | ( | std::string | name | ) |
ChelpG is a method for calculating the electrostatic potential outside of a molecule. The VdWChelpG radius in this case is specific to each element and defines the radius outside of which the electrostatic potential is calculated. The electrostatic potential within the radius is not calculated. For more information see the reference paper CHELPG paper [Journal of Computational Chemistry 11, 361, 1990]
Definition at line 75 of file elements.cc.
double votca::tools::Elements::getVdWMK | ( | std::string | name | ) |
Merz-Singh-Kollman MK method is a similar method for calculating the electrostatic potential outside of a molecule. Details of the method can be found here [Singh, U. Chandra (04/01/1984). "An approach to computing electrostatic charges for molecules". Journal of computational chemistry 5 (2), 129, 1984]. The VdWMK method will return the radii used to define where the electrostatic grid starts.
Definition at line 86 of file elements.cc.
bool votca::tools::Elements::isEleFull | ( | std::string | fullname | ) |
Is elefull
recognized as an element name i.e. Carbon, HYDROGEN, suphur.
Definition at line 153 of file elements.cc.
bool votca::tools::Elements::isElement | ( | std::string | name | ) |
Determine if the name is a recognized element symbol or name.
Definition at line 32 of file elements.cc.
bool votca::tools::Elements::isEleShort | ( | std::string | shortname | ) |
Is eleshort
recognized an element symbol i.e. H, C, He, Ne etc.
Definition at line 162 of file elements.cc.
bool votca::tools::Elements::isMassAssociatedWithElement | ( | double | mass, |
double | tolerance ) |
Definition at line 170 of file elements.cc.
|
private |
Definition at line 123 of file elements.h.
|
private |
Definition at line 131 of file elements.h.
|
private |
Definition at line 126 of file elements.h.
|
private |
Definition at line 125 of file elements.h.
|
private |
Definition at line 130 of file elements.h.
|
private |
Definition at line 128 of file elements.h.
|
private |
Definition at line 112 of file elements.h.
|
private |
Definition at line 118 of file elements.h.
|
private |
Definition at line 115 of file elements.h.
|
private |
Definition at line 114 of file elements.h.
|
private |
Definition at line 117 of file elements.h.
|
private |
Definition at line 116 of file elements.h.
|
private |
Definition at line 113 of file elements.h.
|
private |
Definition at line 111 of file elements.h.
|
private |
Definition at line 109 of file elements.h.
|
private |
Definition at line 110 of file elements.h.
|
private |
Definition at line 124 of file elements.h.
|
private |
Definition at line 122 of file elements.h.
|
private |
Definition at line 120 of file elements.h.
|
private |
Definition at line 121 of file elements.h.