Commit f94e6cc5 authored by Spencer Sherwin's avatar Spencer Sherwin

Merge branch 'baseflowLinearisedAdvection' into 'master'

remove phase shift in fft coefficients issue #208

See merge request !1146
parents f6a50853 7902119e
......@@ -702,16 +702,6 @@ void LinearisedAdvection::DFT(const string file,
}
#endif
//scaling of the Fourier coefficients
NekDouble j=-1;
for (int i = 2; i < m_slices; i += 2)
{
Vmath::Smul(2*npoints,j,&m_interp[k][i*npoints],1,&m_interp[k][i*npoints],1);
j=-j;
}
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment