mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: use list methods find/found instead of findIndex function
This commit is contained in:
@ -412,7 +412,7 @@ void Foam::tecplotWriter::writeConnectivity
|
||||
// The face that uses the vertices of e in increasing order
|
||||
// is the left face.
|
||||
|
||||
const label fp = findIndex(f0, e[0]);
|
||||
const label fp = f0.find(e[0]);
|
||||
const bool f0IsLeft = (f0.nextLabel(fp) == e[1]);
|
||||
|
||||
if (f0IsLeft)
|
||||
|
||||
Reference in New Issue
Block a user