Skip to content
Snippets Groups Projects

Issue 1454 post process

Merged Andrew Heather requested to merge issue-1454-post-process into develop
5 files
+ 127
18
Compare changes
  • Side-by-side
  • Inline
Files
5
@@ -112,18 +112,31 @@ if (argList::postProcess(argc, argv))
@@ -112,18 +112,31 @@ if (argList::postProcess(argc, argv))
Info<< "Time = " << runTime.timeName() << endl;
Info<< "Time = " << runTime.timeName() << endl;
if (mesh.readUpdate() != polyMesh::UNCHANGED)
switch (mesh.readUpdate())
{
{
// Update functionObjects if mesh changes
case polyMesh::POINTS_MOVED:
// Note clearing the dictionary to avoid merge warning
{
functionsDict.clear();
functionsPtr->movePoints(mesh);
functionsPtr = functionObjectList::New
break;
(
}
args,
case polyMesh::TOPO_CHANGE:
runTime,
case polyMesh::TOPO_PATCH_CHANGE:
functionsDict,
{
selectedFields
mapPolyMesh mpm(mesh);
);
functionsPtr->updateMesh(mpm);
 
break;
 
}
 
case polyMesh::UNCHANGED:
 
{
 
// No additional work
 
break;
 
}
 
default:
 
{
 
FatalErrorIn(args.executable())
 
<< "Unhandled enumeration"
 
<< abort(FatalError);
 
}
}
}
FatalIOError.throwExceptions();
FatalIOError.throwExceptions();
Loading