mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: use vector::normalise and VectorSpace::normalised for clarity
This commit is contained in:
@ -243,8 +243,7 @@ Foam::Map<Foam::label> Foam::meshRefinement::findEdgeConnectedProblemCells
|
||||
{
|
||||
label facei = candidateFaces[i];
|
||||
|
||||
vector n = mesh_.faceAreas()[facei];
|
||||
n /= mag(n);
|
||||
const vector n = normalised(mesh_.faceAreas()[facei]);
|
||||
|
||||
label region = surfaces_.globalRegion
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user