Commit 51d2d569 by Michael Turner

### angles

parent 74077385
 ... @@ -360,7 +360,7 @@ public: ... @@ -360,7 +360,7 @@ public: } } NekDouble Angle(Array locA, Array locB, NekDouble Angle(Array locA, Array locB, Array N, int sid) Array N) { { // calculates the angle between this node to a to this node to b // calculates the angle between this node to a to this node to b // Uses the CAD surface to orientate the angle // Uses the CAD surface to orientate the angle ... @@ -381,10 +381,6 @@ public: ... @@ -381,10 +381,6 @@ public: ang /= sqrt(A[0] * A[0] + A[1] * A[1] + A[2] * A[2]); ang /= sqrt(A[0] * A[0] + A[1] * A[1] + A[2] * A[2]); ang /= sqrt(B[0] * B[0] + B[1] * B[1] + B[2] * B[2]); ang /= sqrt(B[0] * B[0] + B[1] * B[1] + B[2] * B[2]); std::map > >::iterator it; it = CADSurfList.find(sid); NekDouble dot = N[0] * CP[0] + N[1] * CP[1] + N[2] * CP[2]; NekDouble dot = N[0] * CP[0] + N[1] * CP[1] + N[2] * CP[2]; ang = asin(ang); ang = asin(ang); ... ...
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!