33 template <
typename T,
unsigned Dim,
typename... Properties>
43 Kokkos::RangePolicy<typename particle_position_type::execution_space> policy{
44 0, (unsigned)R.getParticleCount()};
45 for (
unsigned face = 0; face < 2 *
Dim; ++face) {
47 unsigned d = face / 2;
49 switch (bcs_m[face]) {
Implementations for FFT constructor/destructor and transforms.
void parallel_for(const std::string &name, const ExecPolicy &policy, const FunctorType &functor)
bool isUpper(unsigned int face)
void applyBC(const particle_position_type &R, const NDRegion< T, Dim > &nr)