Skip to content
Snippets Groups Projects
Commit 2dfa827a authored by mattijs's avatar mattijs
Browse files

ENH: reconstructPar: pick up cellSets from current time instead of mesh time

parent b36dce79
Branches
Tags
No related merge requests found
......@@ -706,10 +706,17 @@ int main(int argc, char *argv[])
{
const fvMesh& procMesh = procMeshes.meshes()[procI];
// Note: look at sets in current time only or between
// mesh and current time?. For now current time. This will
// miss out on sets in intermediate times that have not
// been reconstructed.
IOobjectList objects
(
procMesh, procMesh.facesInstance(), "polyMesh/sets"
procMesh,
databases[0].timeName(), //procMesh.facesInstance()
polyMesh::meshSubDir/"sets"
);
IOobjectList cSets(objects.lookupClass(cellSet::typeName));
forAllConstIter(IOobjectList, cSets, iter)
{
......@@ -754,7 +761,9 @@ int main(int argc, char *argv[])
IOobjectList objects
(
procMesh, procMesh.facesInstance(), "polyMesh/sets"
procMesh,
databases[0].timeName(), //procMesh.facesInstance(),
polyMesh::meshSubDir/"sets"
);
// cellSets
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment