In create_point_sources() and create_point_sinks() in the main()
function, when we calculate the coordinates of the MPI process corresponding to the (x,y,z) position of the Basic Agent, we were not subtracting the initial starting coordinates of the physical domain from the tempPoint array. This will not work when the physical domain starts from a non-zero value. Thus added tempPoint = tempPoint - lower_x_boundary_coordinate_of_domain; similary for the y, z dimensions. Have not compiled it but committing it.
Showing with 35 additions and 1627 deletions