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

The setup of one mesh. More...

Public Member Functions

 Setup3D (const Mesh &mesh, const BoundaryData &boundaries, Kokkos::View< rtype *** > quad_points, Kokkos::View< rtype ** > quad_weights, const Options &opt)
 
uint16_t max_large () const
 
size_t c_nss_max () const
 
uint16_t max_small () const
 
uint32_t batch_cells () const
 
TeamLayout team_layout () const
 Scratch layout of one team (one cell) of the device kernel.
 
void compute (const Kokkos::View< uint32_t * > &cells, const uint32_t n, TableBatch &out)
 
const Timings & timings () const
 
teno::Moments moments (const uint32_t n_rows) const
 

Static Public Member Functions

static size_t resident_teams (const size_t shared_bytes)
 Upper bound on the teams of the device kernel resident at once.
 

Static Public Attributes

static constexpr int TEAM_SIZE = 128
 
static constexpr size_t BATCH_BYTES_PER_CELL = 2048
 

Detailed Description

The setup of one mesh.

Constructor & Destructor Documentation

◆ Setup3D()

teno_setup::Setup3D::Setup3D ( const Mesh &  mesh,
const BoundaryData &  boundaries,
Kokkos::View< rtype *** >  quad_points,
Kokkos::View< rtype ** >  quad_weights,
const Options &  opt 
)
inline

Member Function Documentation

◆ batch_cells()

uint32_t teno_setup::Setup3D::batch_cells ( ) const
inline

◆ c_nss_max()

size_t teno_setup::Setup3D::c_nss_max ( ) const
inline

◆ compute()

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

◆ max_large()

uint16_t teno_setup::Setup3D::max_large ( ) const
inline

◆ max_small()

uint16_t teno_setup::Setup3D::max_small ( ) const
inline

◆ moments()

teno::Moments teno_setup::Setup3D::moments ( const uint32_t  n_rows) const
inline

◆ resident_teams()

static size_t teno_setup::Setup3D::resident_teams ( const size_t  shared_bytes)
inlinestatic

Upper bound on the teams of the device kernel resident at once.

◆ team_layout()

TeamLayout teno_setup::Setup3D::team_layout ( ) const
inline

Scratch layout of one team (one cell) of the device kernel.

◆ timings()

const Timings & teno_setup::Setup3D::timings ( ) const
inline

Member Data Documentation

◆ BATCH_BYTES_PER_CELL

constexpr size_t teno_setup::Setup3D::BATCH_BYTES_PER_CELL = 2048
staticconstexpr

◆ TEAM_SIZE

constexpr int teno_setup::Setup3D::TEAM_SIZE = 128
staticconstexpr

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