boundaryField() -> boundaryFieldRef()

This commit is contained in:
Henry Weller
2016-04-24 22:07:37 +01:00
parent 6005258c10
commit 6a27f7af46
155 changed files with 1650 additions and 1466 deletions

View File

@ -36,18 +36,17 @@ void Foam::BlendedInterfacialModel<ModelType>::correctFixedFluxBCs
GeometricField& field
) const
{
forAll(phase1_.phi()().boundaryField(), patchI)
forAll(phase1_.phi()().boundaryField(), patchi)
{
if
(
isA<fixedValueFvsPatchScalarField>
(
phase1_.phi()().boundaryField()[patchI]
phase1_.phi()().boundaryField()[patchi]
)
)
{
field.boundaryField()[patchI]
= Zero;
field.boundaryField()[patchi] = Zero;
}
}
}

View File

@ -36,18 +36,17 @@ void Foam::BlendedInterfacialModel<modelType>::correctFixedFluxBCs
GeometricField& field
) const
{
forAll(pair_.phase1().phi().boundaryField(), patchI)
forAll(pair_.phase1().phi().boundaryField(), patchi)
{
if
(
isA<fixedValueFvsPatchScalarField>
(
pair_.phase1().phi().boundaryField()[patchI]
pair_.phase1().phi().boundaryField()[patchi]
)
)
{
field.boundaryField()[patchI]
= Zero;
field.boundaryField()[patchi] = Zero;
}
}
}