--- trunk/mdtools/headers/Atom.hpp 2003/01/17 21:53:33 237 +++ trunk/mdtools/headers/Atom.hpp 2003/01/30 15:20:21 253 @@ -87,6 +87,11 @@ class Atom{ (public) int getIdent( void ) { return ident; } void setIdent( int info ) { ident = info; } +#ifdef IS_MPI + int getGlobalIndex( void ) { return myGlobalIndex; } + void setGlobalIndex( int info ) { myGlobalIndex = info; } +#endif // is_mpi + void set_n_hydrogens( int n_h ) {c_n_hyd = n_h;} int get_n_hydrogens() const {return c_n_hyd;} @@ -125,6 +130,10 @@ class Atom{ (public) int has_dipole; // dipole boolean int is_VDW; // VDW boolean int is_LJ; // LJ boolean + +#ifdef IS_MPI + int myGlobalIndex; +#endif };