particle: Avoid warning about uninitialized edge

This commit is contained in:
Henry Weller
2017-04-28 12:08:21 +01:00
parent 371762757d
commit 759cbcce47

View File

@ -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