PACMAN 0.1.0
Portable Algorithms for Coupling, Mapping, and Adaptive iNterpolation
Loading...
Searching...
No Matches
FETools.hpp File Reference

Finite-element geometric helpers and Lagrange-space specializations. More...

#include "common/types.hpp"
#include <Kokkos_Core.hpp>

Go to the source code of this file.

Classes

struct  PACMAN::FiniteElements::LagrangeSpaceGeo< ExecSpace, CellType::VTK_EMPTY_CELL >
 
struct  PACMAN::FiniteElements::LagrangeSpaceGeo< ExecSpace, CellType::VTK_VERTEX >
 
struct  PACMAN::FiniteElements::LagrangeSpaceGeo< ExecSpace, CellType::VTK_LINE >
 
struct  PACMAN::FiniteElements::LagrangeSpaceGeo< ExecSpace, CellType::VTK_QUADRATIC_EDGE >
 
struct  PACMAN::FiniteElements::LagrangeSpaceGeo< ExecSpace, CellType::VTK_TRIANGLE >
 
struct  PACMAN::FiniteElements::LagrangeSpaceGeo< ExecSpace, CellType::VTK_QUADRATIC_TRIANGLE >
 
struct  PACMAN::FiniteElements::LagrangeSpaceGeo< ExecSpace, CellType::VTK_QUAD >
 
struct  PACMAN::FiniteElements::LagrangeSpaceGeo< ExecSpace, CellType::VTK_QUADRATIC_QUAD >
 
struct  PACMAN::FiniteElements::LagrangeSpaceGeo< ExecSpace, CellType::VTK_TETRA >
 
struct  PACMAN::FiniteElements::LagrangeSpaceGeo< ExecSpace, CellType::VTK_QUADRATIC_TETRA >
 
struct  PACMAN::FiniteElements::LagrangeSpaceGeo< ExecSpace, CellType::VTK_HEXAHEDRON >
 
struct  PACMAN::FiniteElements::LagrangeSpaceGeo< ExecSpace, CellType::VTK_QUADRATIC_HEXAHEDRON >
 
struct  PACMAN::FiniteElements::LagrangeSpaceGeo< ExecSpace, CellType::VTK_WEDGE >
 
struct  PACMAN::FiniteElements::LagrangeSpaceGeo< ExecSpace, CellType::VTK_QUADRATIC_WEDGE >
 
struct  PACMAN::FiniteElements::LagrangeSpaceGeo< ExecSpace, CellType::VTK_PYRAMID >
 
struct  PACMAN::FiniteElements::LagrangeSpaceGeo< ExecSpace, CellType::VTK_QUADRATIC_PYRAMID >
 

Namespaces

namespace  PACMAN
 
namespace  PACMAN::FiniteElements
 

Macros

#define _EPS_BARY   1e-6
 

Functions

template<GeoSupport T>
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.
 
template<>
KOKKOS_INLINE_FUNCTION bool PACMAN::FiniteElements::IsBaryCoordInsideGeo< GeoSupport::POINT > (const fp_t xi, const fp_t eta, const fp_t phi)
 
template<>
KOKKOS_INLINE_FUNCTION bool PACMAN::FiniteElements::IsBaryCoordInsideGeo< GeoSupport::LINE > (const fp_t xi, const fp_t eta, const fp_t phi)
 
template<>
KOKKOS_INLINE_FUNCTION bool PACMAN::FiniteElements::IsBaryCoordInsideGeo< GeoSupport::TRIANGLE > (const fp_t xi, const fp_t eta, const fp_t phi)
 
template<>
KOKKOS_INLINE_FUNCTION bool PACMAN::FiniteElements::IsBaryCoordInsideGeo< GeoSupport::QUAD > (const fp_t xi, const fp_t eta, const fp_t phi)
 
template<>
KOKKOS_INLINE_FUNCTION bool PACMAN::FiniteElements::IsBaryCoordInsideGeo< GeoSupport::TETRA > (const fp_t xi, const fp_t eta, const fp_t phi)
 
template<>
KOKKOS_INLINE_FUNCTION bool PACMAN::FiniteElements::IsBaryCoordInsideGeo< GeoSupport::HEXAHEDRON > (const fp_t xi, const fp_t eta, const fp_t phi)
 
template<>
KOKKOS_INLINE_FUNCTION bool PACMAN::FiniteElements::IsBaryCoordInsideGeo< GeoSupport::WEDGE > (const fp_t xi, const fp_t eta, const fp_t phi)
 
template<>
KOKKOS_INLINE_FUNCTION bool PACMAN::FiniteElements::IsBaryCoordInsideGeo< GeoSupport::PYRAMID > (const fp_t xi, const fp_t eta, const fp_t phi)
 

Detailed Description

Finite-element geometric helpers and Lagrange-space specializations.

This header provides:

  • barycentric-inside predicates for supported geometric supports,
  • LagrangeSpaceGeo specializations for PACMAN VTK cell types,
  • shape-function values and derivatives used by FE interpolation/Newton routines.

Definition in file FETools.hpp.

Macro Definition Documentation

◆ _EPS_BARY

#define _EPS_BARY   1e-6

Definition at line 29 of file FETools.hpp.