mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
particle: Avoid warning about uninitialized edge
This commit is contained in:
committed by
Andrew Heather
parent
743dea87d2
commit
d75eb94404
@ -388,6 +388,8 @@ void Foam::particle::changeFace(const label tetTriI)
|
|||||||
<< "Changing face without changing cell should only happen when the"
|
<< "Changing face without changing cell should only happen when the"
|
||||||
<< " track is on triangle 1, 2 or 3."
|
<< " track is on triangle 1, 2 or 3."
|
||||||
<< exit(FatalError);
|
<< exit(FatalError);
|
||||||
|
|
||||||
|
sharedEdge = edge(-1, -1);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Find the face in the same cell that shares the edge, and the
|
// Find the face in the same cell that shares the edge, and the
|
||||||
|
|||||||
Reference in New Issue
Block a user