mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
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:
@ -156,6 +156,7 @@ void Foam::meshToMesh0::calcAddressing()
|
|||||||
<< "Source patch " << fromPatch.name()
|
<< "Source patch " << fromPatch.name()
|
||||||
<< " has no faces. Not performing mapping for it."
|
<< " has no faces. Not performing mapping for it."
|
||||||
<< endl;
|
<< endl;
|
||||||
|
boundaryAddressing_[patchi].setSize(toPatch.size());
|
||||||
boundaryAddressing_[patchi] = -1;
|
boundaryAddressing_[patchi] = -1;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user