particle: Avoid warning about uninitialized edge
This commit is contained in:
parent
371762757d
commit
759cbcce47
1 changed files with 2 additions and 0 deletions
|
|
@ -388,6 +388,8 @@ void Foam::particle::changeFace(const label tetTriI)
|
|||
<< "Changing face without changing cell should only happen when the"
|
||||
<< " track is on triangle 1, 2 or 3."
|
||||
<< exit(FatalError);
|
||||
|
||||
sharedEdge = edge(-1, -1);
|
||||
}
|
||||
|
||||
// Find the face in the same cell that shares the edge, and the
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue