Commit b6082c30 authored by mattijs's avatar mattijs
Browse files

ENH: extraneous checking for empty list in ensightMesh. Already done elsewhere.

parent d4f73877
......@@ -1111,14 +1111,11 @@ void Foam::ensightMesh::writeAllFacePrimsBinary
writeEnsDataBinary(key,ensightGeometryFile);
writeEnsDataBinary(nPrims,ensightGeometryFile);
if (&prims != NULL)
{
writeFacePrimsBinary
(
UIndirectList<face>(patchFaces, prims)(),
ensightGeometryFile
);
}
writeFacePrimsBinary
(
UIndirectList<face>(patchFaces, prims)(),
ensightGeometryFile
);
for (int slave=1; slave<Pstream::nProcs(); slave++)
{
......
Supports Markdown
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