Mallard 0.8.0
Unstructured, GPU accelerated, high-order finite volume CFD solver
Mallard website
Loading...
Searching...
No Matches
teno_setup::Setup3DHandle Class Reference

The 3D TENO-E precomputation of a mesh: the geometry it needs (cell moments, bounding boxes and ranking metrics), computed once, and the tables of any batch of cells. Every cell's tables are a function of the mesh alone, computed with the same sequence of floating-point operations on the device and on the host, so they do not depend on the batch, the thread count or where they ran. More...

#include <teno_setup.h>

Public Member Functions

 Setup3DHandle (const Mesh &mesh, const BoundaryData &boundaries, Kokkos::View< rtype *** > face_quad_points, Kokkos::View< rtype ** > face_quad_weights, const Options &options)
 
 ~Setup3DHandle ()
 
void compute (const Kokkos::View< uint32_t * > &cells, uint32_t n, TableBatch &out)
 Tables of cells[0..n) into slots 0..n of out (out.slots >= n); cells must be reconstructed cells.
 
uint32_t batch_cells () const
 Cells per batch that fit the device.
 
uint16_t max_large () const
 
uint16_t max_small () const
 
const Timings & timings () const
 
teno::Moments moments (uint32_t n_rows) const
 The central moments of cells [0, n_rows), from which the troubled passes form the smoothness matrices: the setup's own array if it has n_rows rows.
 

Detailed Description

The 3D TENO-E precomputation of a mesh: the geometry it needs (cell moments, bounding boxes and ranking metrics), computed once, and the tables of any batch of cells. Every cell's tables are a function of the mesh alone, computed with the same sequence of floating-point operations on the device and on the host, so they do not depend on the batch, the thread count or where they ran.

Constructor & Destructor Documentation

◆ Setup3DHandle()

teno_setup::Setup3DHandle::Setup3DHandle ( const Mesh &  mesh,
const BoundaryData &  boundaries,
Kokkos::View< rtype *** >  face_quad_points,
Kokkos::View< rtype ** >  face_quad_weights,
const Options &  options 
)

◆ ~Setup3DHandle()

teno_setup::Setup3DHandle::~Setup3DHandle ( )
default

Member Function Documentation

◆ batch_cells()

uint32_t teno_setup::Setup3DHandle::batch_cells ( ) const

Cells per batch that fit the device.

◆ compute()

void teno_setup::Setup3DHandle::compute ( const Kokkos::View< uint32_t * > &  cells,
uint32_t  n,
TableBatch &  out 
)

Tables of cells[0..n) into slots 0..n of out (out.slots >= n); cells must be reconstructed cells.

◆ max_large()

uint16_t teno_setup::Setup3DHandle::max_large ( ) const

◆ max_small()

uint16_t teno_setup::Setup3DHandle::max_small ( ) const

◆ moments()

teno::Moments teno_setup::Setup3DHandle::moments ( uint32_t  n_rows) const

The central moments of cells [0, n_rows), from which the troubled passes form the smoothness matrices: the setup's own array if it has n_rows rows.

◆ timings()

const Timings & teno_setup::Setup3DHandle::timings ( ) const

The documentation for this class was generated from the following files: