Commit 64548a62 authored by Henry Weller's avatar Henry Weller
Browse files

meshToMesh0: fixed segmentation fault

Patch contributed by Mattijs Janssens
Resolves bug-report http://bugs.openfoam.org/view.php?id=2363
parent 0030d9ea
......@@ -156,6 +156,7 @@ void Foam::meshToMesh0::calcAddressing()
<< "Source patch " << fromPatch.name()
<< " has no faces. Not performing mapping for it."
<< endl;
boundaryAddressing_[patchi].setSize(toPatch.size());
boundaryAddressing_[patchi] = -1;
}
else
......
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