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:
@ -49,7 +49,7 @@ void Foam::fvMeshAdder::MapVolField
|
||||
Field<Type> oldInternalField(fld.internalField());
|
||||
|
||||
// Modify internal field
|
||||
Field<Type>& intFld = fld.internalField();
|
||||
Field<Type>& intFld = fld.internalFieldRef();
|
||||
|
||||
intFld.setSize(mesh.nCells());
|
||||
|
||||
@ -340,7 +340,7 @@ void Foam::fvMeshAdder::MapSurfaceField
|
||||
Field<Type> oldField(fld);
|
||||
|
||||
// Modify internal field
|
||||
Field<Type>& intFld = fld.internalField();
|
||||
Field<Type>& intFld = fld.internalFieldRef();
|
||||
|
||||
intFld.setSize(mesh.nInternalFaces());
|
||||
|
||||
|
||||
Reference in New Issue
Block a user