From ab6440105031f516c5499eaad7270edd88a88cc2 Mon Sep 17 00:00:00 2001 From: andy Date: Mon, 29 Oct 2012 12:26:39 +0000 Subject: [PATCH] ENH: put into local Foam namespace --- .../jumpCyclic/jumpCyclicFvPatchField.C | 28 +++++++------------ .../jumpCyclic/jumpCyclicFvPatchFields.C | 14 +++------- 2 files changed, 14 insertions(+), 28 deletions(-) diff --git a/src/finiteVolume/fields/fvPatchFields/constraint/jumpCyclic/jumpCyclicFvPatchField.C b/src/finiteVolume/fields/fvPatchFields/constraint/jumpCyclic/jumpCyclicFvPatchField.C index 2287477bdf..6313dab9c1 100644 --- a/src/finiteVolume/fields/fvPatchFields/constraint/jumpCyclic/jumpCyclicFvPatchField.C +++ b/src/finiteVolume/fields/fvPatchFields/constraint/jumpCyclic/jumpCyclicFvPatchField.C @@ -25,15 +25,10 @@ License #include "jumpCyclicFvPatchField.H" -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -namespace Foam -{ - // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * // template -jumpCyclicFvPatchField::jumpCyclicFvPatchField +Foam::jumpCyclicFvPatchField::jumpCyclicFvPatchField ( const fvPatch& p, const DimensionedField& iF @@ -44,7 +39,7 @@ jumpCyclicFvPatchField::jumpCyclicFvPatchField template -jumpCyclicFvPatchField::jumpCyclicFvPatchField +Foam::jumpCyclicFvPatchField::jumpCyclicFvPatchField ( const jumpCyclicFvPatchField& ptf, const fvPatch& p, @@ -57,7 +52,7 @@ jumpCyclicFvPatchField::jumpCyclicFvPatchField template -jumpCyclicFvPatchField::jumpCyclicFvPatchField +Foam::jumpCyclicFvPatchField::jumpCyclicFvPatchField ( const fvPatch& p, const DimensionedField& iF, @@ -72,7 +67,7 @@ jumpCyclicFvPatchField::jumpCyclicFvPatchField template -jumpCyclicFvPatchField::jumpCyclicFvPatchField +Foam::jumpCyclicFvPatchField::jumpCyclicFvPatchField ( const jumpCyclicFvPatchField& ptf ) @@ -82,7 +77,7 @@ jumpCyclicFvPatchField::jumpCyclicFvPatchField template -jumpCyclicFvPatchField::jumpCyclicFvPatchField +Foam::jumpCyclicFvPatchField::jumpCyclicFvPatchField ( const jumpCyclicFvPatchField& ptf, const DimensionedField& iF @@ -95,7 +90,8 @@ jumpCyclicFvPatchField::jumpCyclicFvPatchField // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * // template -tmp > jumpCyclicFvPatchField::patchNeighbourField() const +Foam::tmp > +Foam::jumpCyclicFvPatchField::patchNeighbourField() const { const Field& iField = this->internalField(); const labelUList& nbrFaceCells = @@ -133,7 +129,7 @@ tmp > jumpCyclicFvPatchField::patchNeighbourField() const template -void jumpCyclicFvPatchField::updateInterfaceMatrix +void Foam::jumpCyclicFvPatchField::updateInterfaceMatrix ( scalarField& result, const scalarField& psiInternal, @@ -144,7 +140,7 @@ void jumpCyclicFvPatchField::updateInterfaceMatrix { notImplemented ( - "void jumpCyclicFvPatchField::updateInterfaceMatrix" + "void Foam::jumpCyclicFvPatchField::updateInterfaceMatrix" "(" "scalarField&, " "const scalarField&, " @@ -157,7 +153,7 @@ void jumpCyclicFvPatchField::updateInterfaceMatrix template -void jumpCyclicFvPatchField::updateInterfaceMatrix +void Foam::jumpCyclicFvPatchField::updateInterfaceMatrix ( Field& result, const Field& psiInternal, @@ -205,8 +201,4 @@ void jumpCyclicFvPatchField::updateInterfaceMatrix } -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -} // End namespace Foam - // ************************************************************************* // diff --git a/src/finiteVolume/fields/fvPatchFields/constraint/jumpCyclic/jumpCyclicFvPatchFields.C b/src/finiteVolume/fields/fvPatchFields/constraint/jumpCyclic/jumpCyclicFvPatchFields.C index adfc1326ff..2001e1e2f4 100644 --- a/src/finiteVolume/fields/fvPatchFields/constraint/jumpCyclic/jumpCyclicFvPatchFields.C +++ b/src/finiteVolume/fields/fvPatchFields/constraint/jumpCyclic/jumpCyclicFvPatchFields.C @@ -27,19 +27,17 @@ License #include "addToRunTimeSelectionTable.H" #include "volFields.H" -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // +// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * // namespace Foam { - -// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * // - -makePatchFieldsTypeName(jumpCyclic); + makePatchFieldsTypeName(jumpCyclic); +} // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * // template<> -void jumpCyclicFvPatchField::updateInterfaceMatrix +void Foam::jumpCyclicFvPatchField::updateInterfaceMatrix ( scalarField& result, const scalarField& psiInternal, @@ -88,8 +86,4 @@ void jumpCyclicFvPatchField::updateInterfaceMatrix } -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -} // End namespace Foam - // ************************************************************************* //