SCVector3 xyz1(int i, const SCVector3 &O=SCVector3(0.0)) const
Cartesian coordinates of particle 1 at grid point i with respect to origin O.
Class TwoBodyGrid describes a set of coordinates of 2 particles.
Definition: twobodygrid.h:43
void save_data_state(StateOut &)
Save the base classes (with save_data_state) and the members in the same order that the StateIn CTOR ...
SCVector3 xyz2(int i, const SCVector3 &O=SCVector3(0.0)) const
Cartesian coordinates of particle 2 at grid point i with respect to origin O.
SCVector3 rtp2(int i, const SCVector3 &O=SCVector3(0.0)) const
Spherical polar coordinates of particle 2 at grid point i with respect to origin O.
SCVector3 rtp1(int i, const SCVector3 &O=SCVector3(0.0)) const
Spherical polar coordinates of particle 1 at grid point i with respect to origin O.
void print(std::ostream &o=ExEnv::out0()) const
Prints out this.