@@ -101,7 +101,7 @@ struct PhysicsFunctions
101101 // theta is the potential temperature, [K]
102102 // temperature is the temperature, [K]
103103 // qc is the cloud liquid mixing ratio, [kg/kg]
104- // and the others are constants
104+ // and the others are constants
105105 // -----------------------------------------------------------------------------------------------//
106106 template <typename ScalarT>
107107 KOKKOS_INLINE_FUNCTION
@@ -375,7 +375,7 @@ struct PhysicsFunctions
375375 using KT = KokkosTypes<Device>;
376376 using MemberType = typename KT::MemberType;
377377
378- template <typename ScalarT, typename MT = Kokkos::MemoryTraits<>>
378+ template <typename ScalarT, typename MT = Kokkos::MemoryTraits<0 >>
379379 using view_1d = typename KT::template view_1d<ScalarT, MT>;
380380
381381 template <typename ScalarT, typename InputProviderP, typename InputProviderZ>
@@ -411,7 +411,7 @@ struct PhysicsFunctions
411411 const InputProviderTheta& theta,
412412 const InputProviderT& temperature,
413413 const InputProviderQ& qc,
414- const view_1d<ScalarT>& thetal);
414+ const view_1d<ScalarT>& thetal);
415415 template <typename ScalarT, typename InputProviderT, typename InputProviderP>
416416 KOKKOS_INLINE_FUNCTION
417417 static void calculate_T_from_theta (const MemberType& team,
@@ -483,7 +483,7 @@ struct PhysicsFunctions
483483 template <typename ScalarT,
484484 typename InputProviderPD, typename InputProviderP,
485485 typename InputProviderT, typename InputProviderQ,
486- typename MT = Kokkos::MemoryTraits<>>
486+ typename MT = Kokkos::MemoryTraits<0 >>
487487 KOKKOS_INLINE_FUNCTION
488488 static void calculate_dz (const MemberType& team,
489489 const InputProviderPD& pseudo_density,
@@ -508,7 +508,7 @@ struct PhysicsFunctions
508508 const InputProviderX& vmr,
509509 const view_1d<ScalarT>& mmr);
510510
511- template <typename ScalarT, typename InputProviderOtau, typename MT = Kokkos::MemoryTraits<>>
511+ template <typename ScalarT, typename InputProviderOtau, typename MT = Kokkos::MemoryTraits<0 >>
512512 KOKKOS_INLINE_FUNCTION
513513 static void apply_rayleigh_friction (const MemberType& team,
514514 const Real dt,
@@ -525,7 +525,7 @@ struct PhysicsFunctions
525525 // Note: because this function does an integral it cannot be run just on a single level. It requires
526526 // the full column wise integration.
527527 // -----------------------------------------------------------------------------------------------//
528- template <typename ScalarT, typename InputProviderZ, typename MT = Kokkos::MemoryTraits<>>
528+ template <typename ScalarT, typename InputProviderZ, typename MT = Kokkos::MemoryTraits<0 >>
529529 KOKKOS_INLINE_FUNCTION
530530 static void calculate_z_int (const MemberType& team,
531531 const int num_levs,
@@ -539,7 +539,7 @@ struct PhysicsFunctions
539539 // where
540540 // z_int is the vertical layer interface height, [m]
541541 // -----------------------------------------------------------------------------------------------//
542- template <typename ScalarT, typename InputProviderZ, typename MT = Kokkos::MemoryTraits<>>
542+ template <typename ScalarT, typename InputProviderZ, typename MT = Kokkos::MemoryTraits<0 >>
543543 KOKKOS_INLINE_FUNCTION
544544 static void calculate_z_mid (const MemberType& team,
545545 const int num_levs,
0 commit comments