mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
fftRenumber: Corrected namespace
This commit is contained in:
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -32,16 +32,7 @@ Description
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
namespace Foam
|
void Foam::fftRenumberRecurse
|
||||||
{
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
// recursively evaluate the indexing necessary to do the folding of
|
|
||||||
// the fft data. We recurse until we have the indexing ncessary for
|
|
||||||
// the folding in all directions.
|
|
||||||
|
|
||||||
void fftRenumberRecurse
|
|
||||||
(
|
(
|
||||||
List<complex>& data,
|
List<complex>& data,
|
||||||
List<complex>& renumData,
|
List<complex>& renumData,
|
||||||
@ -101,12 +92,7 @@ void fftRenumberRecurse
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// fftRenumber : fold the n-d data array to get the fft components in
|
void Foam::fftRenumber
|
||||||
// the right places.
|
|
||||||
|
|
||||||
#include "fftRenumber.H"
|
|
||||||
|
|
||||||
void fftRenumber
|
|
||||||
(
|
(
|
||||||
List<complex>& data,
|
List<complex>& data,
|
||||||
const labelList& nn
|
const labelList& nn
|
||||||
@ -135,8 +121,4 @@ void fftRenumber
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
|
||||||
|
|
||||||
} // End namespace Foam
|
|
||||||
|
|
||||||
// ************************************************************************* //
|
// ************************************************************************* //
|
||||||
|
|||||||
@ -2,7 +2,7 @@
|
|||||||
========= |
|
========= |
|
||||||
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
|
||||||
\\ / O peration |
|
\\ / O peration |
|
||||||
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
|
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
|
||||||
\\/ M anipulation |
|
\\/ M anipulation |
|
||||||
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
||||||
License
|
License
|
||||||
@ -47,6 +47,22 @@ namespace Foam
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
|
||||||
|
|
||||||
|
// Recursively evaluate the indexing necessary to do the folding of the fft
|
||||||
|
// data. We recurse until we have the indexing ncessary for the folding in all
|
||||||
|
// directions.
|
||||||
|
void fftRenumberRecurse
|
||||||
|
(
|
||||||
|
List<complex>& data,
|
||||||
|
List<complex>& renumData,
|
||||||
|
const labelList& nn,
|
||||||
|
label nnprod,
|
||||||
|
label ii,
|
||||||
|
label l1,
|
||||||
|
label l2
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
|
// Fold the n-d data array to get the fft components in the right places.
|
||||||
void fftRenumber
|
void fftRenumber
|
||||||
(
|
(
|
||||||
List<complex>& data,
|
List<complex>& data,
|
||||||
|
|||||||
Reference in New Issue
Block a user