ABLATE Source Documentation  0.12.34
ablate::eos::tChemSoot::Pressure Struct Reference

Public Types

using host_device_type = typename Tines::UseThisDevice< host_exec_space >::type
 
using device_type = typename Tines::UseThisDevice< exec_space >::type
 
using real_type_1d_view_type = Tines::value_type_1d_view< real_type, device_type >
 
using real_type_2d_view_type = Tines::value_type_2d_view< real_type, device_type >
 
using real_type_2d_view_host_type = Tines::value_type_2d_view< real_type, host_device_type >
 
using kinetic_model_type = KineticModelConstData< device_type >
 
using kinetic_model_host_type = KineticModelConstData< host_device_type >
 

Static Public Member Functions

static ordinal_type getWorkSpaceSize (ordinal_type numberSpecies)
 
static void runDeviceBatch (typename UseThisTeamPolicy< exec_space >::type &policy, const real_type_2d_view_type &state, const kinetic_model_type &kmcd)
 
static void runHostBatch (typename UseThisTeamPolicy< host_exec_space >::type &policy, const real_type_2d_view_host_type &state, const kinetic_model_host_type &kmcd)
 

Member Function Documentation

◆ runDeviceBatch()

void ablate::eos::tChemSoot::Pressure::runDeviceBatch ( typename UseThisTeamPolicy< exec_space >::type &  policy,
const real_type_2d_view_type &  state,
const kinetic_model_type &  kmcd 
)
static

tchem like function to compute temperature on device

Parameters
policy
state
internalEnergyRef
mwMix
temperature
kmcd
Parameters
policythread block size
statethe output is the updated pressure in the state
kmcdconst data from kinetic model

◆ runHostBatch()

void ablate::eos::tChemSoot::Pressure::runHostBatch ( typename UseThisTeamPolicy< host_exec_space >::type &  policy,
const real_type_2d_view_host_type &  state,
const kinetic_model_host_type &  kmcd 
)
static

tchem like function to compute temperature on host

Parameters
policy
state
internalEnergyRef
mwMix
temperature
kmcd
Parameters
policythread block size
statethe output is the updated pressure in the state
kmcdconst data from kinetic model

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