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

Upwind fraction of each cell for the hybrid convective flux: 1 where the Ducros sensor restricted to compressions (Ducros et al. 1999; Bhagatwala & Lele 2009), theta = (div u)^2 / ((div u)^2 + |omega|^2) for div u < 0, exceeds the threshold (shocks), else the floor. gradients(c, 1 + k, i) = d u_k / d x_i. More...

#include <flux_functor.h>

Public Member Functions

KOKKOS_INLINE_FUNCTION void operator() (const uint32_t c) const
 

Public Attributes

Kokkos::View< rtype *[N_CONSERVATIVE][N_DIM]> gradients
 
Kokkos::View< rtype * > upwind
 
rtype threshold
 
rtype floor
 

Detailed Description

Upwind fraction of each cell for the hybrid convective flux: 1 where the Ducros sensor restricted to compressions (Ducros et al. 1999; Bhagatwala & Lele 2009), theta = (div u)^2 / ((div u)^2 + |omega|^2) for div u < 0, exceeds the threshold (shocks), else the floor. gradients(c, 1 + k, i) = d u_k / d x_i.

Member Function Documentation

◆ operator()()

KOKKOS_INLINE_FUNCTION void UpwindSensorFunctor::operator() ( const uint32_t  c) const
inline

Member Data Documentation

◆ floor

rtype UpwindSensorFunctor::floor

◆ gradients

Kokkos::View<rtype *[N_CONSERVATIVE][N_DIM]> UpwindSensorFunctor::gradients

◆ threshold

rtype UpwindSensorFunctor::threshold

◆ upwind

Kokkos::View<rtype *> UpwindSensorFunctor::upwind

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