Remove .internalField() clutter for const-access to the internal field

This commit is contained in:
Henry Weller
2016-04-28 12:37:31 +01:00
parent ea5401c770
commit 15b36331fe
21 changed files with 64 additions and 64 deletions

View File

@ -51,8 +51,8 @@ void Foam::meshToMesh0::calculateInverseDistanceWeights() const
// get reference to source mesh data
const labelListList& cc = fromMesh_.cellCells();
const vectorField& centreFrom = fromMesh_.C().internalField();
const vectorField& centreTo = toMesh_.C().internalField();
const vectorField& centreFrom = fromMesh_.C();
const vectorField& centreTo = toMesh_.C();
forAll(cellAddressing_, celli)
{