Skip to content
Snippets Groups Projects
Commit e73d2c5d authored by Andrew Heather's avatar Andrew Heather
Browse files

BUG: surfaceNoise - corrected fftWriteInterval operation

parent 05df4c71
Branches
Tags
No related merge requests found
......@@ -562,7 +562,7 @@ void surfaceNoise::calculate()
forAll(surfPrmsf, i)
{
label freqI = i*fftWriteInterval_;
label freqI = (i + 1)*fftWriteInterval_ - 1;
fOut[i] = freq1[freqI];
const word& fName = inputFileName_.name(true);
const word gName = "fft";
......
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