IMP logo
IMP Reference Guide  develop.7482b7c7af, 2026/12/05
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)
Float get_mass (Element e) const
 get mass for Element
std::string get_name (Element e) const
 get string name for Element

Member Function Documentation

◆ get_element()

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

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

◆ get_mass()

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

get mass for Element

Definition at line 157 of file element.h.

◆ get_name()

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: