1 #ifndef LOCAL_FIELDS_HPP
2 #define LOCAL_FIELDS_HPP
22 using pack_type = Pack<typename getLocalLabeledFld<Rest>::labeled_type...>;
37 using gfpack_type = Pack<Labeled<EfieldType, Label::E>,
45 using gfpack_type = Pack<Labeled<EfieldType, Label::E>,
49 using gfpack_type = Pack<Labeled<EfieldType, Label::E>>;
54 using gfpack_type = Pack<Labeled<EfieldType, Label::E>,
69 KOKKOS_INLINE_FUNCTION
const auto&
get()
const{
70 return pack.template get<FN>();
74 KOKKOS_INLINE_FUNCTION
auto&
get(){
75 return pack.template get<FN>();
VarType
Definition: field.hpp:11
Definition: local_fields.hpp:26
Pack< Labeled< EfieldType, Label::E >> gfpack_type
Definition: local_fields.hpp:59
pack_type pack
Definition: local_fields.hpp:66
typename getLocalPackType< gfpack_type >::pack_type pack_type
Definition: local_fields.hpp:64
Definition: local_fields.hpp:33
Definition: local_fields.hpp:19
Definition: local_fields.hpp:15
typename LocalPackType< gfpack_type >::pack_type pack_type
Definition: local_fields.hpp:29
Pack< typename getLocalLabeledFld< Rest >::labeled_type...> pack_type
Definition: local_fields.hpp:22
Definition: local_fields.hpp:9