mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
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:
@ -291,7 +291,7 @@ void initCreatedPatches
|
||||
{
|
||||
GeoField& field = const_cast<GeoField&>(*fieldIter());
|
||||
|
||||
typename GeoField::GeometricBoundaryField& fieldBf =
|
||||
typename GeoField::Boundary& fieldBf =
|
||||
field.boundaryFieldRef();
|
||||
|
||||
forAll(fieldBf, patchi)
|
||||
|
||||
@ -294,7 +294,7 @@ int main(int argc, char *argv[])
|
||||
}
|
||||
}
|
||||
|
||||
volScalarField::GeometricBoundaryField& postRefLevelBf =
|
||||
volScalarField::Boundary& postRefLevelBf =
|
||||
postRefLevel.boundaryFieldRef();
|
||||
|
||||
// For volScalarField: set boundary values to same as cell.
|
||||
|
||||
Reference in New Issue
Block a user