5 #ifndef ABLATE_SPECIFICHEATCONSTANTVOLUME_HPP
6 #define ABLATE_SPECIFICHEATCONSTANTVOLUME_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& CvMix,
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& CvMix,
65 const kinetic_model_host_type& kmcd);
Definition: densityFcn.hpp:11
Definition: specificHeatConstantVolume.hpp:15
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 &CvMix, const kinetic_model_host_type &kmcd)
Definition: specificHeatConstantVolume.cpp:69
static void runDeviceBatch(typename UseThisTeamPolicy< exec_space >::type &policy, const real_type_2d_view_type &state, const real_type_1d_view_type &CvMix, const kinetic_model_type &kmcd)
Definition: specificHeatConstantVolume.cpp:62