|
IPPL (Independent Parallel Particle Layer)
IPPL
|
#include <QuadrilateralElement.h>
Public Types | |
| typedef Element2D< T, NumVertices >::point_t | point_t |
| typedef Element2D< T, NumVertices >::vertex_points_t | vertex_points_t |
Public Member Functions | |
| KOKKOS_FUNCTION vertex_points_t | getLocalVertices () const |
| Returns the coordinates of the vertices of the reference element. in the order of the local degrees of freedom. (right-hand rule). | |
| KOKKOS_FUNCTION point_t | getTransformationJacobian (const vertex_points_t &global_vertices) const |
| Returns the Jacobian of the transformation matrix. | |
| KOKKOS_FUNCTION point_t | getInverseTransformationJacobian (const vertex_points_t &global_vertices) const |
| Returns the inverse of 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. | |
| KOKKOS_FUNCTION point_t | localToGlobal (const vertex_points_t &global_vertices, const point_t &point) const |
| Transforms a point from local to global coordinates. | |
| KOKKOS_FUNCTION T | getDeterminantOfTransformationJacobian (const vertex_points_t &global_vertices) const |
| Returns the determinant of the transformation Jacobian. | |
| KOKKOS_FUNCTION point_t | getInverseTransposeTransformationJacobian (const vertex_points_t &global_vertices) const |
| Returns the inverse of the transpose of the transformation Jacobian. | |
| 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. | |
Static Public Attributes | |
| static constexpr unsigned | NumVertices = 4 |
| static constexpr unsigned | dim |
| static constexpr unsigned | numVertices |
Definition at line 14 of file QuadrilateralElement.h.
| typedef Element2D<T,NumVertices>::point_t ippl::QuadrilateralElement< T >::point_t |
Definition at line 18 of file QuadrilateralElement.h.
| typedef Element2D<T,NumVertices>::vertex_points_t ippl::QuadrilateralElement< T >::vertex_points_t |
Definition at line 19 of file QuadrilateralElement.h.
| KOKKOS_FUNCTION T ippl::QuadrilateralElement< T >::getDeterminantOfTransformationJacobian | ( | const vertex_points_t & | global_vertices | ) | const |
Returns the determinant of the transformation Jacobian.
| global_vertices | A vector of the vertex coordinates of the global element to transform to. |
Definition at line 69 of file QuadrilateralElement.hpp.
References getTransformationJacobian().
| KOKKOS_FUNCTION QuadrilateralElement< T >::point_t ippl::QuadrilateralElement< T >::getInverseTransformationJacobian | ( | const vertex_points_t & | global_vertices | ) | const |
Returns the inverse of the Jacobian of the transformation matrix.
| global_vertices | A vector of the vertex coordinates of the global element to transform to. |
Definition at line 28 of file QuadrilateralElement.hpp.
Referenced by getInverseTransposeTransformationJacobian(), and globalToLocal().
| KOKKOS_FUNCTION QuadrilateralElement< T >::point_t ippl::QuadrilateralElement< T >::getInverseTransposeTransformationJacobian | ( | const vertex_points_t & | global_vertices | ) | const |
Returns the inverse of the transpose of the transformation Jacobian.
| global_vertices | A vector of the vertex coordinates of the global element to transform to. |
Definition at line 84 of file QuadrilateralElement.hpp.
References getInverseTransformationJacobian().
| KOKKOS_FUNCTION QuadrilateralElement< T >::vertex_points_t ippl::QuadrilateralElement< T >::getLocalVertices | ( | ) | const |
Returns the coordinates of the vertices of the reference element. in the order of the local degrees of freedom. (right-hand rule).
Definition at line 5 of file QuadrilateralElement.hpp.
| KOKKOS_FUNCTION QuadrilateralElement< T >::point_t ippl::QuadrilateralElement< T >::getTransformationJacobian | ( | const vertex_points_t & | global_vertices | ) | const |
Returns the Jacobian of the transformation matrix.
| global_vertices | A vector of the vertex coordinates of the global element to transform to. |
Definition at line 16 of file QuadrilateralElement.hpp.
Referenced by getDeterminantOfTransformationJacobian(), and localToGlobal().
| KOKKOS_FUNCTION QuadrilateralElement< T >::point_t ippl::QuadrilateralElement< T >::globalToLocal | ( | const vertex_points_t & | , |
| const point_t & | ) const |
Transforms a point from global to local coordinates.
| global_vertices | A vector of the vertex indices of the global element to transform to in the mesh. |
| point | A point in global coordinates with respect to the global element. |
Definition at line 40 of file QuadrilateralElement.hpp.
References getInverseTransformationJacobian().
| KOKKOS_FUNCTION bool ippl::QuadrilateralElement< T >::isPointInRefElement | ( | const Vector< T, 2 > & | point | ) | const |
Returns whether a point in local coordinates ([0, 1]^2) is inside the reference element.
| point | A point in local coordinates with respect to the reference element. |
Definition at line 91 of file QuadrilateralElement.hpp.
| KOKKOS_FUNCTION QuadrilateralElement< T >::point_t ippl::QuadrilateralElement< T >::localToGlobal | ( | const vertex_points_t & | global_vertices, |
| const point_t & | point ) const |
Transforms a point from local to global coordinates.
| global_vertices | A vector of the vertex indices of the global element to transform to in the mesh. |
| point | A point in local coordinates with respect to the reference element. |
Equivalent to transforming a local point \(\hat{\boldsymbol{x}}\) on the local element \(\hat{K}\) to a point in the global coordinate system \(\boldsymbol{x}\) on \(K\) by applying the transformation \(\mathbf{\Phi}_K\)
\[\boldsymbol{x} = \mathbf{\Phi}_K(\hat{\boldsymbol{x}})\]
Definition at line 55 of file QuadrilateralElement.hpp.
References getTransformationJacobian().
|
staticconstexprinherited |
|
staticconstexpr |
Definition at line 16 of file QuadrilateralElement.h.
|
staticconstexprinherited |