1
0
Fork 0
mirror of https://github.com/cosmo-sims/monofonIC.git synced 2024-09-19 17:03:45 +02:00

fix overall minus in PANPHASIA noise

This commit is contained in:
Oliver Hahn 2020-06-04 13:59:02 +02:00
parent 17569ea172
commit fdc607dafa

View file

@ -502,6 +502,9 @@ public:
auto y1(g1.kelem(i, j, k)), y2(g2.kelem(i, j, k)), y3(g3.kelem(i, j, k)), y4(g4.kelem(i, j, k));
g0.kelem(i, j, k) += 3.0 * (y1 * gx * gy * fz + y2 * fx * gy * gz + y3 * gx * fy * gz) + sqrt27 * y4 * gx * gy * gz;
// fix the overall minus w.r.t. the monofonic noise definition
g0.kelem(i, j, k ) *= -1.0;
}
}
}