fvPatchFields, fvsPatchFields, pointPatchFields: specifically declare namespace of functions

It is better to declare the namespace of each function in the C file
rather than "open" the namespace as this may lead to inconsistencies
between the declaration in the H files and definition in the C file.
This commit is contained in:
Henry Weller
2015-12-08 22:29:05 +00:00
parent 4aa6052a66
commit fb871828a5
44 changed files with 857 additions and 1216 deletions

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2014 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2014-2015 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -25,15 +25,10 @@ License
#include "zeroFixedValuePointPatchField.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
namespace Foam
{
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * * //
template<class Type>
zeroFixedValuePointPatchField<Type>::
Foam::zeroFixedValuePointPatchField<Type>::
zeroFixedValuePointPatchField
(
const pointPatch& p,
@ -45,7 +40,7 @@ zeroFixedValuePointPatchField
template<class Type>
zeroFixedValuePointPatchField<Type>::
Foam::zeroFixedValuePointPatchField<Type>::
zeroFixedValuePointPatchField
(
const pointPatch& p,
@ -60,7 +55,7 @@ zeroFixedValuePointPatchField
template<class Type>
zeroFixedValuePointPatchField<Type>::
Foam::zeroFixedValuePointPatchField<Type>::
zeroFixedValuePointPatchField
(
const zeroFixedValuePointPatchField<Type>& ptf,
@ -77,7 +72,7 @@ zeroFixedValuePointPatchField
template<class Type>
zeroFixedValuePointPatchField<Type>::
Foam::zeroFixedValuePointPatchField<Type>::
zeroFixedValuePointPatchField
(
const zeroFixedValuePointPatchField<Type>& ptf
@ -88,7 +83,7 @@ zeroFixedValuePointPatchField
template<class Type>
zeroFixedValuePointPatchField<Type>::
Foam::zeroFixedValuePointPatchField<Type>::
zeroFixedValuePointPatchField
(
const zeroFixedValuePointPatchField<Type>& ptf,
@ -102,8 +97,4 @@ zeroFixedValuePointPatchField
}
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
} // End namespace Foam
// ************************************************************************* //