ENH: unroll loops for complexVector functions

STYLE: prefer STL naming real(), imag() instead of Re(), Im()
This commit is contained in:
Mark Olesen
2023-02-24 11:20:39 +01:00
parent f0a196a908
commit 28b492bd54
17 changed files with 498 additions and 204 deletions

View File

@ -73,7 +73,7 @@ void Foam::functionObjects::energySpectrum::calcAndWriteSpectrum
(
fft::forwardTransform
(
ReComplexField(U),
ComplexField(U, vector::zero),
List<int>({N.x(), N.y(), N.z()})
)
/scalar(cmptProduct(N))