NeoN
A framework for CFD software
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
NeoN::la::FaceToMatrixView Struct Reference

#include <faceToMatrixAddress.hpp>

Public Member Functions

 FaceToMatrixView (View< const uint8_t > ownerOffsetView, View< const uint8_t > neighbourOffsetView, View< const uint8_t > diagOffsetView, View< const localIdx > rowOffsView)
 
KOKKOS_INLINE_FUNCTION localIdx diagIdx (localIdx celli) const
 
KOKKOS_INLINE_FUNCTION localIdx upperIdx (localIdx own, localIdx faceIdx) const
 
KOKKOS_INLINE_FUNCTION localIdx lowerIdx (localIdx nei, localIdx faceIdx) const
 

Public Attributes

View< const uint8_t > ownerOffset
 
View< const uint8_t > neighbourOffset
 
View< const uint8_t > diagOffset
 
View< const localIdxrowOffs
 

Detailed Description

Definition at line 16 of file faceToMatrixAddress.hpp.

Constructor & Destructor Documentation

◆ FaceToMatrixView()

NeoN::la::FaceToMatrixView::FaceToMatrixView ( View< const uint8_t >  ownerOffsetView,
View< const uint8_t >  neighbourOffsetView,
View< const uint8_t >  diagOffsetView,
View< const localIdx rowOffsView 
)
inline

Definition at line 18 of file faceToMatrixAddress.hpp.

Member Function Documentation

◆ diagIdx()

KOKKOS_INLINE_FUNCTION localIdx NeoN::la::FaceToMatrixView::diagIdx ( localIdx  celli) const
inline

Definition at line 31 of file faceToMatrixAddress.hpp.

◆ lowerIdx()

KOKKOS_INLINE_FUNCTION localIdx NeoN::la::FaceToMatrixView::lowerIdx ( localIdx  nei,
localIdx  faceIdx 
) const
inline

Definition at line 55 of file faceToMatrixAddress.hpp.

◆ upperIdx()

KOKKOS_INLINE_FUNCTION localIdx NeoN::la::FaceToMatrixView::upperIdx ( localIdx  own,
localIdx  faceIdx 
) const
inline

Definition at line 43 of file faceToMatrixAddress.hpp.

Member Data Documentation

◆ diagOffset

View<const uint8_t> NeoN::la::FaceToMatrixView::diagOffset

Definition at line 65 of file faceToMatrixAddress.hpp.

◆ neighbourOffset

View<const uint8_t> NeoN::la::FaceToMatrixView::neighbourOffset

Definition at line 63 of file faceToMatrixAddress.hpp.

◆ ownerOffset

View<const uint8_t> NeoN::la::FaceToMatrixView::ownerOffset

Definition at line 61 of file faceToMatrixAddress.hpp.

◆ rowOffs

View<const localIdx> NeoN::la::FaceToMatrixView::rowOffs

Definition at line 68 of file faceToMatrixAddress.hpp.


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