5 #ifndef ABLATE_SPECIFICHEATCONSTANTPRESSURE_HPP
6 #define ABLATE_SPECIFICHEATCONSTANTPRESSURE_HPP
7 #include <Kokkos_Macros.hpp>
8 #ifndef KOKKOS_ENABLE_CUDA
10 #include "TChem_KineticModelData.hpp"
11 #include "TChem_Util.hpp"
16 using host_device_type =
typename Tines::UseThisDevice<host_exec_space>::type;
17 using device_type =
typename Tines::UseThisDevice<exec_space>::type;
19 using real_type_1d_view_type = Tines::value_type_1d_view<real_type, device_type>;
20 using real_type_2d_view_type = Tines::value_type_2d_view<real_type, device_type>;
22 using real_type_1d_view_host_type = Tines::value_type_1d_view<real_type, host_device_type>;
23 using real_type_2d_view_host_type = Tines::value_type_2d_view<real_type, host_device_type>;
25 using kinetic_model_type = KineticModelConstData<device_type>;
26 using kinetic_model_host_type = KineticModelConstData<host_device_type>;
28 static inline ordinal_type getWorkSpaceSize(ordinal_type numberSpecies) {
return numberSpecies; }
40 typename UseThisTeamPolicy<exec_space>::type& policy,
42 const real_type_2d_view_type& state,
44 const real_type_1d_view_type& CpMix,
46 const kinetic_model_type& kmcd);
59 typename UseThisTeamPolicy<host_exec_space>::type& policy,
61 const real_type_2d_view_host_type& state,
63 const real_type_1d_view_host_type& CpMix,
65 const kinetic_model_host_type& kmcd);
Definition: densityFcn.hpp:11
Definition: specificHeatConstantPressure.hpp:15
static void runDeviceBatch(typename UseThisTeamPolicy< exec_space >::type &policy, const real_type_2d_view_type &state, const real_type_1d_view_type &CpMix, const kinetic_model_type &kmcd)
Definition: specificHeatConstantPressure.cpp:60
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 &CpMix, const kinetic_model_host_type &kmcd)
Definition: specificHeatConstantPressure.cpp:67