Go to the documentation of this file.
21 #ifndef __triWall_hpp__
22 #define __triWall_hpp__
41 "bad input for the wall.\n";
94 n =
cross(p2 - p1, p3 - p1);
97 if (len < 0.00000000001)
return false;
INLINE_FUNCTION_HD ~triWall()=default
#define fatalExit
Fatal exit.
INLINE_FUNCTION_HD T dot(const quadruple< T > &oprnd1, const quadruple< T > &oprnd2)
INLINE_FUNCTION_HD triple< T > cross(const triple< T > &v1, const triple< T > &v2)
#define fatalErrorInFunction
Report a fatal error and function name and exit the application.
INLINE_FUNCTION_HD T length(const triple< T > &v1)
INLINE_FUNCTION_HD triWall(const realx3x3 &tri)
#define INLINE_FUNCTION_H
INLINE_FUNCTION_HD real normalDistFromWall(const realx3 &p) const
INLINE_FUNCTION_HD triWall(bool, const realx3 &p1, const realx3 &p2, const realx3 &p3)
INLINE_FUNCTION_HD realx3 nearestPointOnWall(const realx3 &p) const
INLINE_FUNCTION_H triWall(const realx3 &p1, const realx3 &p2, const realx3 &p3)
#define INLINE_FUNCTION_HD
INLINE_FUNCTION_HD triWall & operator=(const triWall &)=default
static INLINE_FUNCTION_HD bool makeWall(const realx3 &p1, const realx3 &p2, const realx3 &p3, realx3 &n, real &offset)