43 for (label i = 1; i <
f.size() - 1; ++i)
47 indices[2] =
f[i + 1];
54 inline void Foam::faceAreaIntersect::setTriPoints
96 inline Foam::point Foam::faceAreaIntersect::planeIntersection
98 const FixedList<scalar, 3>& d,
106 return (dp*t[negI] - dn*t[posI])/(-dn + dp);
120 return cacheTriangulation_;
static scalar & tolerance()
Fraction of local length scale to use as intersection tolerance.
A face is a list of labels corresponding to mesh vertices.
A 1D vector of objects of type <T> with a fixed length <N>.
unsigned int count(const UList< bool > &bools, const bool val=true)
Count number of 'true' entries.
bool cacheTriangulation() const
Const access to the cacheTriangulation flag.
vectorField pointField
pointField is a vectorField.
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects...
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
Triangle point storage. Default constructable (triangle is not)
void reverse(UList< T > &list, const label n)
Reverse the first n elements of the list.
void append(const T &val)
Copy append an element to the end of this list.
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
static void triangleFan(const face &f, DynamicList< face > &faces)
Decompose face into triangle fan.
const DynamicList< triPoints > triangles() const
Const access to the triangulation.
const dimensionedScalar c
Speed of light in a vacuum.