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

Chemistry throughput benchmark: states sampled along a reactor's trajectory, replicated over many cells and advanced by the solver's chemistry kernels. More...

#include <cstddef>
#include <cstdint>
#include <string>
#include <vector>
#include <toml.hpp>

Go to the source code of this file.

Classes

struct  ChemistryBenchmarkStep
 The timed calls of one splitting step dt (the best one's time, the last one's sub-steps). More...
 
struct  ChemistryBenchmark
 

Functions

ChemistryBenchmark run_chemistry_benchmark (const toml::value &input)
 The [benchmark] mode of MallardReactor: states sampled along the trajectory of [reactor] (fresh, igniting and burnt), replicated over the cells and advanced over each splitting step dt, every call from the sampled states; logs and returns cells per second and the sub-step distribution.
 

Detailed Description

Chemistry throughput benchmark: states sampled along a reactor's trajectory, replicated over many cells and advanced by the solver's chemistry kernels.

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

Function Documentation

◆ run_chemistry_benchmark()

ChemistryBenchmark run_chemistry_benchmark ( const toml::value &  input)

The [benchmark] mode of MallardReactor: states sampled along the trajectory of [reactor] (fresh, igniting and burnt), replicated over the cells and advanced over each splitting step dt, every call from the sampled states; logs and returns cells per second and the sub-step distribution.