IMP logo
IMP Reference Guide  develop.63b38c487d,2024/12/21
The Integrative Modeling Platform
IMP::atom::ElementTable Class Reference

#include <IMP/atom/element.h>

Detailed Description

Class to translate between element symbols, names and masses.

Definition at line 146 of file element.h.

Public Member Functions

Element get_element (const std::string &s) const
 get element from the string name (PDB columns 77-78) More...
 
Float get_mass (Element e) const
 get mass for Element More...
 
std::string get_name (Element e) const
 get string name for Element More...
 

Member Function Documentation

Element IMP::atom::ElementTable::get_element ( const std::string &  s) const

get element from the string name (PDB columns 77-78)

Float IMP::atom::ElementTable::get_mass ( Element  e) const

get mass for Element

Definition at line 157 of file element.h.

std::string IMP::atom::ElementTable::get_name ( Element  e) const

get string name for Element


The documentation for this class was generated from the following file: