Commit 7e7d486b authored by andy's avatar andy
Browse files

BUG: Use Foam::mag for vector

parent fd3dc468
......@@ -405,7 +405,7 @@ bool Foam::tetrahedron<Point, PointRef>::inside(const point& pt) const
const point& basePt = b_;
n = Sa();
n /= (mag(n) + VSMALL);
n /= (Foam::mag(n) + VSMALL);
if (((pt - basePt) & n) > SMALL)
{
......@@ -418,7 +418,7 @@ bool Foam::tetrahedron<Point, PointRef>::inside(const point& pt) const
const point& basePt = c_;
n = Sb();
n /= (mag(n) + VSMALL);
n /= (Foam::mag(n) + VSMALL);
if (((pt - basePt) & n) > SMALL)
{
......@@ -431,7 +431,7 @@ bool Foam::tetrahedron<Point, PointRef>::inside(const point& pt) const
const point& basePt = b_;
n = Sc();
n /= (mag(n) + VSMALL);
n /= (Foam::mag(n) + VSMALL);
if (((pt - basePt) & n) > SMALL)
{
......@@ -444,7 +444,7 @@ bool Foam::tetrahedron<Point, PointRef>::inside(const point& pt) const
const point& basePt = b_;
n = Sd();
n /= (mag(n) + VSMALL);
n /= (Foam::mag(n) + VSMALL);
if (((pt - basePt) & n) > SMALL)
{
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment