Commit 15aec364 authored by Mark Olesen's avatar Mark Olesen
Browse files

BUG: incorrect patch lookup in ensight conversion (fixes #430)

parent 215349aa
......@@ -254,7 +254,7 @@ bool Foam::ensightOutput::writeField
forAll(patchIds, listi)
{
const label patchId = patchIds[listi];
const word& patchName = patchLookup[listi];
const word& patchName = patchLookup[patchId];
const ensightFaces& ensFaces = patchFaces[patchName];
writeFaceField
......
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