5#ifndef IPPL_QUADRILATERALELEMENT_H
6#define IPPL_QUADRILATERALELEMENT_H
Element< T, 2, NumVertices > Element2D
Base class for all 2D elements.
Vector< point_t, NumVertices > vertex_points_t
KOKKOS_FUNCTION point_t getInverseTransposeTransformationJacobian(const vertex_points_t &global_vertices) const
Returns the inverse of the transpose of the transformation Jacobian.
Element2D< T, NumVertices >::vertex_points_t vertex_points_t
KOKKOS_FUNCTION point_t getInverseTransformationJacobian(const vertex_points_t &global_vertices) const
Returns the inverse of the Jacobian of the transformation matrix.
KOKKOS_FUNCTION T getDeterminantOfTransformationJacobian(const vertex_points_t &global_vertices) const
Returns the determinant of the transformation Jacobian.
KOKKOS_FUNCTION point_t getTransformationJacobian(const vertex_points_t &global_vertices) const
Returns the Jacobian of the transformation matrix.
KOKKOS_FUNCTION point_t globalToLocal(const vertex_points_t &, const point_t &) const
Transforms a point from global to local coordinates.
Element2D< T, NumVertices >::point_t point_t
KOKKOS_FUNCTION vertex_points_t getLocalVertices() const
Returns the coordinates of the vertices of the reference element. in the order of the local degrees o...
static constexpr unsigned NumVertices
KOKKOS_FUNCTION bool isPointInRefElement(const Vector< T, 2 > &point) const
Returns whether a point in local coordinates ([0, 1]^2) is inside the reference element.
KOKKOS_FUNCTION point_t localToGlobal(const vertex_points_t &global_vertices, const point_t &point) const
Transforms a point from local to global coordinates.