mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
boundaryField() -> boundaryFieldRef()
This commit is contained in:
@ -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;
|
||||
|
||||
@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user