|
SimpleFastOpenAtomicVisualiser
|
#include <cstdint>#include <map>#include <iostream>

Go to the source code of this file.
Enumerations | |
| enum class | Element : uint8_t { Unknown , H , He , Li , Be , B , C , N , O , F , Ne , Na , Mg , Al , Si , P , S , Cl , Ar , K , Ca , Sc , Ti , V , Cr , Mn , Fe , Co , Ni , Cu , Zn , Ga , Ge , As , Se , Br , Kr , Rb , Sr , Y , Zr , Nb , Mo , Tc , Ru , Rh , Pd , Ag , Cd , In , Sn , Sb , Te , I , Xe , Cs , Ba , La , Ce , Pr , Nd , Pm , Sm , Eu , Gd , Tb , Dy , Ho , Er , Tm , Yb , Lu , Hf , Ta , W , Re , Os , Ir , Pt , Au , Hg , Tl , Pb , Bi , Po , At , Rn , Fr , Ra , Ac , Th , Pa , U , Np , Pu , Am , Cm , Bk , Cf , Es , Fm , Md , No , Lw } |
| Representable elements. More... | |
Functions | |
| Element | stringSymbolToElement (const std::string &s) |
| Map a string symbol to an Element. | |
| float | stringSymbolToElementRadius (const std::string &s) |
| Map a string symbol to a VDW radius. | |
| std::ostream & | operator<< (std::ostream &o, const Element &e) |
| Print an Element to std::ostream. | |
Variables | |
| const std::map< std::string, Element > | ELEMENT_FROM_STRING |
| Map string symbols to Element. | |
| const std::map< std::string, std::string > | ELEMENT_NAME_TO_STRING_SYMBOL |
| Map Element names to string symbols. | |
| const std::map< Element, std::string > | STRING_FROM_ELEMENT |
| Map Element to string symbols. | |
| const std::map< Element, float > | ELEMENT_RADIUS |
| Map Element to a Van der Waals radius in Angstroms. | |
| const std::map< Element, float > | ELEMENT_MASS |
| Scaled element masses. | |
Representable elements.
| std::ostream & operator<< | ( | std::ostream & | o, |
| const Element & | e | ||
| ) |
Print an Element to std::ostream.
| o | the output stream to print to. |
| e | the Element to print. |
Map a string symbol to an Element.
| s | the string symbol |
Map a string symbol to a VDW radius.
| s | the string symbol to map. |
Map Element names to string symbols.
Map Element to a Van der Waals radius in Angstroms.