mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
functionObjects, foamCalcFunctions, fvOptions: Standardized keywords for selecting fields and objects
Generally fields and objects are selected using the 'field[s]' and 'object[s]' keywords but this was not consistent between all functionObject, fvOptions etc. and now fixed by applying the following renaming: fieldName -> field fieldNames -> fields objectName -> object objectNames -> objects
This commit is contained in:
@ -36,13 +36,9 @@ License
|
||||
|
||||
namespace Foam
|
||||
{
|
||||
|
||||
defineTypeNameAndDebug(fieldToCell, 0);
|
||||
|
||||
addToRunTimeSelectionTable(topoSetSource, fieldToCell, word);
|
||||
|
||||
addToRunTimeSelectionTable(topoSetSource, fieldToCell, istream);
|
||||
|
||||
defineTypeNameAndDebug(fieldToCell, 0);
|
||||
addToRunTimeSelectionTable(topoSetSource, fieldToCell, word);
|
||||
addToRunTimeSelectionTable(topoSetSource, fieldToCell, istream);
|
||||
}
|
||||
|
||||
|
||||
@ -121,7 +117,7 @@ Foam::fieldToCell::fieldToCell
|
||||
)
|
||||
:
|
||||
topoSetSource(mesh),
|
||||
fieldName_(dict.lookup("fieldName")),
|
||||
fieldName_(dict.lookup("field")),
|
||||
min_(readScalar(dict.lookup("min"))),
|
||||
max_(readScalar(dict.lookup("max")))
|
||||
{}
|
||||
|
||||
Reference in New Issue
Block a user