mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: use edge::unitVec() for improved code clarity
This commit is contained in:
@ -319,8 +319,7 @@ bool splitCell
|
||||
{
|
||||
const edge& e = mesh.edges()[edgeI];
|
||||
|
||||
vector eVec = e.vec(mesh.points());
|
||||
eVec /= mag(eVec);
|
||||
const vector eVec = e.unitVec(mesh.points());
|
||||
|
||||
vector planeN = eVec ^ halfNorm;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user