ABLATE Source Documentation  0.12.33
ablate::eos::tChemSoot::SpeedOfSound 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_1d_view_host_type = Tines::value_type_1d_view< real_type, host_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 real_type_1d_view_type &speedOfSound, const kinetic_model_type &kmcd)
 
static void runHostBatch (typename UseThisTeamPolicy< host_exec_space >::type &policy, const real_type_2d_view_host_type &state, const real_type_1d_view_host_type &speedOfSound, const kinetic_model_host_type &kmcd)
 

Member Function Documentation

◆ runDeviceBatch()

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

tchem like function to compute sensible internal energy on device

Parameters
policy
state
internalEnergyRef
enthalpyMass
temperature
kmcd
Parameters
policythread block size
state/ input
speedOfSoundoutput
kmcdconst data from kinetic model

◆ runHostBatch()

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

tchem like function to compute temperature on host

Parameters
policy
state
internalEnergyRef
enthalpyMass
temperature
kmcd
Parameters
policythread block size
stateinput
speedOfSoundoutput
kmcdconst data from kinetic model

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