|
MSpin-JCoupling
2.1
|
representation of an atom More...
#include <atom.h>
Classes | |
| class | AtomData |
| basic atomic data (Z, mass, electronegativity...) More... | |
| class | IsotopeData |
Public Types | |
| enum | hybridization { UNKNOWN =0, SP, SP2, SP3 } |
Public Member Functions | |
| Atom (const std::string &symbol) | |
| Atom (int z) | |
| double | AtomicMass () const |
| void | Color (float *r, float *g, float *b) const |
| int | Z () const |
| double | VdW () const |
| double | CovalentRadius () const |
| double | PaulingElectronegativity () const |
| const std::string & | Symbol () const |
| void | SetSymbol (const std::string &symbol) |
| void | SetZ (int z) |
| void | SetPDBResidue (PDBResidue *r) |
| PDBResidue * | Residue () |
| const PDBResidue * | Residue () const |
| void | SetPDBName (const std::string &name) |
| const std::string & | PDBName () const |
| const std::pair< const int, const IsotopeData > * | NMRIsotope () const |
| void | SetCurrentNMRIsotope (int m) |
| const std::map< const int, const IsotopeData > & | NMRIsotopes () const |
| size_t | MMType () const |
| void | SetMMType (size_t mmtype) |
representation of an atom
This class stores basic info about an atom such its atomic number, mass, default color to be drawn and Pauling electronegativity
hybridization of the atom
|
inline |
Construct atom with atomic symbol
| symbol | This functions setup all atomic data adequately |
|
inline |
Construct atom with atomic number
| z | This functions setup all atomic data adequately |
|
inline |
Return isotopically promediated atomic mass
| void magnes::Atom::Color | ( | float * | r, |
| float * | g, | ||
| float * | b | ||
| ) | const |
fill
| r |
|
inline |
|
inline |
return the molecular mechanics type index
| const std::pair<const int,const IsotopeData>* magnes::Atom::NMRIsotope | ( | ) | const |
Get data for the active NMR isotope
|
inline |
return the list of atomic isotopes
|
inline |
|
inline |
return the PDB name
|
inline |
return a pointer to the PDB residue
|
inline |
return a const pointer to the PDB residue
| void magnes::Atom::SetCurrentNMRIsotope | ( | int | m | ) |
Set the active isotope to that of mass number m
|
inline |
Set the molecular type index;
References magnes::DefaultNMRProperties(), magnes::GetPeriodicTable(), magnes::SymbolFromZ(), and magnes::ZFromSymbol().
|
inline |
Set the PDB Name
|
inline |
Set a pointer to the molecule pdb residues table
| void magnes::Atom::SetSymbol | ( | const std::string & | symbol | ) |
Set the atomic symbol to
| symbol | and change Z |
| void magnes::Atom::SetZ | ( | int | z | ) |
Set the atomic number to
| z | and set symbol |
|
inline |
|
inline |
|
inline |
1.8.12