Minor formatting and debug output

This commit is contained in:
Vuko Vukcevic 2019-02-17 10:00:41 +01:00
parent 9871df3d78
commit 33c4eb5986

View file

@ -139,7 +139,7 @@ bool Foam::topoChangerFvMesh::loadBalance(const dictionary& decompDict)
// Prepare receiving side // Prepare receiving side
// Create the reconstructor // Create the reconstructor
//
// HR 21.12.18 : Use empty domainname to avoid auto-created of // HR 21.12.18 : Use empty domainname to avoid auto-created of
// fvSchemes/fvSolution // fvSchemes/fvSolution
processorMeshesReconstructor meshRecon(""); processorMeshesReconstructor meshRecon("");
@ -443,11 +443,9 @@ bool Foam::topoChangerFvMesh::loadBalance(const dictionary& decompDict)
); );
} }
//HJ Insert clouds missing. HJ, 12/Oct/2018 // HR, 18.11.2018. Distribution of clouds is trivial and is
// // treated in Cloud<ParticleType>::split, which is called in
// HR 18.11.18 - Not missing. Step is trivial and is treated in // the constructor of CloudDistribute.
// Cloud<ParticleType>::split which is called in the constructor
// of CloudDistibute
} }
} }
} }
@ -959,8 +957,11 @@ bool Foam::topoChangerFvMesh::loadBalance(const dictionary& decompDict)
// HR 13.12.18: Update the mesh objects // HR 13.12.18: Update the mesh objects
meshObjectBase::allUpdateTopology<polyMesh>(*this, meshMap); meshObjectBase::allUpdateTopology<polyMesh>(*this, meshMap);
// Debug: remove? HJ, 22/Oct/2018 if (debug)
// checkMesh(true); {
Info<< "Checking reconstructed mesh after load balancing..." << endl;
checkMesh(true);
}
return true; return true;
} }