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

Utilities and lookup tables for element faces and skin extraction. More...

#include <vector>
#include "common/transfer.hxx"
#include "common/types.hpp"

Go to the source code of this file.

Namespaces

namespace  PACMAN
 
namespace  PACMAN::FiniteElements
 

Functions

KOKKOS_INLINE_FUNCTION shortint_t PACMAN::FiniteElements::getDimension (const CellType &type)
 Return topological dimension of a PACMAN cell type.
 
KOKKOS_INLINE_FUNCTION shortint_t PACMAN::FiniteElements::getNbFaceDim1 (const CellType &type)
 Return the number of faces for 1D skin extraction tables.
 
KOKKOS_INLINE_FUNCTION shortint_t PACMAN::FiniteElements::getNbFaceDim2 (const CellType &type)
 Return the number of faces for 2D skin extraction tables.
 
KOKKOS_INLINE_FUNCTION shortint_t PACMAN::FiniteElements::getNbFaceDim3 (const CellType &type)
 Return the number of faces for 3D skin extraction tables.
 
template<int_t Dim>
KOKKOS_INLINE_FUNCTION shortint_t PACMAN::FiniteElements::getNbFace (const CellType &type)
 Dimension-dispatched helper returning face count for one cell type.
 
std::vector< offset_tPACMAN::FiniteElements::getLinearFacesPaddedOffsets (const int_t dimension)
 Get padded linear-face offset table for a given dimension.
 
std::vector< shortint_tPACMAN::FiniteElements::getLinearFacesPaddedEntries (const int_t dimension)
 Get padded linear-face entry table for a given dimension.
 
std::vector< offset_tPACMAN::FiniteElements::getTriFacesOffsets (const int_t dimension)
 Get triangulated-face offset table for a given dimension.
 
std::vector< shortint_tPACMAN::FiniteElements::getTriFacesEntries (const int_t dimension)
 Get triangulated-face entry table for a given dimension.
 
std::vector< offset_tPACMAN::FiniteElements::getTriLocFacesOffsets (const int_t dimension)
 Get local triangulated-face offset table for a given dimension.
 
std::vector< shortint_tPACMAN::FiniteElements::getTriLocFacesEntries (const int_t dimension)
 Get local triangulated-face entry table for a given dimension.
 

Variables

static std::vector< offset_tPACMAN::FiniteElements::elemDim1LinearFacesPaddedOffsets
 
static std::vector< shortint_tPACMAN::FiniteElements::elemDim1LinearFacesPaddedEntries
 
static std::vector< offset_tPACMAN::FiniteElements::elemDim2LinearFacesPaddedOffsets
 
static std::vector< shortint_tPACMAN::FiniteElements::elemDim2LinearFacesPaddedEntries
 
static std::vector< offset_tPACMAN::FiniteElements::elemDim3LinearFacesPaddedOffsets
 
static std::vector< shortint_tPACMAN::FiniteElements::elemDim3LinearFacesPaddedEntries
 
static std::vector< offset_tPACMAN::FiniteElements::elemDim1TriFacesOffsets
 
static std::vector< shortint_tPACMAN::FiniteElements::elemDim1TriFacesEntries
 
static std::vector< offset_tPACMAN::FiniteElements::elemDim2TriFacesOffsets
 
static std::vector< shortint_tPACMAN::FiniteElements::elemDim2TriFacesEntries
 
static std::vector< offset_tPACMAN::FiniteElements::elemDim3TriFacesOffsets
 
static std::vector< shortint_tPACMAN::FiniteElements::elemDim3TriFacesEntries
 
static std::vector< offset_tPACMAN::FiniteElements::elemDim1TriLocFacesOffsets
 
static std::vector< shortint_tPACMAN::FiniteElements::elemDim1TriLocFacesEntries
 
static std::vector< offset_tPACMAN::FiniteElements::elemDim2TriLocFacesOffsets
 
static std::vector< shortint_tPACMAN::FiniteElements::elemDim2TriLocFacesEntries
 
static std::vector< offset_tPACMAN::FiniteElements::elemDim3TriLocFacesOffsets
 
static std::vector< shortint_tPACMAN::FiniteElements::elemDim3TriLocFacesEntries
 

Detailed Description

Utilities and lookup tables for element faces and skin extraction.

This header exposes helper functions that map cell types to topological dimensions and provide precomputed offset/entry tables for linear, triangulated, and triangulated-local face representations.

Definition in file FESkinTools.hpp.