Hi Heinz, Have you checked following codes (both 2D and 3D cases provided) for particles inside a cubic volume: https://github.com/cfinch/Shocksolution_Examples/blob/master/PairCorrelation/paircorrelation.py
It might be possible to adapt that code from a cubic volume to a spherical one. For instance, it comes to mind evaluating if: rMax + d < R, where 'rMax' is as per code definition and 'd' is the distance of the particles from the center of the sphere with radius R Regards, Rafael _______________________________________________ users mailing list [email protected] http://lists.scilab.org/mailman/listinfo/users
