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[0] = tempPoint[0] - lower_x_boundary_coordinate_of_domain; similary for the y, z dimensions. Have not compiled it but committing it.
Showing
HOW_TO_COMPILE
0 → 100644
error-7476542
deleted
100644 → 0
error-7513445
deleted
100644 → 0
error-7584197
deleted
100644 → 0
This diff is collapsed.
No preview for this file type
final.mat
deleted
100644 → 0
File deleted
File deleted
output-7476542
deleted
100644 → 0
This diff is collapsed.
output-7513445
deleted
100644 → 0
output-7584197
deleted
100644 → 0
Please register or sign in to comment