Skip to content
Snippets Groups Projects
Commit 0607d6a9 authored by mattijs's avatar mattijs
Browse files

BUG: patchSummary: no output if no patch groups

parent 33656b39
Branches
Tags
No related merge requests found
......@@ -191,6 +191,22 @@ int main(int argc, char *argv[])
outputFieldList<tensor>(vtf, patchIDs[0]);
Info<< endl;
}
else
{
// No group.
forAll(patchIDs, i)
{
label patchI = patchIDs[i];
Info<< bm[patchI].type()
<< "\t: " << bm[patchI].name() << nl;
outputFieldList<scalar>(vsf, patchI);
outputFieldList<vector>(vvf, patchI);
outputFieldList<sphericalTensor>(vsptf, patchI);
outputFieldList<symmTensor>(vsytf, patchI);
outputFieldList<tensor>(vtf, patchI);
Info<< endl;
}
}
}
}
}
......
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