We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 330d8b5 commit 8a2b530Copy full SHA for 8a2b530
src/pre_process/m_perturbation.fpp
@@ -214,7 +214,7 @@ contains
214
215
! Compute mode direction by two-time cross product
216
sig_tmp = f_cross(xi, khat)
217
- sig_tmp = sig_tmp/sqrt(sum(sig_tmp**2))
+ sig_tmp = sig_tmp/sqrt(sum(sig_tmp**2._wp))
218
sig = f_cross(khat, sig_tmp)
219
220
! Compute perturbation for each grid
@@ -264,8 +264,8 @@ contains
264
real(wp) :: zeta, xi
265
real(wp), dimension(3) :: vec
266
267
- xi = 2.0_wp*pi*theta
268
- zeta = acos(2.0_wp*eta - 1.0_wp)
+ xi = 2._wp*pi*theta
+ zeta = acos(2._wp*eta - 1._wp)
269
vec(1) = sin(zeta)*cos(xi)
270
vec(2) = sin(zeta)*sin(xi)
271
vec(3) = cos(zeta)
0 commit comments