11 #ifndef PANZER_COMMON_ARRAY_FACTORIES_HPP
12 #define PANZER_COMMON_ARRAY_FACTORIES_HPP
14 #include "Kokkos_DynRankView.hpp"
15 #include "Phalanx_MDField.hpp"
38 template <
typename Scalar,
typename T0>
39 Kokkos::DynRankView<Scalar,PHX::Device>
buildArray(
const std::string & str,
int d0)
const;
40 template <
typename Scalar,
typename T0,
typename T1>
41 Kokkos::DynRankView<Scalar,PHX::Device>
buildArray(
const std::string & str,
int d0,
int d1)
const;
42 template <
typename Scalar,
typename T0,
typename T1,
typename T2>
43 Kokkos::DynRankView<Scalar,PHX::Device>
buildArray(
const std::string & str,
int d0,
int d1,
int d2)
const;
44 template <
typename Scalar,
typename T0,
typename T1,
typename T2,
typename T3>
45 Kokkos::DynRankView<Scalar,PHX::Device>
buildArray(
const std::string & str,
int d0,
int d1,
int d2,
int d3)
const;
46 template <
typename Scalar,
typename T0,
typename T1,
typename T2,
typename T3,
typename T4>
47 Kokkos::DynRankView<Scalar,PHX::Device>
buildArray(
const std::string & str,
int d0,
int d1,
int d2,
int d3,
int d4)
const;
74 const std::vector<PHX::index_size_type> & ddims,
75 bool allocArray=
false)
79 template <
typename Scalar,
typename T0>
81 template <
typename Scalar,
typename T0,
typename T1>
83 template <
typename Scalar,
typename T0,
typename T1,
typename T2>
85 template <
typename Scalar,
typename T0,
typename T1,
typename T2,
typename T3>
87 template <
typename Scalar,
typename T0,
typename T1,
typename T2,
typename T3,
typename T4>
90 template <
typename Scalar,
typename T0>
92 template <
typename Scalar,
typename T0,
typename T1>
94 template <
typename Scalar,
typename T0,
typename T1,
typename T2>
96 template <
typename Scalar,
typename T0,
typename T1,
typename T2,
typename T3>
98 template <
typename Scalar,
typename T0,
typename T1,
typename T2,
typename T3,
typename T4>
99 PHX::MDField<Scalar,T0,T1,T2,T3,T4> buildStaticArray(
const std::string & str,
int d0,
int d1,
int d2,
int d3,
int d4)
const;
104 std::vector<PHX::index_size_type>
ddims_;
std::vector< PHX::index_size_type > ddims_
PHX::MDField< Scalar, T0 > buildStaticArray(const std::string &str, int d0) const
Kokkos::DynRankView< Scalar, PHX::Device > buildArray(const std::string &str, int d0) const
MDFieldArrayFactory(const std::string &prefix, bool allocArray=false)
PHX::MDField< Scalar > buildArray(const std::string &str, int d0) const
MDFieldArrayFactory(const std::string &prefix, const std::vector< PHX::index_size_type > &ddims, bool allocArray=false)