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

Options of CellChemistry: the reactor's tolerances, the temperature below which cells are frozen, the vector lanes and threads of the team of each cell (0: automatic; lanes = 1: one thread per cell; automatic threads on GPUs: one, and several warps for the cells whose last call was expensive), whether a team keeps its factors and vectors in scratch (shared) memory where they fit (1; default no), and whether cells integrated by one thread are ordered by their last cost (binning; on GPUs only). More...

#include <cell_chemistry.h>

Public Attributes

chemistry::ReactorOptions reactor
 
double T_frozen = 0.0
 
uint32_t lanes = 0
 
uint32_t threads = 0
 
int shared = 0
 
bool bin_by_cost = true
 
bool forced = false
 

Detailed Description

Options of CellChemistry: the reactor's tolerances, the temperature below which cells are frozen, the vector lanes and threads of the team of each cell (0: automatic; lanes = 1: one thread per cell; automatic threads on GPUs: one, and several warps for the cells whose last call was expensive), whether a team keeps its factors and vectors in scratch (shared) memory where they fit (1; default no), and whether cells integrated by one thread are ordered by their last cost (binning; on GPUs only).

Member Data Documentation

◆ bin_by_cost

bool CellChemistryOptions::bin_by_cost = true

◆ forced

bool CellChemistryOptions::forced = false

◆ lanes

uint32_t CellChemistryOptions::lanes = 0

◆ reactor

chemistry::ReactorOptions CellChemistryOptions::reactor

◆ shared

int CellChemistryOptions::shared = 0

◆ T_frozen

double CellChemistryOptions::T_frozen = 0.0

◆ threads

uint32_t CellChemistryOptions::threads = 0

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