mirror of
https://github.com/OpenFOAM/OpenFOAM-6.git
synced 2025-12-08 06:57:46 +00:00
GeometricField::internalField() -> GeometricField::internalFieldRef()
Non-const access to the internal field now obtained from a specifically
named access function consistent with the new names for non-canst access
to the boundary field boundaryFieldRef() and dimensioned internal field
dimensionedInternalFieldRef().
See also commit a4e2afa4b3
This commit is contained in:
@ -104,7 +104,7 @@ Foam::tmp<Foam::volScalarField> Foam::dragModels::segregated::K() const
|
||||
dimensionedScalar("L", dimLength, 0),
|
||||
zeroGradientFvPatchField<scalar>::typeName
|
||||
);
|
||||
L.internalField() = cbrt(mesh.V());
|
||||
L.internalFieldRef() = cbrt(mesh.V());
|
||||
L.correctBoundaryConditions();
|
||||
|
||||
volScalarField I
|
||||
|
||||
@ -104,7 +104,7 @@ Foam::tmp<Foam::volScalarField> Foam::dragModels::segregated::K() const
|
||||
dimensionedScalar("L", dimLength, 0),
|
||||
zeroGradientFvPatchField<scalar>::typeName
|
||||
);
|
||||
L.internalField() = cbrt(mesh.V());
|
||||
L.internalFieldRef() = cbrt(mesh.V());
|
||||
L.correctBoundaryConditions();
|
||||
|
||||
volScalarField I
|
||||
|
||||
Reference in New Issue
Block a user