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

Flags the cells of a chunk that need chemistry (see CellChemistry), by threads or by teams. More...

Public Member Functions

KOKKOS_INLINE_FUNCTION double cell_dt (const uint32_t c) const
 
KOKKOS_INLINE_FUNCTION void operator() (const uint32_t i) const
 
KOKKOS_INLINE_FUNCTION void operator() (ActivityTeamTag, const ActivityPolicy::member_type &member) const
 The same by the lanes of a team (the same values: the rates do not depend on the lanes).
 

Public Attributes

Mixture gas
 
chemistry::KineticsTable kinetics
 
StateView U
 
SpeciesView rhoY
 
Kokkos::View< rtype * > T_seed
 
Kokkos::View< double **, Kokkos::LayoutRight > work
 
Kokkos::View< uint32_t * > active
 
uint32_t first
 
double dt
 
double T_frozen
 
double threshold
 
Kokkos::View< rtype * > time_scale
 
uint32_t lanes = 1
 
bool keep = false
 

Detailed Description

Flags the cells of a chunk that need chemistry (see CellChemistry), by threads or by teams.

Member Function Documentation

◆ cell_dt()

KOKKOS_INLINE_FUNCTION double cell_chemistry_kernels::ActivityFunctor::cell_dt ( const uint32_t  c) const
inline

◆ operator()() [1/2]

KOKKOS_INLINE_FUNCTION void cell_chemistry_kernels::ActivityFunctor::operator() ( ActivityTeamTag  ,
const ActivityPolicy::member_type &  member 
) const
inline

The same by the lanes of a team (the same values: the rates do not depend on the lanes).

◆ operator()() [2/2]

KOKKOS_INLINE_FUNCTION void cell_chemistry_kernels::ActivityFunctor::operator() ( const uint32_t  i) const
inline

Member Data Documentation

◆ active

Kokkos::View<uint32_t *> cell_chemistry_kernels::ActivityFunctor::active

◆ dt

double cell_chemistry_kernels::ActivityFunctor::dt

◆ first

uint32_t cell_chemistry_kernels::ActivityFunctor::first

◆ gas

Mixture cell_chemistry_kernels::ActivityFunctor::gas

◆ keep

bool cell_chemistry_kernels::ActivityFunctor::keep = false

◆ kinetics

chemistry::KineticsTable cell_chemistry_kernels::ActivityFunctor::kinetics

◆ lanes

uint32_t cell_chemistry_kernels::ActivityFunctor::lanes = 1

◆ rhoY

SpeciesView cell_chemistry_kernels::ActivityFunctor::rhoY

◆ T_frozen

double cell_chemistry_kernels::ActivityFunctor::T_frozen

◆ T_seed

Kokkos::View<rtype *> cell_chemistry_kernels::ActivityFunctor::T_seed

◆ threshold

double cell_chemistry_kernels::ActivityFunctor::threshold

◆ time_scale

Kokkos::View<rtype *> cell_chemistry_kernels::ActivityFunctor::time_scale

◆ U

StateView cell_chemistry_kernels::ActivityFunctor::U

◆ work

Kokkos::View<double **, Kokkos::LayoutRight> cell_chemistry_kernels::ActivityFunctor::work

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