mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-12-28 03:37:59 +00:00
STYLE: more consistent New methods, use unregistered IOobject where appropriate
This commit is contained in:
@ -59,9 +59,8 @@ int main(int argc, char *argv[])
|
||||
);
|
||||
|
||||
|
||||
word setName(cellSetDict.lookup("name"));
|
||||
|
||||
word actionName(cellSetDict.lookup("action"));
|
||||
const word setName(cellSetDict.lookup("name"));
|
||||
const word actionName(cellSetDict.lookup("action"));
|
||||
|
||||
topoSetSource::setAction action = topoSetSource::toAction(actionName);
|
||||
|
||||
|
||||
@ -59,9 +59,8 @@ int main(int argc, char *argv[])
|
||||
);
|
||||
|
||||
|
||||
word setName(faceSetDict.lookup("name"));
|
||||
|
||||
word actionName(faceSetDict.lookup("action"));
|
||||
const word setName(faceSetDict.lookup("name"));
|
||||
const word actionName(faceSetDict.lookup("action"));
|
||||
|
||||
topoSetSource::setAction action = topoSetSource::toAction(actionName);
|
||||
|
||||
|
||||
@ -59,9 +59,8 @@ int main(int argc, char *argv[])
|
||||
);
|
||||
|
||||
|
||||
word setName(pointSetDict.lookup("name"));
|
||||
|
||||
word actionName(pointSetDict.lookup("action"));
|
||||
const word setName(pointSetDict.lookup("name"));
|
||||
const word actionName(pointSetDict.lookup("action"));
|
||||
|
||||
topoSetSource::setAction action = topoSetSource::toAction(actionName);
|
||||
|
||||
|
||||
@ -331,7 +331,7 @@ int main(int argc, char *argv[])
|
||||
)
|
||||
);
|
||||
|
||||
word setName(refineDict.lookup("set"));
|
||||
const word setName(refineDict.lookup("set"));
|
||||
|
||||
cellSet cells(mesh, setName);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user