#include #include #include #ifdef _OPENMP #include #endif using namespace amrex; namespace { void compute_stencil(Gpu::ManagedVector &stencil, int npass) { Gpu::ManagedVector old_s(1+npass,0.); Gpu::ManagedVector new_s(1+npass,0.); old_s[0] = 1.; int jmax = 1; amrex::Real loc; // Convolve the filter with itself npass times for(int ipass=1; ipass