Skip to content
Snippets Groups Projects
Commit 36266a7e authored by Andrew Heather's avatar Andrew Heather
Browse files

BUG: dynamicMotionSolverFvMeshAMI - correction for running in debug mode. See #2078

parent ac2dee91
Branches
Tags
No related merge requests found
...@@ -142,8 +142,10 @@ bool Foam::dynamicMotionSolverFvMeshAMI::update() ...@@ -142,8 +142,10 @@ bool Foam::dynamicMotionSolverFvMeshAMI::update()
// Scan all patches and see if we want to apply a mesh topology update // Scan all patches and see if we want to apply a mesh topology update
bool changeRequired = false; bool changeRequired = false;
for (polyPatch& pp : pbm) for (label patchi = 0; patchi < pbm.nNonProcessor(); ++patchi)
{ {
const polyPatch& pp = pbm[patchi];
DebugInfo DebugInfo
<< "pre-topology change: patch " << pp.name() << "pre-topology change: patch " << pp.name()
<< " size:" << returnReduce(pp.size(), sumOp<label>()) << " size:" << returnReduce(pp.size(), sumOp<label>())
......
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