mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
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:
@ -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
|
||||
|
||||
// ************************************************************************* //
|
||||
|
||||
Reference in New Issue
Block a user