boundaryField() -> boundaryFieldRef()

This commit is contained in:
Henry Weller
2016-04-23 23:37:53 +01:00
parent 7c12f7743b
commit d8f8498c87
10 changed files with 37 additions and 31 deletions

View File

@ -118,7 +118,7 @@ int main(int argc, char *argv[])
{
pf[faceI] = Foam::sqrt(allFaceInfo[faceI].distSqr());
}
vsf.boundaryField()[patch.index()] = pf;
vsf.boundaryFieldRef()[patch.index()] = pf;
Info<< "Writing patchDist volScalarField to " << runTime.value()
<< endl;
@ -152,7 +152,7 @@ int main(int argc, char *argv[])
mesh,
dimensionedScalar("otherPatchDist", dimLength, 0.0)
);
vsf.boundaryField()[patch.index()] = pwd;
vsf.boundaryFieldRef()[patch.index()] = pwd;
Info<< "Writing otherPatchDist volScalarField to " << runTime.value()
<< endl;

View File

@ -87,7 +87,7 @@ int main(int argc, char *argv[])
);
cc.internalField() = mesh.C().internalField();
cc.boundaryField().updateCoeffs();
cc.boundaryFieldRef().updateCoeffs();
forAll(cc.boundaryField(), patchI)
{