9 template <
typename T,
unsigned Dim>
10 template <
class... Args>
13 static_assert(
Dim ==
sizeof...(args),
"Wrong number of arguments.");
16 template <
typename T,
unsigned Dim>
19 for (
auto& r : regions) {
25 template <
typename T,
unsigned Dim>
27 for (
unsigned int i = 0; i <
Dim; i++) {
32 template <
typename T,
unsigned Dim>
35 for (
unsigned int i = 0; i <
Dim; i++) {
41 template <
typename T,
unsigned Dim>
46 template <
typename T,
unsigned Dim>
51 template <
typename T,
unsigned Dim>
53 for (
unsigned int i = 0; i <
Dim; i++) {
59 template <
typename T,
unsigned Dim>
61 for (
unsigned int i = 0; i <
Dim; i++) {
67 template <
typename T,
unsigned Dim>
69 for (
unsigned int i = 0; i <
Dim; i++) {
75 template <
typename T,
unsigned Dim>
78 for (
unsigned int i = 0; i <
Dim; i++) {
85 template <
typename T,
unsigned Dim>
88 for (
unsigned int i = 0; i <
Dim; i++) {
94 template <
typename T,
unsigned Dim>
97 for (
unsigned d = 0; d <
Dim; ++d) {
98 out << idx[d] << ((d ==
Dim - 1) ?
'}' :
',');
std::ostream & operator<<(std::ostream &os, const BConds< Field, Dim > &bc)
PRegion< T > regions_m[Dim]
Array of PRegions.
KOKKOS_INLINE_FUNCTION NDRegion< T, Dim > & operator*=(const T t)
KOKKOS_INLINE_FUNCTION NDRegion< T, Dim > & operator-=(const T t)
KOKKOS_INLINE_FUNCTION bool empty() const
KOKKOS_INLINE_FUNCTION NDRegion< T, Dim > & operator=(const NDRegion< T, Dim > &nr)
KOKKOS_FUNCTION NDRegion()
KOKKOS_INLINE_FUNCTION NDRegion< T, Dim > & operator+=(const T t)
KOKKOS_INLINE_FUNCTION NDRegion< T, Dim > & operator/=(const T t)
KOKKOS_INLINE_FUNCTION const PRegion< T > & operator[](unsigned d) const