![]() |
PACMAN 0.1.0
Portable Algorithms for Coupling, Mapping, and Adaptive iNterpolation
|
Functions | |
| template<typename ExecSpace , int_t Dim> | |
| void | FTInterClamp (Transfer< ExecSpace, Dim > &transfer) |
| Interpolate target points from FE cells and clamp outside points by projection onto the source mesh skin. | |
| template<typename ExecSpace , int_t Dim> | |
| void | FTInterExtrap (Transfer< ExecSpace, Dim > &transfer) |
| Interpolate target points from FE cells and extrapolate outside points via projection onto the source mesh skin to retrieve FE cell for extrapolation. | |
| template<typename ExecSpace , int_t Dim> | |
| void | FTInterpNearest (Transfer< ExecSpace, Dim > &transfer) |
| Interpolate target points from FE cells and fallback to nearest source-node value outside the source mesh. | |
| template<typename ExecSpace , int Dim> | |
| void | FTInterZero (Transfer< ExecSpace, Dim > &transfer) |
| Interpolate target points from FE cells, zero-filling points outside the source mesh. | |
| template<typename ExecSpace , int_t Dim> | |
| void | FTNearest (Transfer< ExecSpace, Dim > &transfer) |
| Transfer source values to target points using nearest-neighbor search. | |
| template<typename ExecSpace , int_t Dim> | |
| void | ComputeLinearSkin (Transfer< ExecSpace, Dim > &transfer) |
| Build tetrahedralized boundary skin from source elements. | |
| KOKKOS_INLINE_FUNCTION shortint_t | getDimension (const CellType &type) |
| Return topological dimension of a PACMAN cell type. | |
| KOKKOS_INLINE_FUNCTION shortint_t | getNbFaceDim1 (const CellType &type) |
| Return the number of faces for 1D skin extraction tables. | |
| KOKKOS_INLINE_FUNCTION shortint_t | getNbFaceDim2 (const CellType &type) |
| Return the number of faces for 2D skin extraction tables. | |
| KOKKOS_INLINE_FUNCTION shortint_t | getNbFaceDim3 (const CellType &type) |
| Return the number of faces for 3D skin extraction tables. | |
| template<int_t Dim> | |
| KOKKOS_INLINE_FUNCTION shortint_t | getNbFace (const CellType &type) |
| Dimension-dispatched helper returning face count for one cell type. | |
| std::vector< offset_t > | getLinearFacesPaddedOffsets (const int_t dimension) |
| Get padded linear-face offset table for a given dimension. | |
| std::vector< shortint_t > | getLinearFacesPaddedEntries (const int_t dimension) |
| Get padded linear-face entry table for a given dimension. | |
| std::vector< offset_t > | getTriFacesOffsets (const int_t dimension) |
| Get triangulated-face offset table for a given dimension. | |
| std::vector< shortint_t > | getTriFacesEntries (const int_t dimension) |
| Get triangulated-face entry table for a given dimension. | |
| std::vector< offset_t > | getTriLocFacesOffsets (const int_t dimension) |
| Get local triangulated-face offset table for a given dimension. | |
| std::vector< shortint_t > | getTriLocFacesEntries (const int_t dimension) |
| Get local triangulated-face entry table for a given dimension. | |
| template<GeoSupport T> | |
| KOKKOS_INLINE_FUNCTION bool | IsBaryCoordInsideGeo (const fp_t xi, const fp_t eta, const fp_t phi) |
| Generic predicate to test if local coordinates lie inside a reference geometry. | |
| template<> | |
| KOKKOS_INLINE_FUNCTION bool | IsBaryCoordInsideGeo< GeoSupport::POINT > (const fp_t xi, const fp_t eta, const fp_t phi) |
| template<> | |
| KOKKOS_INLINE_FUNCTION bool | IsBaryCoordInsideGeo< GeoSupport::LINE > (const fp_t xi, const fp_t eta, const fp_t phi) |
| template<> | |
| KOKKOS_INLINE_FUNCTION bool | IsBaryCoordInsideGeo< GeoSupport::TRIANGLE > (const fp_t xi, const fp_t eta, const fp_t phi) |
| template<> | |
| KOKKOS_INLINE_FUNCTION bool | IsBaryCoordInsideGeo< GeoSupport::QUAD > (const fp_t xi, const fp_t eta, const fp_t phi) |
| template<> | |
| KOKKOS_INLINE_FUNCTION bool | IsBaryCoordInsideGeo< GeoSupport::TETRA > (const fp_t xi, const fp_t eta, const fp_t phi) |
| template<> | |
| KOKKOS_INLINE_FUNCTION bool | IsBaryCoordInsideGeo< GeoSupport::HEXAHEDRON > (const fp_t xi, const fp_t eta, const fp_t phi) |
| template<> | |
| KOKKOS_INLINE_FUNCTION bool | IsBaryCoordInsideGeo< GeoSupport::WEDGE > (const fp_t xi, const fp_t eta, const fp_t phi) |
| template<> | |
| KOKKOS_INLINE_FUNCTION bool | IsBaryCoordInsideGeo< GeoSupport::PYRAMID > (const fp_t xi, const fp_t eta, const fp_t phi) |
| template<typename ExecSpace , int_t Dim> | |
| void | ComputeBoxTargetPointIntersection (Transfer< ExecSpace, Dim > &transfer) |
| Intersect target points with source-element bounding boxes, then evaluate FE interpolation for intersecting candidates. | |
| template<typename ExecSpace , typename FEspace , int_t Dim> | |
| KOKKOS_FUNCTION bool | ApplyNewton (const Kokkos::View< coordinates_t **, ExecSpace > Xcoor, const Kokkos::View< coordinates_t[Dim], ExecSpace > targetPoint, Kokkos::View< fp_t *, ExecSpace > weights, const bool forceEvaluation=false) |
| Solve FE inverse mapping with Newton iterations and compute interpolation weights. | |
| template<typename ExecSpace , int_t Dim> | |
| KOKKOS_FUNCTION bool | ApplyNewtonOnElement (const cell_t type, const Kokkos::View< coordinates_t **, ExecSpace > Xcoor, const Kokkos::View< coordinates_t[Dim], ExecSpace > targetPoint, Kokkos::View< fp_t *, ExecSpace > weights, const bool forceEvaluation=false) |
| Dispatch Newton-based FE inversion to the correct element type. | |
| KOKKOS_INLINE_FUNCTION ArborX::Point< 2, coordinates_t > | closest_point_to_edge (const ArborX::Point< 2, coordinates_t > &p, const ArborX::Point< 2, coordinates_t > &a, const ArborX::Point< 2, coordinates_t > &b) |
| Compute the closest point on a 2D edge segment. | |
| template<typename ExecSpace > | |
| void | ComputeProjectionOn3DSkin (Transfer< ExecSpace, 3 > &transfer, bool extrapol=false) |
| Project outside target points on a 3D skin and evaluate FE values. | |
| template<typename ExecSpace > | |
| void | ComputeProjectionOn2DSkin (Transfer< ExecSpace, 2 > &transfer, bool extrapol=false) |
| Project outside target points on a 2D skin and evaluate FE values. | |
| template<typename ExecSpace > | |
| void | ComputeProjectionOn1DSkin (Transfer< ExecSpace, 1 > &transfer, bool extrapol=false) |
| Project outside target points on a 1D skin and evaluate FE values. | |
| KOKKOS_FUNCTION bool PACMAN::FiniteElements::ApplyNewton | ( | const Kokkos::View< coordinates_t **, ExecSpace > | Xcoor, |
| const Kokkos::View< coordinates_t[Dim], ExecSpace > | targetPoint, | ||
| Kokkos::View< fp_t *, ExecSpace > | weights, | ||
| const bool | forceEvaluation = false |
||
| ) |
Solve FE inverse mapping with Newton iterations and compute interpolation weights.
| ExecSpace | Kokkos execution space used for local views/operations. |
| FEspace | Finite-element type providing shape functions and geometry predicates. |
| Dim | Spatial dimension of the embedding space. |
| [in] | Xcoor | Coordinates of the current element nodes. |
| [in] | targetPoint | Coordinates of the query point in physical space. |
| [out] | weights | Shape-function values evaluated at the solved local coordinates. |
| [in] | forceEvaluation | If true, always write weights and return true even when the point is outside the reference element. |
true if Newton converges and the point is inside the element, or if forceEvaluation is enabled; otherwise false. Definition at line 50 of file NewtonKokkos.hpp.
References D_XI_ETA_PHI_TOL_SQUARED, MAX_NEWTON_ITER, PACMAN::fp_consts::one(), and PACMAN::fp_consts::zero().
| KOKKOS_FUNCTION bool PACMAN::FiniteElements::ApplyNewtonOnElement | ( | const cell_t | type, |
| const Kokkos::View< coordinates_t **, ExecSpace > | Xcoor, | ||
| const Kokkos::View< coordinates_t[Dim], ExecSpace > | targetPoint, | ||
| Kokkos::View< fp_t *, ExecSpace > | weights, | ||
| const bool | forceEvaluation = false |
||
| ) |
Dispatch Newton-based FE inversion to the correct element type.
| ExecSpace | Kokkos execution space used for local views/operations. |
| Dim | Spatial dimension of the interpolation problem. |
| [in] | type | PACMAN cell type identifier of the current element. |
| [in] | Xcoor | Coordinates of the current element nodes. |
| [in] | targetPoint | Query point coordinates. |
| [out] | weights | Interpolation weights (shape-function values). |
| [in] | forceEvaluation | If true, evaluate weights even for points outside the reference element. |
true if the point is considered valid for interpolation for the selected element policy; otherwise false. Definition at line 189 of file NewtonKokkos.hpp.
References CaseSwitch, PACMAN::VTK_HEXAHEDRON, PACMAN::VTK_LINE, PACMAN::VTK_PYRAMID, PACMAN::VTK_QUAD, PACMAN::VTK_QUADRATIC_EDGE, PACMAN::VTK_QUADRATIC_HEXAHEDRON, PACMAN::VTK_QUADRATIC_PYRAMID, PACMAN::VTK_QUADRATIC_QUAD, PACMAN::VTK_QUADRATIC_TETRA, PACMAN::VTK_QUADRATIC_TRIANGLE, PACMAN::VTK_QUADRATIC_WEDGE, PACMAN::VTK_TETRA, PACMAN::VTK_TRIANGLE, and PACMAN::VTK_WEDGE.
| KOKKOS_INLINE_FUNCTION ArborX::Point< 2, coordinates_t > PACMAN::FiniteElements::closest_point_to_edge | ( | const ArborX::Point< 2, coordinates_t > & | p, |
| const ArborX::Point< 2, coordinates_t > & | a, | ||
| const ArborX::Point< 2, coordinates_t > & | b | ||
| ) |
Compute the closest point on a 2D edge segment.
| [in] | p | Query point. |
| [in] | a | First segment endpoint. |
| [in] | b | Second segment endpoint. |
p on segment [a,b]. Definition at line 27 of file SkinProjection.hpp.
Referenced by ComputeProjectionOn2DSkin().
| void PACMAN::FiniteElements::ComputeBoxTargetPointIntersection | ( | Transfer< ExecSpace, Dim > & | transfer | ) |
Intersect target points with source-element bounding boxes, then evaluate FE interpolation for intersecting candidates.
| ExecSpace | Kokkos execution space used for search/interpolation. |
| Dim | Spatial dimension of the interpolation problem. |
| [in,out] | transfer | Transfer descriptor containing source mesh, connectivity, source values, and target buffers. |
Reads: sourcePoints, sourceValues, connValues, connOffsets, cellTypes. Writes: targetValues, targetStatus (for points successfully interpolated as TransferStatus::INTER).
Definition at line 33 of file FTUtils.hpp.
Build tetrahedralized boundary skin from source elements.
The routine enumerates candidate element faces, removes interior duplicates, triangulates surviving boundary faces, then stores the resulting skin faces and parent element ids in the transfer object.
| ExecSpace | Kokkos execution space used for scans, sorting, and compaction. |
| Dim | Spatial dimension of the problem (1, 2, or 3). |
| [in,out] | transfer | Transfer descriptor containing source connectivity and metadata. Reads: sourcePoints, connValues, connOffsets, cellTypes, nbLinearSkinFaces. Writes: skinFaces, skinParents. |
Definition at line 68 of file ComputeLinearSkin.hpp.
References getLinearFacesPaddedEntries(), getLinearFacesPaddedOffsets(), getTriFacesEntries(), getTriFacesOffsets(), getTriLocFacesEntries(), getTriLocFacesOffsets(), and PACMAN::FiniteElements::permute< T, Dim >::permuteCol().
| void PACMAN::FiniteElements::ComputeProjectionOn1DSkin | ( | Transfer< ExecSpace, 1 > & | transfer, |
| bool | extrapol = false |
||
| ) |
Project outside target points on a 1D skin and evaluate FE values.
| ExecSpace | Kokkos execution space used for kernels. |
| [in,out] | transfer | Transfer descriptor containing mesh/field data. Reads: source mesh/values, connectivity, skin entities, target points/status. Writes: targetValues, targetStatus, and optionally projected targetPoints when extrapol == false. |
| [in] | extrapol | If true, keep target coordinates and mark outside points as TransferStatus::EXTRAP; otherwise clamp projected coordinates and mark as TransferStatus::CLAMP. |
Definition at line 287 of file SkinProjection.hpp.
References PACMAN::CLAMP, PACMAN::EXTRAP, PACMAN::fp_consts::max(), and PACMAN::OUTSIDE.
| void PACMAN::FiniteElements::ComputeProjectionOn2DSkin | ( | Transfer< ExecSpace, 2 > & | transfer, |
| bool | extrapol = false |
||
| ) |
Project outside target points on a 2D skin and evaluate FE values.
| ExecSpace | Kokkos execution space used for kernels. |
| [in,out] | transfer | Transfer descriptor containing mesh/field data. Reads: source mesh/values, connectivity, skin entities, target points/status. Writes: targetValues, targetStatus, and optionally projected targetPoints when extrapol == false. |
| [in] | extrapol | If true, keep target coordinates and mark outside points as TransferStatus::EXTRAP; otherwise clamp projected coordinates and mark as TransferStatus::CLAMP. |
Definition at line 179 of file SkinProjection.hpp.
References PACMAN::CLAMP, closest_point_to_edge(), PACMAN::EXTRAP, PACMAN::fp_consts::max(), and PACMAN::OUTSIDE.
| void PACMAN::FiniteElements::ComputeProjectionOn3DSkin | ( | Transfer< ExecSpace, 3 > & | transfer, |
| bool | extrapol = false |
||
| ) |
Project outside target points on a 3D skin and evaluate FE values.
| ExecSpace | Kokkos execution space used for queries and kernels. |
| [in,out] | transfer | Transfer descriptor containing mesh/field data. Reads: source mesh/values, connectivity, skin entities, target points/status. Writes: targetValues, targetStatus, and optionally projected targetPoints when extrapol == false. |
| [in] | extrapol | If true, keep target coordinates and mark outside points as TransferStatus::EXTRAP; otherwise clamp projected coordinates and mark as TransferStatus::CLAMP. |
Definition at line 52 of file SkinProjection.hpp.
References PACMAN::CLAMP, and PACMAN::EXTRAP.
Interpolate target points from FE cells and clamp outside points by projection onto the source mesh skin.
| ExecSpace | Kokkos execution space used for search/projection kernels. |
| Dim | Spatial dimension of the interpolation problem. |
| [in,out] | transfer | Transfer descriptor holding interpolation data. Reads: source mesh/field data and target points. Writes: targetValues and targetStatus. |
Definition at line 29 of file FTInterpClamp.hpp.
Referenced by PACMAN::Interpolate().
Interpolate target points from FE cells and extrapolate outside points via projection onto the source mesh skin to retrieve FE cell for extrapolation.
| ExecSpace | Kokkos execution space used for search/projection kernels. |
| Dim | Spatial dimension of the interpolation problem. |
| [in,out] | transfer | Transfer descriptor holding interpolation data. Reads: source mesh/field data and target points. Writes: targetValues and targetStatus. |
Definition at line 30 of file FTInterpExtrap.hpp.
Referenced by PACMAN::Interpolate().
Interpolate target points from FE cells and fallback to nearest source-node value outside the source mesh.
| ExecSpace | Kokkos execution space used for search and interpolation. |
| Dim | Spatial dimension of the interpolation problem. |
| [in,out] | transfer | Transfer descriptor holding interpolation data. Reads: source mesh/field data and target points. Writes: targetValues and targetStatus. |
TransferStatus::NEAREST. Definition at line 28 of file FTInterpNearest.hpp.
References PACMAN::INTER, and PACMAN::NEAREST.
Referenced by PACMAN::Interpolate().
Interpolate target points from FE cells, zero-filling points outside the source mesh.
| ExecSpace | Kokkos execution space used for the intersection/query kernels. |
| Dim | Spatial dimension of the interpolation problem. |
| [in,out] | transfer | Transfer descriptor holding interpolation data. Reads: source mesh/field data and target points. Writes: targetValues and targetStatus. |
Definition at line 29 of file FTInterpZero.hpp.
Referenced by PACMAN::Interpolate().
Transfer source values to target points using nearest-neighbor search.
| ExecSpace | Kokkos execution space used for BVH build and query. |
| Dim | Spatial dimension of the point clouds (1, 2, or 3). |
| [in,out] | transfer | Transfer descriptor holding interpolation data. Reads: sourcePoints, sourceValues, targetPoints. Writes: targetValues. |
Definition at line 28 of file FTNearest.hpp.
Referenced by PACMAN::Interpolate().
| KOKKOS_INLINE_FUNCTION shortint_t PACMAN::FiniteElements::getDimension | ( | const CellType & | type | ) |
Return topological dimension of a PACMAN cell type.
| [in] | type | PACMAN cell type. |
{0,1,2,3}, or -1 for unsupported values. Definition at line 28 of file FESkinTools.hpp.
References PACMAN::VTK_EMPTY_CELL, PACMAN::VTK_HEXAHEDRON, PACMAN::VTK_LINE, PACMAN::VTK_PYRAMID, PACMAN::VTK_QUAD, PACMAN::VTK_QUADRATIC_EDGE, PACMAN::VTK_QUADRATIC_HEXAHEDRON, PACMAN::VTK_QUADRATIC_PYRAMID, PACMAN::VTK_QUADRATIC_QUAD, PACMAN::VTK_QUADRATIC_TETRA, PACMAN::VTK_QUADRATIC_TRIANGLE, PACMAN::VTK_QUADRATIC_WEDGE, PACMAN::VTK_TETRA, PACMAN::VTK_TRIANGLE, PACMAN::VTK_VERTEX, and PACMAN::VTK_WEDGE.
|
inline |
Get padded linear-face entry table for a given dimension.
| [in] | dimension | Requested dimension (1, 2, or 3). |
Definition at line 495 of file FESkinTools.hpp.
References elemDim1LinearFacesPaddedEntries, elemDim2LinearFacesPaddedEntries, and elemDim3LinearFacesPaddedEntries.
Referenced by ComputeLinearSkin().
|
inline |
Get padded linear-face offset table for a given dimension.
| [in] | dimension | Requested dimension (1, 2, or 3). |
Definition at line 475 of file FESkinTools.hpp.
References elemDim1LinearFacesPaddedOffsets, elemDim2LinearFacesPaddedOffsets, and elemDim3LinearFacesPaddedOffsets.
Referenced by ComputeLinearSkin().
| KOKKOS_INLINE_FUNCTION shortint_t PACMAN::FiniteElements::getNbFace | ( | const CellType & | type | ) |
Dimension-dispatched helper returning face count for one cell type.
| Dim | Requested table dimension (1, 2, or 3). |
| [in] | type | PACMAN cell type. |
-1 for invalid cases. Definition at line 204 of file FESkinTools.hpp.
References getNbFaceDim1(), getNbFaceDim2(), and getNbFaceDim3().
| KOKKOS_INLINE_FUNCTION shortint_t PACMAN::FiniteElements::getNbFaceDim1 | ( | const CellType & | type | ) |
Return the number of faces for 1D skin extraction tables.
| [in] | type | PACMAN cell type. |
-1 when not applicable. Definition at line 61 of file FESkinTools.hpp.
References PACMAN::VTK_EMPTY_CELL, PACMAN::VTK_HEXAHEDRON, PACMAN::VTK_LINE, PACMAN::VTK_PYRAMID, PACMAN::VTK_QUAD, PACMAN::VTK_QUADRATIC_EDGE, PACMAN::VTK_QUADRATIC_HEXAHEDRON, PACMAN::VTK_QUADRATIC_PYRAMID, PACMAN::VTK_QUADRATIC_QUAD, PACMAN::VTK_QUADRATIC_TETRA, PACMAN::VTK_QUADRATIC_TRIANGLE, PACMAN::VTK_QUADRATIC_WEDGE, PACMAN::VTK_TETRA, PACMAN::VTK_TRIANGLE, PACMAN::VTK_VERTEX, and PACMAN::VTK_WEDGE.
Referenced by getNbFace().
| KOKKOS_INLINE_FUNCTION shortint_t PACMAN::FiniteElements::getNbFaceDim2 | ( | const CellType & | type | ) |
Return the number of faces for 2D skin extraction tables.
| [in] | type | PACMAN cell type. |
-1 when not applicable. Definition at line 108 of file FESkinTools.hpp.
References PACMAN::VTK_EMPTY_CELL, PACMAN::VTK_HEXAHEDRON, PACMAN::VTK_LINE, PACMAN::VTK_PYRAMID, PACMAN::VTK_QUAD, PACMAN::VTK_QUADRATIC_EDGE, PACMAN::VTK_QUADRATIC_HEXAHEDRON, PACMAN::VTK_QUADRATIC_PYRAMID, PACMAN::VTK_QUADRATIC_QUAD, PACMAN::VTK_QUADRATIC_TETRA, PACMAN::VTK_QUADRATIC_TRIANGLE, PACMAN::VTK_QUADRATIC_WEDGE, PACMAN::VTK_TETRA, PACMAN::VTK_TRIANGLE, PACMAN::VTK_VERTEX, and PACMAN::VTK_WEDGE.
Referenced by getNbFace().
| KOKKOS_INLINE_FUNCTION shortint_t PACMAN::FiniteElements::getNbFaceDim3 | ( | const CellType & | type | ) |
Return the number of faces for 3D skin extraction tables.
| [in] | type | PACMAN cell type. |
-1 when not applicable. Definition at line 155 of file FESkinTools.hpp.
References PACMAN::VTK_EMPTY_CELL, PACMAN::VTK_HEXAHEDRON, PACMAN::VTK_LINE, PACMAN::VTK_PYRAMID, PACMAN::VTK_QUAD, PACMAN::VTK_QUADRATIC_EDGE, PACMAN::VTK_QUADRATIC_HEXAHEDRON, PACMAN::VTK_QUADRATIC_PYRAMID, PACMAN::VTK_QUADRATIC_QUAD, PACMAN::VTK_QUADRATIC_TETRA, PACMAN::VTK_QUADRATIC_TRIANGLE, PACMAN::VTK_QUADRATIC_WEDGE, PACMAN::VTK_TETRA, PACMAN::VTK_TRIANGLE, PACMAN::VTK_VERTEX, and PACMAN::VTK_WEDGE.
Referenced by getNbFace().
|
inline |
Get triangulated-face entry table for a given dimension.
| [in] | dimension | Requested dimension (1, 2, or 3). |
Definition at line 801 of file FESkinTools.hpp.
References elemDim1TriFacesEntries, elemDim2TriFacesEntries, and elemDim3TriFacesEntries.
Referenced by ComputeLinearSkin().
Get triangulated-face offset table for a given dimension.
| [in] | dimension | Requested dimension (1, 2, or 3). |
Definition at line 783 of file FESkinTools.hpp.
References elemDim1TriFacesOffsets, elemDim2TriFacesOffsets, and elemDim3TriFacesOffsets.
Referenced by ComputeLinearSkin().
|
inline |
Get local triangulated-face entry table for a given dimension.
| [in] | dimension | Requested dimension (1, 2, or 3). |
Definition at line 1051 of file FESkinTools.hpp.
References elemDim1TriLocFacesEntries, elemDim2TriLocFacesEntries, and elemDim3TriLocFacesEntries.
Referenced by ComputeLinearSkin().
|
inline |
Get local triangulated-face offset table for a given dimension.
| [in] | dimension | Requested dimension (1, 2, or 3). |
Definition at line 1033 of file FESkinTools.hpp.
References elemDim1TriLocFacesOffsets, elemDim2TriLocFacesOffsets, and elemDim3TriLocFacesOffsets.
Referenced by ComputeLinearSkin().
| KOKKOS_INLINE_FUNCTION bool PACMAN::FiniteElements::IsBaryCoordInsideGeo | ( | const fp_t | xi, |
| const fp_t | eta, | ||
| const fp_t | phi | ||
| ) |
Generic predicate to test if local coordinates lie inside a reference geometry.
| T | Geometric support kind (POINT, LINE, TRIANGLE, ...). |
| [in] | xi | First local coordinate. |
| [in] | eta | Second local coordinate. |
| [in] | phi | Third local coordinate. |
true when (xi, eta, phi) is inside the reference support. Definition at line 43 of file FETools.hpp.
| KOKKOS_INLINE_FUNCTION bool PACMAN::FiniteElements::IsBaryCoordInsideGeo< GeoSupport::HEXAHEDRON > | ( | const fp_t | xi, |
| const fp_t | eta, | ||
| const fp_t | phi | ||
| ) |
Definition at line 87 of file FETools.hpp.
References _EPS_BARY.
Referenced by PACMAN::FiniteElements::LagrangeSpaceGeo< ExecSpace, CellType::VTK_HEXAHEDRON >::isInside(), and PACMAN::FiniteElements::LagrangeSpaceGeo< ExecSpace, CellType::VTK_QUADRATIC_HEXAHEDRON >::isInside().
| KOKKOS_INLINE_FUNCTION bool PACMAN::FiniteElements::IsBaryCoordInsideGeo< GeoSupport::LINE > | ( | const fp_t | xi, |
| const fp_t | eta, | ||
| const fp_t | phi | ||
| ) |
Definition at line 57 of file FETools.hpp.
References _EPS_BARY.
Referenced by PACMAN::FiniteElements::LagrangeSpaceGeo< ExecSpace, CellType::VTK_LINE >::isInside(), and PACMAN::FiniteElements::LagrangeSpaceGeo< ExecSpace, CellType::VTK_QUADRATIC_EDGE >::isInside().
| KOKKOS_INLINE_FUNCTION bool PACMAN::FiniteElements::IsBaryCoordInsideGeo< GeoSupport::POINT > | ( | const fp_t | xi, |
| const fp_t | eta, | ||
| const fp_t | phi | ||
| ) |
Definition at line 50 of file FETools.hpp.
Referenced by PACMAN::FiniteElements::LagrangeSpaceGeo< ExecSpace, CellType::VTK_VERTEX >::isInside().
| KOKKOS_INLINE_FUNCTION bool PACMAN::FiniteElements::IsBaryCoordInsideGeo< GeoSupport::PYRAMID > | ( | const fp_t | xi, |
| const fp_t | eta, | ||
| const fp_t | phi | ||
| ) |
Definition at line 105 of file FETools.hpp.
References _EPS_BARY.
Referenced by PACMAN::FiniteElements::LagrangeSpaceGeo< ExecSpace, CellType::VTK_PYRAMID >::isInside(), and PACMAN::FiniteElements::LagrangeSpaceGeo< ExecSpace, CellType::VTK_QUADRATIC_PYRAMID >::isInside().
| KOKKOS_INLINE_FUNCTION bool PACMAN::FiniteElements::IsBaryCoordInsideGeo< GeoSupport::QUAD > | ( | const fp_t | xi, |
| const fp_t | eta, | ||
| const fp_t | phi | ||
| ) |
Definition at line 72 of file FETools.hpp.
References _EPS_BARY.
Referenced by PACMAN::FiniteElements::LagrangeSpaceGeo< ExecSpace, CellType::VTK_QUAD >::isInside(), and PACMAN::FiniteElements::LagrangeSpaceGeo< ExecSpace, CellType::VTK_QUADRATIC_QUAD >::isInside().
| KOKKOS_INLINE_FUNCTION bool PACMAN::FiniteElements::IsBaryCoordInsideGeo< GeoSupport::TETRA > | ( | const fp_t | xi, |
| const fp_t | eta, | ||
| const fp_t | phi | ||
| ) |
Definition at line 79 of file FETools.hpp.
References _EPS_BARY.
Referenced by PACMAN::FiniteElements::LagrangeSpaceGeo< ExecSpace, CellType::VTK_TETRA >::isInside(), and PACMAN::FiniteElements::LagrangeSpaceGeo< ExecSpace, CellType::VTK_QUADRATIC_TETRA >::isInside().
| KOKKOS_INLINE_FUNCTION bool PACMAN::FiniteElements::IsBaryCoordInsideGeo< GeoSupport::TRIANGLE > | ( | const fp_t | xi, |
| const fp_t | eta, | ||
| const fp_t | phi | ||
| ) |
Definition at line 64 of file FETools.hpp.
References _EPS_BARY.
Referenced by PACMAN::FiniteElements::LagrangeSpaceGeo< ExecSpace, CellType::VTK_TRIANGLE >::isInside(), and PACMAN::FiniteElements::LagrangeSpaceGeo< ExecSpace, CellType::VTK_QUADRATIC_TRIANGLE >::isInside().
| KOKKOS_INLINE_FUNCTION bool PACMAN::FiniteElements::IsBaryCoordInsideGeo< GeoSupport::WEDGE > | ( | const fp_t | xi, |
| const fp_t | eta, | ||
| const fp_t | phi | ||
| ) |
Definition at line 96 of file FETools.hpp.
References _EPS_BARY.
Referenced by PACMAN::FiniteElements::LagrangeSpaceGeo< ExecSpace, CellType::VTK_WEDGE >::isInside(), and PACMAN::FiniteElements::LagrangeSpaceGeo< ExecSpace, CellType::VTK_QUADRATIC_WEDGE >::isInside().
|
static |
Definition at line 254 of file FESkinTools.hpp.
Referenced by getLinearFacesPaddedEntries().
|
static |
Definition at line 219 of file FESkinTools.hpp.
Referenced by getLinearFacesPaddedOffsets().
|
static |
Definition at line 548 of file FESkinTools.hpp.
Referenced by getTriFacesEntries().
|
static |
Definition at line 511 of file FESkinTools.hpp.
Referenced by getTriFacesOffsets().
|
static |
Definition at line 853 of file FESkinTools.hpp.
Referenced by getTriLocFacesEntries().
|
static |
Definition at line 816 of file FESkinTools.hpp.
Referenced by getTriLocFacesOffsets().
|
static |
Definition at line 325 of file FESkinTools.hpp.
Referenced by getLinearFacesPaddedEntries().
|
static |
Definition at line 288 of file FESkinTools.hpp.
Referenced by getLinearFacesPaddedOffsets().
|
static |
Definition at line 622 of file FESkinTools.hpp.
Referenced by getTriFacesEntries().
|
static |
Definition at line 586 of file FESkinTools.hpp.
Referenced by getTriFacesOffsets().
|
static |
Definition at line 924 of file FESkinTools.hpp.
Referenced by getTriLocFacesEntries().
|
static |
Definition at line 888 of file FESkinTools.hpp.
Referenced by getTriLocFacesOffsets().
|
static |
Definition at line 405 of file FESkinTools.hpp.
Referenced by getLinearFacesPaddedEntries().
|
static |
Definition at line 369 of file FESkinTools.hpp.
Referenced by getLinearFacesPaddedOffsets().
|
static |
Definition at line 711 of file FESkinTools.hpp.
Referenced by getTriFacesEntries().
|
static |
Definition at line 675 of file FESkinTools.hpp.
Referenced by getTriFacesOffsets().
|
static |
Definition at line 996 of file FESkinTools.hpp.
Referenced by getTriLocFacesEntries().
|
static |
Definition at line 959 of file FESkinTools.hpp.
Referenced by getTriLocFacesOffsets().