From fd94b6321dd2a6f6fd2fce06fb74d8d8c077fc86 Mon Sep 17 00:00:00 2001 From: jpekkila Date: Wed, 7 Aug 2019 18:16:34 +0300 Subject: [PATCH] Renamed globalGrid.n to globalGridN --- acc/mhd_solver/stencil_process.sps | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/acc/mhd_solver/stencil_process.sps b/acc/mhd_solver/stencil_process.sps index 1f6f190..813f51a 100644 --- a/acc/mhd_solver/stencil_process.sps +++ b/acc/mhd_solver/stencil_process.sps @@ -229,9 +229,9 @@ helical_forcing(Scalar magnitude, Vector k_force, Vector xx, Vector ff_re, Vecto // MV: Good idea. No an immediate priority. // Fun related article: // https://randomascii.wordpress.com/2014/10/09/intel-underestimates-error-bounds-by-1-3-quintillion/ - xx.x = xx.x*(2.0*M_PI/(dsx*globalGrid.n.x)); - xx.y = xx.y*(2.0*M_PI/(dsy*globalGrid.n.y)); - xx.z = xx.z*(2.0*M_PI/(dsz*globalGrid.n.z)); + xx.x = xx.x*(2.0*M_PI/(dsx*globalGridN.x)); + xx.y = xx.y*(2.0*M_PI/(dsy*globalGridN.y)); + xx.z = xx.z*(2.0*M_PI/(dsz*globalGridN.z)); Scalar cos_phi = cos(phi); Scalar sin_phi = sin(phi);