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

@ -88,7 +88,7 @@ int main(int argc, char *argv[])
)
);
volVectorField::GeometricBoundaryField& wallGradUBf =
volVectorField::Boundary& wallGradUBf =
wallGradU.boundaryFieldRef();
const fvPatchList& patches = mesh.boundary();

View File

@ -67,13 +67,13 @@ int main(int argc, char *argv[])
)*fvc::snGrad(h)
);
const surfaceScalarField::GeometricBoundaryField& patchHeatFlux =
const surfaceScalarField::Boundary& patchHeatFlux =
heatFlux.boundaryField();
const volScalarField::GeometricBoundaryField& patchRadHeatFlux =
const volScalarField::Boundary& patchRadHeatFlux =
Qr.boundaryField();
const surfaceScalarField::GeometricBoundaryField& magSf =
const surfaceScalarField::Boundary& magSf =
mesh.magSf().boundaryField();
Info<< "\nWall heat fluxes [W]" << endl;
@ -104,7 +104,7 @@ int main(int argc, char *argv[])
dimensionedScalar("wallHeatFlux", heatFlux.dimensions(), 0.0)
);
volScalarField::GeometricBoundaryField& wallHeatFluxBf =
volScalarField::Boundary& wallHeatFluxBf =
wallHeatFlux.boundaryFieldRef();
forAll(wallHeatFluxBf, patchi)
@ -135,7 +135,7 @@ int main(int argc, char *argv[])
)
);
volScalarField::GeometricBoundaryField& totalWallHeatFluxBf =
volScalarField::Boundary& totalWallHeatFluxBf =
totalWallHeatFlux.boundaryFieldRef();
forAll(totalWallHeatFluxBf, patchi)

View File

@ -60,7 +60,7 @@ void calcIncompressible
const volSymmTensorField Reff(model->devReff());
volVectorField::GeometricBoundaryField& wallShearStressBf =
volVectorField::Boundary& wallShearStressBf =
wallShearStress.boundaryFieldRef();
forAll(wallShearStressBf, patchi)
@ -112,7 +112,7 @@ void calcCompressible
const volSymmTensorField Reff(model->devRhoReff());
volVectorField::GeometricBoundaryField& wallShearStressBf =
volVectorField::Boundary& wallShearStressBf =
wallShearStress.boundaryFieldRef();
forAll(wallShearStressBf, patchi)

View File

@ -57,18 +57,18 @@ void calcYPlus
volScalarField& yPlus
)
{
volScalarField::GeometricBoundaryField d = nearWallDist(mesh).y();
volScalarField::Boundary d = nearWallDist(mesh).y();
const volScalarField::GeometricBoundaryField nutBf =
const volScalarField::Boundary nutBf =
turbulenceModel->nut()().boundaryField();
const volScalarField::GeometricBoundaryField nuEffBf =
const volScalarField::Boundary nuEffBf =
turbulenceModel->nuEff()().boundaryField();
const volScalarField::GeometricBoundaryField nuBf =
const volScalarField::Boundary nuBf =
turbulenceModel->nu()().boundaryField();
volScalarField::GeometricBoundaryField& yPlusBf =
volScalarField::Boundary& yPlusBf =
yPlus.boundaryFieldRef();
const fvPatchList& patches = mesh.boundary();