21 #ifndef AMR_LAGRANGE_INTERPOLATER_H
22 #define AMR_LAGRANGE_INTERPOLATER_H
26 #if AMREX_SPACEDIM == 3
34 template <
class Level>
39 typedef typename Level::go_t
go_t;
40 typedef typename Level::lo_t
lo_t;
42 typedef typename Level::umap_t
umap_t;
51 #if AMREX_SPACEDIM == 3
52 typedef std::bitset<25> qbits_t;
53 typedef std::bitset<9> lbits_t;
54 typedef std::array<unsigned int long, 9> qpattern_t;
55 typedef std::array<unsigned int long, 4> lpattern_t;
171 #if AMREX_SPACEDIM == 3
172 static constexpr qpattern_t qpattern_ms {
184 static constexpr lpattern_t lpattern_ms {
197 #if AMREX_SPACEDIM == 3
198 static const scalar_t lookup3_ms[2];
199 static const scalar_t lookup3r_ms[2];
200 static const scalar_t lookup4_ms[2];
201 static const scalar_t lookup4r_ms[2];
202 static const scalar_t lookup5_ms[2];
203 static const scalar_t lookup5r_ms[2];
amrex::IntVect AmrIntVect_t
AmrLagrangeInterpolater(Order order)
void fine(const AmrIntVect_t &iv, umap_t &map, const scalar_t &scale, lo_t dir, lo_t shift, Level *mglevel)
static const scalar_t lookup1a_ms[2]
void crseLinear_m(const AmrIntVect_t &iv, umap_t &map, const scalar_t &scale, lo_t dir, lo_t shift, const basefab_t &rfab, const AmrIntVect_t &riv, Level *mglevel)
Level::basefab_t basefab_t
void fineLinear_m(const AmrIntVect_t &iv, umap_t &map, const scalar_t &scale, lo_t dir, lo_t shift, Level *mglevel)
void crseQuadratic_m(const AmrIntVect_t &iv, umap_t &map, const scalar_t &scale, lo_t dir, lo_t shift, const basefab_t &rfab, const AmrIntVect_t &riv, Level *mglevel)
static const scalar_t lookup1b_ms[2]
static const scalar_t lookup2b_ms[2]
void coarse(const AmrIntVect_t &iv, umap_t &map, const scalar_t &scale, lo_t dir, lo_t shift, const basefab_t &rfab, const AmrIntVect_t &riv, Level *mglevel)
void fineQuadratic_m(const AmrIntVect_t &iv, umap_t &map, const scalar_t &scale, lo_t dir, lo_t shift, Level *mglevel)
void stencil(const AmrIntVect_t &iv, const basefab_t &fab, umap_t &map, const scalar_t &scale, Level *mglevel)
amr::AmrIntVect_t AmrIntVect_t
static const scalar_t lookup2a_ms[2]