Bugfix for checking image flags

This commit is contained in:
irisTa56
2017-10-09 21:29:07 +09:00
parent 88a33edb50
commit 534b7adde4

View File

@ -772,7 +772,7 @@ void Domain::image_check()
delz = unwrap[i][2] - unwrap[k][2];
if (xperiodic && delx > xprd_half) flag = 1;
if (xperiodic && dely > yprd_half) flag = 1;
if (yperiodic && dely > yprd_half) flag = 1;
if (dimension == 3 && zperiodic && delz > zprd_half) flag = 1;
if (!xperiodic && delx > xprd) flag = 1;
if (!yperiodic && dely > yprd) flag = 1;