#include #include #include #ifdef _OPENMP #include #endif using namespace amrex; namespace { void compute_stencil(Vector &stencil, int npass){ Vector old_s(1+npass,0.); Vector 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