mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Remove .internalField() clutter for const-access to the internal field
This commit is contained in:
@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user