ENH: put into local Foam namespace

This commit is contained in:
andy
2012-10-29 12:26:39 +00:00
parent 926b30e70d
commit ab64401050
2 changed files with 14 additions and 28 deletions

View File

@ -25,15 +25,10 @@ License
#include "jumpCyclicFvPatchField.H" #include "jumpCyclicFvPatchField.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
namespace Foam
{
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
template<class Type> template<class Type>
jumpCyclicFvPatchField<Type>::jumpCyclicFvPatchField Foam::jumpCyclicFvPatchField<Type>::jumpCyclicFvPatchField
( (
const fvPatch& p, const fvPatch& p,
const DimensionedField<Type, volMesh>& iF const DimensionedField<Type, volMesh>& iF
@ -44,7 +39,7 @@ jumpCyclicFvPatchField<Type>::jumpCyclicFvPatchField
template<class Type> template<class Type>
jumpCyclicFvPatchField<Type>::jumpCyclicFvPatchField Foam::jumpCyclicFvPatchField<Type>::jumpCyclicFvPatchField
( (
const jumpCyclicFvPatchField<Type>& ptf, const jumpCyclicFvPatchField<Type>& ptf,
const fvPatch& p, const fvPatch& p,
@ -57,7 +52,7 @@ jumpCyclicFvPatchField<Type>::jumpCyclicFvPatchField
template<class Type> template<class Type>
jumpCyclicFvPatchField<Type>::jumpCyclicFvPatchField Foam::jumpCyclicFvPatchField<Type>::jumpCyclicFvPatchField
( (
const fvPatch& p, const fvPatch& p,
const DimensionedField<Type, volMesh>& iF, const DimensionedField<Type, volMesh>& iF,
@ -72,7 +67,7 @@ jumpCyclicFvPatchField<Type>::jumpCyclicFvPatchField
template<class Type> template<class Type>
jumpCyclicFvPatchField<Type>::jumpCyclicFvPatchField Foam::jumpCyclicFvPatchField<Type>::jumpCyclicFvPatchField
( (
const jumpCyclicFvPatchField<Type>& ptf const jumpCyclicFvPatchField<Type>& ptf
) )
@ -82,7 +77,7 @@ jumpCyclicFvPatchField<Type>::jumpCyclicFvPatchField
template<class Type> template<class Type>
jumpCyclicFvPatchField<Type>::jumpCyclicFvPatchField Foam::jumpCyclicFvPatchField<Type>::jumpCyclicFvPatchField
( (
const jumpCyclicFvPatchField<Type>& ptf, const jumpCyclicFvPatchField<Type>& ptf,
const DimensionedField<Type, volMesh>& iF const DimensionedField<Type, volMesh>& iF
@ -95,7 +90,8 @@ jumpCyclicFvPatchField<Type>::jumpCyclicFvPatchField
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
template<class Type> template<class Type>
tmp<Field<Type> > jumpCyclicFvPatchField<Type>::patchNeighbourField() const Foam::tmp<Foam::Field<Type> >
Foam::jumpCyclicFvPatchField<Type>::patchNeighbourField() const
{ {
const Field<Type>& iField = this->internalField(); const Field<Type>& iField = this->internalField();
const labelUList& nbrFaceCells = const labelUList& nbrFaceCells =
@ -133,7 +129,7 @@ tmp<Field<Type> > jumpCyclicFvPatchField<Type>::patchNeighbourField() const
template<class Type> template<class Type>
void jumpCyclicFvPatchField<Type>::updateInterfaceMatrix void Foam::jumpCyclicFvPatchField<Type>::updateInterfaceMatrix
( (
scalarField& result, scalarField& result,
const scalarField& psiInternal, const scalarField& psiInternal,
@ -144,7 +140,7 @@ void jumpCyclicFvPatchField<Type>::updateInterfaceMatrix
{ {
notImplemented notImplemented
( (
"void jumpCyclicFvPatchField<Type>::updateInterfaceMatrix" "void Foam::jumpCyclicFvPatchField<Type>::updateInterfaceMatrix"
"(" "("
"scalarField&, " "scalarField&, "
"const scalarField&, " "const scalarField&, "
@ -157,7 +153,7 @@ void jumpCyclicFvPatchField<Type>::updateInterfaceMatrix
template<class Type> template<class Type>
void jumpCyclicFvPatchField<Type>::updateInterfaceMatrix void Foam::jumpCyclicFvPatchField<Type>::updateInterfaceMatrix
( (
Field<Type>& result, Field<Type>& result,
const Field<Type>& psiInternal, const Field<Type>& psiInternal,
@ -205,8 +201,4 @@ void jumpCyclicFvPatchField<Type>::updateInterfaceMatrix
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
} // End namespace Foam
// ************************************************************************* // // ************************************************************************* //

View File

@ -27,19 +27,17 @@ License
#include "addToRunTimeSelectionTable.H" #include "addToRunTimeSelectionTable.H"
#include "volFields.H" #include "volFields.H"
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // // * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
namespace Foam namespace Foam
{ {
makePatchFieldsTypeName(jumpCyclic);
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * // }
makePatchFieldsTypeName(jumpCyclic);
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
template<> template<>
void jumpCyclicFvPatchField<scalar>::updateInterfaceMatrix void Foam::jumpCyclicFvPatchField<Foam::scalar>::updateInterfaceMatrix
( (
scalarField& result, scalarField& result,
const scalarField& psiInternal, const scalarField& psiInternal,
@ -88,8 +86,4 @@ void jumpCyclicFvPatchField<scalar>::updateInterfaceMatrix
} }
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
} // End namespace Foam
// ************************************************************************* // // ************************************************************************* //