meshToMesh0: fixed segmentation fault
Patch contributed by Mattijs Janssens Resolves bug-report http://bugs.openfoam.org/view.php?id=2363
This commit is contained in:
parent
0e18bbaa12
commit
0b3c8e6fb4
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue