ENH: Minor coding enhancements

This commit is contained in:
andy
2012-12-04 17:05:46 +00:00
parent e7d92199f3
commit 2a53a01841

View File

@ -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-2012 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
@ -37,7 +37,6 @@ Foam::scalar Foam::noiseFFT::p0 = 2e-5;
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
// Construct from pressure field
Foam::noiseFFT::noiseFFT Foam::noiseFFT::noiseFFT
( (
const scalar deltat, const scalar deltat,
@ -49,7 +48,6 @@ Foam::noiseFFT::noiseFFT
{} {}
// Construct from pressure field file name
Foam::noiseFFT::noiseFFT(const fileName& pFileName, const label skip) Foam::noiseFFT::noiseFFT(const fileName& pFileName, const label skip)
: :
scalarField(), scalarField(),
@ -103,7 +101,7 @@ Foam::noiseFFT::noiseFFT(const fileName& pFileName, const label skip)
deltat_ = T/pData.size(); deltat_ = T/pData.size();
scalarField::operator=(pData.shrink()); this->transfer(pData);
} }