ABLATE Source Documentation  0.12.33
ablate::eos::tChemSoot::SensibleInternalEnergy 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 &internalEnergy, const real_type_2d_view_type &enthalpyMass, const real_type_1d_view_type &enthalpyReference, 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 &internalEnergy, const real_type_2d_view_host_type &enthalpyMass, const real_type_1d_view_host_type &enthalpyReference, const kinetic_model_host_type &kmcd)
 

Member Function Documentation

◆ runDeviceBatch()

void ablate::eos::tChemSoot::SensibleInternalEnergy::runDeviceBatch ( typename UseThisTeamPolicy< exec_space >::type &  policy,
const real_type_2d_view_type &  state,
const real_type_1d_view_type &  internalEnergy,
const real_type_2d_view_type &  enthalpyMass,
const real_type_1d_view_type &  enthalpyReference,
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
internalEnergyoutput
enthalpyMassuseful scratch
enthalpyReferenceconst data from kinetic model

◆ runHostBatch()

void ablate::eos::tChemSoot::SensibleInternalEnergy::runHostBatch ( typename UseThisTeamPolicy< host_exec_space >::type &  policy,
const real_type_2d_view_host_type &  state,
const real_type_1d_view_host_type &  internalEnergy,
const real_type_2d_view_host_type &  enthalpyMass,
const real_type_1d_view_host_type &  enthalpyReference,
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
internalEnergyoutput
enthalpyMassuseful scratch
enthalpyReferenceconst data from kinetic model[

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