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

Device tables of a mechanism's reactions: rates of progress, production rates and their analytical derivatives. More...

#include <cmath>
#include <cstdint>
#include <vector>
#include <Kokkos_Core.hpp>
#include "lanes.h"
#include "mechanism.h"

Go to the source code of this file.

Classes

struct  chemistry::ReactionDerivatives
 Per-reaction derivatives of the rates of progress, in one block of KineticsTable::derivatives_size() doubles: d q / dT at fixed concentrations; d q / d C of each forward (reactant) and reverse (product) mass-action term; d q / d[M] of third-body and falloff reactions; and the d q / d C_j shared by every species through the pressure of PLOG and Chebyshev reactions. More...
 
struct  chemistry::KineticsTable< MemorySpace >
 Reactions of a mechanism as flat device tables (compressed rows per reaction), in MemorySpace. All quantities SI with kmol, in double precision in every build. Concentrations C_k = rho Y_k / W_k. More...
 

Namespaces

namespace  chemistry
 

Functions

template<typename MemorySpace = Kokkos::DefaultExecutionSpace::memory_space>
KineticsTable< MemorySpace > chemistry::make_kinetics_table (const Mechanism &mechanism, const double C_reg=KineticsTable< MemorySpace >::C_REG)
 Copy a mechanism's reactions to MemorySpace.
 

Detailed Description

Device tables of a mechanism's reactions: rates of progress, production rates and their analytical derivatives.

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