|
IPPL (Independent Parallel Particle Layer)
IPPL
|
#include <EdgeElement.h>
Public Types | |
| typedef Element1D< T, NumVertices >::point_t | point_t |
| typedef Element1D< T, NumVertices >::vertex_points_t | vertex_points_t |
Public Member Functions | |
| KOKKOS_FUNCTION vertex_points_t | getLocalVertices () const |
| Function to return the coordinates of the vertices of the reference element. | |
| KOKKOS_FUNCTION point_t | getTransformationJacobian (const vertex_points_t &global_vertices) const |
| Function to return the Jacobian of the transformation matrix. | |
| KOKKOS_FUNCTION point_t | getInverseTransformationJacobian (const vertex_points_t &global_vertices) const |
| Function to return 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, 1 > &point) const |
| Returns whether a point in local coordinates ([0, 1]) is inside the reference element. | |
Static Public Attributes | |
| static constexpr unsigned | NumVertices = 2 |
| static constexpr unsigned | dim |
| static constexpr unsigned | numVertices |
Definition at line 13 of file EdgeElement.h.
| typedef Element1D<T,NumVertices>::point_t ippl::EdgeElement< T >::point_t |
Definition at line 17 of file EdgeElement.h.
| typedef Element1D<T,NumVertices>::vertex_points_t ippl::EdgeElement< T >::vertex_points_t |
Definition at line 18 of file EdgeElement.h.
| KOKKOS_FUNCTION T ippl::EdgeElement< 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 62 of file EdgeElement.hpp.
References getTransformationJacobian().
| KOKKOS_FUNCTION EdgeElement< T >::point_t ippl::EdgeElement< T >::getInverseTransformationJacobian | ( | const vertex_points_t & | global_vertices | ) | const |
Function to return 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 27 of file EdgeElement.hpp.
Referenced by getInverseTransposeTransformationJacobian(), and globalToLocal().
| KOKKOS_FUNCTION EdgeElement< T >::point_t ippl::EdgeElement< 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 77 of file EdgeElement.hpp.
References getInverseTransformationJacobian().
| KOKKOS_FUNCTION EdgeElement< T >::vertex_points_t ippl::EdgeElement< T >::getLocalVertices | ( | ) | const |
Function to return the coordinates of the vertices of the reference element.
Definition at line 5 of file EdgeElement.hpp.
| KOKKOS_FUNCTION EdgeElement< T >::point_t ippl::EdgeElement< T >::getTransformationJacobian | ( | const vertex_points_t & | global_vertices | ) | const |
Function to return 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 EdgeElement.hpp.
Referenced by getDeterminantOfTransformationJacobian(), and localToGlobal().
| KOKKOS_FUNCTION EdgeElement< T >::point_t ippl::EdgeElement< 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 37 of file EdgeElement.hpp.
References getInverseTransformationJacobian().
| KOKKOS_FUNCTION bool ippl::EdgeElement< T >::isPointInRefElement | ( | const Vector< T, 1 > & | point | ) | const |
Returns whether a point in local coordinates ([0, 1]) is inside the reference element.
| point | A point in local coordinates with respect to the reference element. |
Definition at line 84 of file EdgeElement.hpp.
| KOKKOS_FUNCTION EdgeElement< T >::point_t ippl::EdgeElement< 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 50 of file EdgeElement.hpp.
References getTransformationJacobian().
|
staticconstexprinherited |
|
staticconstexpr |
Definition at line 15 of file EdgeElement.h.
|
staticconstexprinherited |