28 inline void Foam::faceAreaIntersect::setTriPoints
34 FixedList<triPoints, 10>& tris
55 result[2] = points[f[0]];
56 result[1] = points[f[1]];
57 result[0] = points[f[2]];
61 result[0] = points[f[0]];
62 result[1] = points[f[1]];
63 result[2] = points[f[2]];
70 inline Foam::point Foam::faceAreaIntersect::planeIntersection
72 const FixedList<scalar, 3>& d,
78 return (d[posI]*t[negI] - d[negI]*t[posI])/(-d[negI] + d[posI]);
82 inline Foam::scalar Foam::faceAreaIntersect::triArea(
const triPoints& t)
const 84 return mag(0.5*((t[1] - t[0])^(t[2] - t[0])));
static scalar & tolerance()
Fraction of local length scale to use as intersection tolerance.
FvWallInfoData< WallInfo, label > label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
A 1D vector of objects of type <T> with a fixed size <Size>.
const dimensionedScalar b
Wien displacement law constant: default SI units: [m K].
label count(const ListType &l, typename ListType::const_reference x)
Count the number of occurrences of a value in a list.
const dimensionedScalar c
Speed of light in a vacuum.
vectorField pointField
pointField is a vectorField.
vector point
Point is a vector.
FixedList< point, 3 > triPoints
dimensioned< scalar > mag(const dimensioned< Type > &)