http://server.ccl.net/cca/software/SOURCES/to_do_2/xyz2rgb/verlet-fun/verlet/c++/atom.h.shtml |
CCL atom.h | ||||
|
/* * Hacking atoms */ enum SPECIES { C_SP3, C_SP2, C_SP, H, N_SP3, N_SP2, N_SP, O_SP3, O_SP2 }; class atom { public: atom (void); atom (enum SPECIES species, double charge, double x0, double x1, double x2); enum SPECIES species; double mass, charge, evdw, rvdw; double x[3], v[3], f[3]; void zero_force (); void iterate_motion (double time_step); double kinetic_energy (); }; |
[ CCL Home Page ]
[ c++ ]
[ Raw Version of this page ]
Modified: Tue May 20 16:00:00 1997 GMT |
Page accessed 3896 times since Sat Apr 17 22:46:18 1999 GMT |