• Gaurav Saxena's avatar
    In create_point_sources() and create_point_sinks() in the main() · 011ee4e2
    Gaurav Saxena authored
    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[0] = tempPoint[0] - lower_x_boundary_coordinate_of_domain;
    similary for the y, z dimensions.
    Have not compiled it but committing it.
    011ee4e2