Mallard 0.8.0
Unstructured, GPU accelerated, high-order finite volume CFD solver
Mallard website
Loading...
Searching...
No Matches
teno.cpp File Reference

TENO-E reconstruction implementation. More...

#include <algorithm>
#include <array>
#include <cmath>
#include <cstring>
#include <filesystem>
#include <fstream>
#include <limits>
#include <memory>
#include <unordered_map>
#include <string>
#include <utility>
#include <tuple>
#include <type_traits>
#include <stdexcept>
#include <vector>
#include <sys/mman.h>
#include <Kokkos_Core.hpp>
#include "comm.h"
#include "face_reconstruction.h"
#include "growing_buffer.h"
#include "input.h"
#include "launch_bounds.h"
#include "teno.h"
#include "teno_setup.h"

Classes

struct  TENOFunctor< DEG, PRIM, TABLE >
 Per-cell TENO-E reconstruction of degree DEG to the quadrature points of all of the cell's faces. SmoothPass finishes the cells below the troubled threshold and queues the others with their central coefficients. The troubled passes then work on that queue only, so the register-heavy path does not slow the smooth cells, and split it finely, so that the few troubled cells along shocks still fill the device: sector-stencil coefficients per (cell, sector), stencil selection per (cell, face, characteristic variable), the projection back to conservative variables per (cell, face), and admissibility per cell. Each pass loops over its share of the queue, whose length never has to be read back to the host. More...
 
struct  TENOFunctor< DEG, PRIM, TABLE >::SmoothPass
 
struct  TENOFunctor< DEG, PRIM, TABLE >::TroubledSectorPass
 
struct  TENOFunctor< DEG, PRIM, TABLE >::TroubledSelectPass
 
struct  TENOFunctor< DEG, PRIM, TABLE >::TroubledProjectPass
 
struct  TENOFunctor< DEG, PRIM, TABLE >::TroubledFinishPass
 
struct  TENOFunctor< DEG, PRIM, TABLE >::GradientPass
 
struct  TENOFunctor< DEG, PRIM, TABLE >::SmoothTeamPass
 
struct  TENOFunctor< DEG, PRIM, TABLE >::TroubledCentralPass
 
struct  TENOFunctor< DEG, PRIM, TABLE >::TroubledCentralTeamPass
 
struct  TENOFunctor< DEG, PRIM, TABLE >::SourcePass
 
struct  TENOFunctor< DEG, PRIM, TABLE >::TroubledSelectTeamPass
 

Variables

constexpr uint32_t TROUBLED_THREADS = 1u << 18
 

Detailed Description

TENO-E reconstruction implementation.

Author
Matthew Bonanni (mbona.nosp@m.nni0.nosp@m.01@gm.nosp@m.ail..nosp@m.com)
Version
0.2
Date
2026-10-02

Variable Documentation

◆ TROUBLED_THREADS

constexpr uint32_t TROUBLED_THREADS = 1u << 18
constexpr