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++) {
28 regions_m[i] =
nr.regions_m[i];
32 template <
typename T,
unsigned Dim>
35 for (
unsigned int i = 0; i <
Dim; i++) {
36 regions_m[i] =
nr.regions_m[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++) {
89 isEmpty &= regions_m[i].
empty();
94 template <
typename T,
unsigned Dim>
97 for (
unsigned d = 0; d <
Dim; ++d) {
98 out << idx[d] << ((d ==
Dim - 1) ?
'}' :
',');
MMatrix< Tmplt > & operator/=(MMatrix< Tmplt > &m, Tmplt t)
Mesh::Iterator & operator+=(Mesh::Iterator &lhs, const Mesh::Iterator &rhs)
Addition operator - adds offset of rhs of rhs relative to Begin() to lhs and returns lhs.
MMatrix< double > & operator*=(MMatrix< double > &m1, MMatrix< double > m2)
Mesh::Iterator & operator-=(Mesh::Iterator &lhs, const Mesh::Iterator &rhs)
Subtraction operator - subtracts offset of rhs relative to Begin() from lhs and returns lhs.
Implementations for FFT constructor/destructor and transforms.
std::ostream & operator<<(std::ostream &out, const NDRegion< T, Dim > &idx)
KOKKOS_INLINE_FUNCTION bool empty() const
KOKKOS_FUNCTION NDRegion()