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:
Henry Weller
2016-04-30 14:25:21 +01:00
parent 7155ef61ae
commit e1e996746b
105 changed files with 356 additions and 309 deletions

View File

@ -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());