43 #ifndef PANZER_COMMON_ARRAY_FACTORIES_HPP
44 #define PANZER_COMMON_ARRAY_FACTORIES_HPP
46 #include "Kokkos_DynRankView.hpp"
47 #include "Phalanx_MDField.hpp"
70 template <
typename Scalar,
typename T0>
71 Kokkos::DynRankView<Scalar,PHX::Device>
buildArray(
const std::string & str,
int d0)
const;
72 template <
typename Scalar,
typename T0,
typename T1>
73 Kokkos::DynRankView<Scalar,PHX::Device>
buildArray(
const std::string & str,
int d0,
int d1)
const;
74 template <
typename Scalar,
typename T0,
typename T1,
typename T2>
75 Kokkos::DynRankView<Scalar,PHX::Device>
buildArray(
const std::string & str,
int d0,
int d1,
int d2)
const;
76 template <
typename Scalar,
typename T0,
typename T1,
typename T2,
typename T3>
77 Kokkos::DynRankView<Scalar,PHX::Device>
buildArray(
const std::string & str,
int d0,
int d1,
int d2,
int d3)
const;
78 template <
typename Scalar,
typename T0,
typename T1,
typename T2,
typename T3,
typename T4>
79 Kokkos::DynRankView<Scalar,PHX::Device>
buildArray(
const std::string & str,
int d0,
int d1,
int d2,
int d3,
int d4)
const;
106 const std::vector<PHX::index_size_type> & ddims,
107 bool allocArray=
false)
111 template <
typename Scalar,
typename T0>
112 PHX::MDField<Scalar>
buildArray(
const std::string & str,
int d0)
const;
113 template <
typename Scalar,
typename T0,
typename T1>
114 PHX::MDField<Scalar>
buildArray(
const std::string & str,
int d0,
int d1)
const;
115 template <
typename Scalar,
typename T0,
typename T1,
typename T2>
116 PHX::MDField<Scalar>
buildArray(
const std::string & str,
int d0,
int d1,
int d2)
const;
117 template <
typename Scalar,
typename T0,
typename T1,
typename T2,
typename T3>
118 PHX::MDField<Scalar>
buildArray(
const std::string & str,
int d0,
int d1,
int d2,
int d3)
const;
119 template <
typename Scalar,
typename T0,
typename T1,
typename T2,
typename T3,
typename T4>
120 PHX::MDField<Scalar>
buildArray(
const std::string & str,
int d0,
int d1,
int d2,
int d3,
int d4)
const;
122 template <
typename Scalar,
typename T0>
123 PHX::MDField<Scalar,T0>
buildStaticArray(
const std::string & str,
int d0)
const;
124 template <
typename Scalar,
typename T0,
typename T1>
125 PHX::MDField<Scalar,T0,T1>
buildStaticArray(
const std::string & str,
int d0,
int d1)
const;
126 template <
typename Scalar,
typename T0,
typename T1,
typename T2>
127 PHX::MDField<Scalar,T0,T1,T2>
buildStaticArray(
const std::string & str,
int d0,
int d1,
int d2)
const;
128 template <
typename Scalar,
typename T0,
typename T1,
typename T2,
typename T3>
129 PHX::MDField<Scalar,T0,T1,T2,T3>
buildStaticArray(
const std::string & str,
int d0,
int d1,
int d2,
int d3)
const;
130 template <
typename Scalar,
typename T0,
typename T1,
typename T2,
typename T3,
typename T4>
131 PHX::MDField<Scalar,T0,T1,T2,T3,T4>
buildStaticArray(
const std::string & str,
int d0,
int d1,
int d2,
int d3,
int d4)
const;
136 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)