Mallard 0.8.0
Unstructured, GPU accelerated, high-order finite volume CFD solver
Mallard website
Loading...
Searching...
No Matches
teno::PackedStencils::RowT< T > Struct Template Reference

One cell's stencil, resolved once per cell, for pseudo-inverse entries of type T. More...

#include <teno.h>

Public Member Functions

KOKKOS_INLINE_FUNCTION int32_t cell (const uint32_t s) const
 
KOKKOS_INLINE_FUNCTION int32_t face (const uint32_t s) const
 
template<uint8_t WIDTH>
KOKKOS_INLINE_FUNCTION rtype pinv (const uint32_t s, const uint32_t l) const
 Entry l of slot s, for pseudo-inverses of WIDTH entries per slot.
 

Public Attributes

const T * pinv_
 
const int32_t * cells_
 
const int32_t * faces_
 
uint8_t shift
 

Detailed Description

template<typename T>
struct teno::PackedStencils::RowT< T >

One cell's stencil, resolved once per cell, for pseudo-inverse entries of type T.

Member Function Documentation

◆ cell()

template<typename T >
KOKKOS_INLINE_FUNCTION int32_t teno::PackedStencils::RowT< T >::cell ( const uint32_t  s) const
inline

◆ face()

template<typename T >
KOKKOS_INLINE_FUNCTION int32_t teno::PackedStencils::RowT< T >::face ( const uint32_t  s) const
inline

◆ pinv()

template<typename T >
template<uint8_t WIDTH>
KOKKOS_INLINE_FUNCTION rtype teno::PackedStencils::RowT< T >::pinv ( const uint32_t  s,
const uint32_t  l 
) const
inline

Entry l of slot s, for pseudo-inverses of WIDTH entries per slot.

Member Data Documentation

◆ cells_

template<typename T >
const int32_t* teno::PackedStencils::RowT< T >::cells_

◆ faces_

template<typename T >
const int32_t* teno::PackedStencils::RowT< T >::faces_

◆ pinv_

template<typename T >
const T* teno::PackedStencils::RowT< T >::pinv_

◆ shift

template<typename T >
uint8_t teno::PackedStencils::RowT< T >::shift

The documentation for this struct was generated from the following file: