diff --git a/src/finiteVolume/fields/fvPatchFields/basic/calculated/calculatedFvPatchField.C b/src/finiteVolume/fields/fvPatchFields/basic/calculated/calculatedFvPatchField.C index 1f179134fec59dec3a5cf49d478830d4be750fdd..444a3ea86a54c600f4894f8ceb1eeff96f85e900 100644 --- a/src/finiteVolume/fields/fvPatchFields/basic/calculated/calculatedFvPatchField.C +++ b/src/finiteVolume/fields/fvPatchFields/basic/calculated/calculatedFvPatchField.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2011 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -28,19 +28,17 @@ License // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -namespace Foam -{ - template<class Type> -const word& fvPatchField<Type>::calculatedType() +const Foam::word& Foam::fvPatchField<Type>::calculatedType() { return calculatedFvPatchField<Type>::typeName; } + // * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * // template<class Type> -calculatedFvPatchField<Type>::calculatedFvPatchField +Foam::calculatedFvPatchField<Type>::calculatedFvPatchField ( const fvPatch& p, const DimensionedField<Type, volMesh>& iF @@ -51,7 +49,7 @@ calculatedFvPatchField<Type>::calculatedFvPatchField template<class Type> -calculatedFvPatchField<Type>::calculatedFvPatchField +Foam::calculatedFvPatchField<Type>::calculatedFvPatchField ( const calculatedFvPatchField<Type>& ptf, const fvPatch& p, @@ -64,7 +62,7 @@ calculatedFvPatchField<Type>::calculatedFvPatchField template<class Type> -calculatedFvPatchField<Type>::calculatedFvPatchField +Foam::calculatedFvPatchField<Type>::calculatedFvPatchField ( const fvPatch& p, const DimensionedField<Type, volMesh>& iF, @@ -77,7 +75,7 @@ calculatedFvPatchField<Type>::calculatedFvPatchField template<class Type> -calculatedFvPatchField<Type>::calculatedFvPatchField +Foam::calculatedFvPatchField<Type>::calculatedFvPatchField ( const calculatedFvPatchField<Type>& ptf ) @@ -87,7 +85,7 @@ calculatedFvPatchField<Type>::calculatedFvPatchField template<class Type> -calculatedFvPatchField<Type>::calculatedFvPatchField +Foam::calculatedFvPatchField<Type>::calculatedFvPatchField ( const calculatedFvPatchField<Type>& ptf, const DimensionedField<Type, volMesh>& iF @@ -99,7 +97,8 @@ calculatedFvPatchField<Type>::calculatedFvPatchField template<class Type> template<class Type2> -tmp<fvPatchField<Type> > fvPatchField<Type>::NewCalculatedType +Foam::tmp<Foam::fvPatchField<Type> > +Foam::fvPatchField<Type>::NewCalculatedType ( const fvPatchField<Type2>& pf ) @@ -132,7 +131,8 @@ tmp<fvPatchField<Type> > fvPatchField<Type>::NewCalculatedType // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * // template<class Type> -tmp<Field<Type> > calculatedFvPatchField<Type>::valueInternalCoeffs +Foam::tmp<Foam::Field<Type> > +Foam::calculatedFvPatchField<Type>::valueInternalCoeffs ( const tmp<scalarField>& ) const @@ -155,7 +155,8 @@ tmp<Field<Type> > calculatedFvPatchField<Type>::valueInternalCoeffs template<class Type> -tmp<Field<Type> > calculatedFvPatchField<Type>::valueBoundaryCoeffs +Foam::tmp<Foam::Field<Type> > +Foam::calculatedFvPatchField<Type>::valueBoundaryCoeffs ( const tmp<scalarField>& ) const @@ -177,7 +178,8 @@ tmp<Field<Type> > calculatedFvPatchField<Type>::valueBoundaryCoeffs } template<class Type> -tmp<Field<Type> > calculatedFvPatchField<Type>::gradientInternalCoeffs() const +Foam::tmp<Foam::Field<Type> > +Foam::calculatedFvPatchField<Type>::gradientInternalCoeffs() const { FatalErrorIn ( @@ -197,7 +199,8 @@ tmp<Field<Type> > calculatedFvPatchField<Type>::gradientInternalCoeffs() const } template<class Type> -tmp<Field<Type> > calculatedFvPatchField<Type>::gradientBoundaryCoeffs() const +Foam::tmp<Foam::Field<Type> > +Foam::calculatedFvPatchField<Type>::gradientBoundaryCoeffs() const { FatalErrorIn ( @@ -217,17 +220,12 @@ tmp<Field<Type> > calculatedFvPatchField<Type>::gradientBoundaryCoeffs() const } -// Write template<class Type> -void calculatedFvPatchField<Type>::write(Ostream& os) const +void Foam::calculatedFvPatchField<Type>::write(Ostream& os) const { fvPatchField<Type>::write(os); this->writeEntry("value", os); } -// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - -} // End namespace Foam - // ************************************************************************* //