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:
@ -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 =
|
||||
|
||||
@ -44,7 +44,7 @@ void writeFluentField
|
||||
Ostream& stream
|
||||
)
|
||||
{
|
||||
const vectorField& phiInternal = phi.internalField();
|
||||
const vectorField& phiInternal = phi;
|
||||
|
||||
// Writing cells
|
||||
stream
|
||||
|
||||
Reference in New Issue
Block a user