Mallard 0.8.0
Unstructured, GPU accelerated, high-order finite volume CFD solver
Mallard website
Loading...
Searching...
No Matches
ConvectiveFluxFunctor< T_riemann_solver > Struct Template Reference

Integrates the convective flux over every face into face_flux, the rate of change it causes in cells_of_face(:, 0) (cells_of_face(:, 1) receives its negative). Boundary faces use the boundary ghost state as the right state. Characteristic boundaries take the low-Mach correction like interior faces: without it, the different dissipation of the boundary cell's two sides holds the outlet pressure of a steady shear flow away from its target. More...

#include <flux_functor.h>

Public Member Functions

KOKKOS_INLINE_FUNCTION void operator() (const uint32_t i_face) const
 

Public Attributes

Kokkos::View< rtype *[N_DIM]> normals
 
Kokkos::View< rtype * > face_area
 
Kokkos::View< int32_t *[2]> cells_of_face
 
Kokkos::View< rtype * > quad_weights
 
Kokkos::View< rtype ** > face_weights
 
Kokkos::View< rtype **[2][N_CONSERVATIVE]> face_solution
 
BoundaryData boundaries
 
Kokkos::View< rtype *[N_CONSERVATIVE]> W_cells
 
Kokkos::View< rtype *[N_CONSERVATIVE]> face_flux
 
rtype gamma
 
rtype low_mach_cutoff
 
Kokkos::View< rtype * > upwind
 
Kokkos::View< rtype *** > quad_normals
 

Detailed Description

template<typename T_riemann_solver>
struct ConvectiveFluxFunctor< T_riemann_solver >

Integrates the convective flux over every face into face_flux, the rate of change it causes in cells_of_face(:, 0) (cells_of_face(:, 1) receives its negative). Boundary faces use the boundary ghost state as the right state. Characteristic boundaries take the low-Mach correction like interior faces: without it, the different dissipation of the boundary cell's two sides holds the outlet pressure of a steady shear flow away from its target.

Face normals point from cells_of_face(:, 0) to cells_of_face(:, 1), i.e. out of the domain on boundary faces.

Member Function Documentation

◆ operator()()

Member Data Documentation

◆ boundaries

◆ cells_of_face

Kokkos::View<int32_t *[2]> ConvectiveFluxFunctor< T_riemann_solver >::cells_of_face

◆ face_area

Kokkos::View<rtype *> ConvectiveFluxFunctor< T_riemann_solver >::face_area

◆ face_flux

◆ face_solution

Kokkos::View<rtype **[2][N_CONSERVATIVE]> ConvectiveFluxFunctor< T_riemann_solver >::face_solution

◆ face_weights

Kokkos::View<rtype **> ConvectiveFluxFunctor< T_riemann_solver >::face_weights

◆ gamma

◆ low_mach_cutoff

◆ normals

◆ quad_normals

Kokkos::View<rtype ***> ConvectiveFluxFunctor< T_riemann_solver >::quad_normals

◆ quad_weights

Kokkos::View<rtype *> ConvectiveFluxFunctor< T_riemann_solver >::quad_weights

◆ upwind

Kokkos::View<rtype *> ConvectiveFluxFunctor< T_riemann_solver >::upwind

◆ W_cells


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