Cover Z4C CUDA AMR restrict prolong
This commit is contained in:
@@ -7678,15 +7678,15 @@ __device__ __forceinline__ double load_comm_state_cell_sym(const double * __rest
|
||||
{
|
||||
double s = 1.0;
|
||||
if (x < 0) {
|
||||
x = -x - 1;
|
||||
x = -x;
|
||||
s *= d_comm_state_soa[3 * state_index + 0];
|
||||
}
|
||||
if (y < 0) {
|
||||
y = -y - 1;
|
||||
y = -y;
|
||||
s *= d_comm_state_soa[3 * state_index + 1];
|
||||
}
|
||||
if (z < 0) {
|
||||
z = -z - 1;
|
||||
z = -z;
|
||||
s *= d_comm_state_soa[3 * state_index + 2];
|
||||
}
|
||||
const int src = x + y * nx + z * nx * ny;
|
||||
|
||||
Reference in New Issue
Block a user