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

@ -45,7 +45,7 @@ void writeFluentField
Ostream& stream
)
{
const scalarField& phiInternal = phi.internalField();
const scalarField& phiInternal = phi;
// Writing cells
stream
@ -75,7 +75,7 @@ void writeFluentField
{
// Form empty patch field repeat the internal field to
// allow for the node interpolation in Fluent
const scalarField& phiInternal = phi.internalField();
const scalarField& phiInternal = phi;
// Get reference to internal cells
const labelList emptyFaceCells =

View File

@ -44,7 +44,7 @@ void writeFluentField
Ostream& stream
)
{
const vectorField& phiInternal = phi.internalField();
const vectorField& phiInternal = phi;
// Writing cells
stream