MADNESS  version 0.9
Public Member Functions | Public Attributes | List of all members
madness::Atom Class Reference

#include <molecule.h>

Inheritance diagram for madness::Atom:
Inheritance graph
[legend]

Public Member Functions

 Atom (double x, double y, double z, double q, unsigned int atomic_number)
 
 Atom (const Atom &a)
 
 Atom ()
 Default construct makes a zero charge ghost atom at origin. More...
 
madness::Vector< double, 3 > get_coords () const
 
template<typename Archive >
void serialize (Archive &ar)
 

Public Attributes

double x
 
double y
 
double z
 
double q
 Coordinates and charge in atomic units. More...
 
unsigned int atomic_number
 Atomic number. More...
 

Constructor & Destructor Documentation

madness::Atom::Atom ( double  x,
double  y,
double  z,
double  q,
unsigned int  atomic_number 
)
inlineexplicit
madness::Atom::Atom ( const Atom a)
inline
madness::Atom::Atom ( )
inline

Default construct makes a zero charge ghost atom at origin.

Member Function Documentation

madness::Vector<double,3> madness::Atom::get_coords ( ) const
inline
template<typename Archive >
void madness::Atom::serialize ( Archive &  ar)
inline

References atomic_number.

Member Data Documentation

unsigned int madness::Atom::atomic_number
double madness::Atom::q
double madness::Atom::x
double madness::Atom::y
double madness::Atom::z

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