Log::logger().warn("[ FANS3D_Grid ] WARNING: n_x is not a multiple of 2");
if (dims[1] % 2 != 0)
Log::logger().warn("[ FANS3D_Grid ] WARNING: n_y is not a multiple of 2");
if (dims[2] % 2 != 0)
Log::logger().warn("[ FANS3D_Grid ] WARNING: n_z is not a multiple of 2");
if (dims[0] / 4 < world_size)
throwstd::runtime_error("[ FANS3D_Grid ] ERROR: Please decrease the number of processes or increase the grid size to ensure that each process has at least 4 boxels in the x direction.");