reconstructPar: Reinstate support for reconstructing pointLevel and cellLevel files

to be run with the -constant option after reconstructParMesh when reconstructing
a mesh generated by snappyHexMesh in parallel.
This commit is contained in:
Henry Weller
2022-06-04 11:15:03 +01:00
parent e3298597e1
commit f9d575060e

View File

@ -233,6 +233,19 @@ int main(int argc, char *argv[])
meshes.readAddressing();
meshes.readUpdate();
// Write the complete mesh if at the constant instant. Otherwise
// mesh-associated things (sets, hexRef8, ...) will not be written by
// domainDecomposition because there is no change of mesh to trigger
// them to write.
if
(
runTimes.completeTime().timeName()
== runTimes.completeTime().constant()
)
{
meshes.writeComplete(!noReconstructSets);
}
// Loop over all times
forAll(times, timei)
{