OpenMM
 All Classes Namespaces Functions Variables Pages
Element Class Reference

An Element represents a chemical element. More...

+ Inheritance diagram for Element:

Public Member Functions

def __init__
 

Static Public Member Functions

def getBySymbol
 Get the Element with a particular chemical symbol. More...
 
def getByAtomicNumber
 

Public Attributes

 atomic_number
 The atomic number of the element. More...
 
 name
 The name of the element. More...
 
 symbol
 The chemical symbol of the element. More...
 
 mass
 The atomic mass of the element. More...
 

Detailed Description

An Element represents a chemical element.

The simtk.openmm.app.element module contains objects for all the standard chemical elements, such as element.hydrogen or element.carbon. You can also call the static method Element.getBySymbol() to look up the Element with a particular chemical symbol.

Constructor & Destructor Documentation

def __init__ (   self,
  number,
  name,
  symbol,
  mass 
)

Member Function Documentation

def getByAtomicNumber (   atomic_number)
static
def getBySymbol (   symbol)
static

Get the Element with a particular chemical symbol.

Member Data Documentation

atomic_number

The atomic number of the element.

mass

The atomic mass of the element.

name

The name of the element.

Referenced by ForceField.__init__(), and Modeller.addSolvent().

symbol

The chemical symbol of the element.


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