51 pnt, *nodes[4], *nodes[7], *nodes[5], *nodes[0], eps) ||
53 pnt, *nodes[5], *nodes[3], *nodes[1], *nodes[0], eps) ||
55 pnt, *nodes[5], *nodes[7], *nodes[3], *nodes[0], eps) ||
57 pnt, *nodes[5], *nodes[7], *nodes[6], *nodes[2], eps) ||
59 pnt, *nodes[1], *nodes[3], *nodes[5], *nodes[2], eps) ||
61 pnt, *nodes[3], *nodes[7], *nodes[5], *nodes[2], eps));
69 for (
unsigned i = 0; i < 6; ++i)
Definition of the Node class.
Definition of the Quad class.
Collects error flags for mesh elements.
virtual ElementErrorCode validate() const =0
virtual const Element * getFace(unsigned i) const =0
Returns the i-th face of the element.
virtual bool testElementNodeOrder() const =0
static ElementErrorCode validate(const Element *e)
static bool isPntInElement(Node const *const *nodes, MathLib::Point3d const &pnt, double eps)
static double computeVolume(Node const *const *element_nodes)
double calcTetrahedronVolume(MathLib::Point3d const &a, MathLib::Point3d const &b, MathLib::Point3d const &c, MathLib::Point3d const &d)
bool isPointInTetrahedron(MathLib::Point3d const &p, MathLib::Point3d const &a, MathLib::Point3d const &b, MathLib::Point3d const &c, MathLib::Point3d const &d, double eps)
bool hasZeroVolume(MeshLib::Element const &element)
Returns true if the element has zero length/area/volume.