GeometricField::GeometricBoundaryField -> GeometricField::Boundary

When the GeometricBoundaryField template class was originally written it
was a separate class in the Foam namespace rather than a sub-class of
GeometricField as it is now.  Without loss of clarity and simplifying
code which access the boundary field of GeometricFields it is better
that GeometricBoundaryField be renamed Boundary for consistency with the
new naming convention for the type of the dimensioned internal field:
Internal, see commit 4a57b9be2e

This is a very simple text substitution change which can be applied to
any code which compiles with the OpenFOAM-dev libraries.
This commit is contained in:
Henry Weller
2016-04-28 07:22:02 +01:00
parent 4a57b9be2e
commit ea5401c770
164 changed files with 396 additions and 396 deletions

View File

@ -124,7 +124,7 @@ void Foam::multiphaseSystem::solveAlphas()
);
}
surfaceScalarField::GeometricBoundaryField& alphaPhiCorrBf =
surfaceScalarField::Boundary& alphaPhiCorrBf =
alphaPhiCorr.boundaryFieldRef();
// Ensure that the flux at inflow BCs is preserved
@ -266,10 +266,10 @@ void Foam::multiphaseSystem::correctContactAngle
(
const phaseModel& phase1,
const phaseModel& phase2,
surfaceVectorField::GeometricBoundaryField& nHatb
surfaceVectorField::Boundary& nHatb
) const
{
const volScalarField::GeometricBoundaryField& gbf
const volScalarField::Boundary& gbf
= phase1.boundaryField();
const fvBoundaryMesh& boundary = mesh_.boundary();
@ -668,7 +668,7 @@ Foam::tmp<Foam::volVectorField> Foam::multiphaseSystem::Svm
}
}
volVectorField::GeometricBoundaryField& SvmBf =
volVectorField::Boundary& SvmBf =
tSvm.ref().boundaryFieldRef();
// Remove virtual mass at fixed-flux boundaries
@ -718,7 +718,7 @@ Foam::multiphaseSystem::dragCoeffs() const
)
).ptr();
volScalarField::GeometricBoundaryField& Kbf = Kptr->boundaryFieldRef();
volScalarField::Boundary& Kbf = Kptr->boundaryFieldRef();
// Remove drag at fixed-flux boundaries
forAll(dm.phase1().phi().boundaryField(), patchi)

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2016 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -213,7 +213,7 @@ private:
(
const phaseModel& alpha1,
const phaseModel& alpha2,
surfaceVectorField::GeometricBoundaryField& nHatb
surfaceVectorField::Boundary& nHatb
) const;
tmp<volScalarField> K