OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
AmrPCInterpolater.h
Go to the documentation of this file.
1 #ifndef AMR_PIECEWISE_CONST_INTERPOLATER_H
2 #define AMR_PIECEWISE_CONST_INTERPOLATER_H
3 
4 #include "AmrInterpolater.h"
5 
6 template <class Level>
7 class AmrPCInterpolater : public AmrInterpolater<Level>
8 {
9 public:
10  typedef typename Level::go_t go_t;
11  typedef typename Level::lo_t lo_t;
12  typedef typename Level::scalar_t scalar_t;
13  typedef typename Level::umap_t umap_t;
14  typedef typename Level::basefab_t basefab_t;
16 
17 public:
19 
20  void stencil(const AmrIntVect_t& iv,
21  const basefab_t& fab,
22  umap_t& map,
23  const scalar_t& scale,
24  Level* mglevel);
25 
26  void coarse(const AmrIntVect_t& iv,
27  umap_t& map,
28  const scalar_t& scale,
29  lo_t dir, lo_t shift, const basefab_t& rfab,
30  const AmrIntVect_t& riv,
31  Level* mglevel);
32 
33  void fine(const AmrIntVect_t& iv,
34  umap_t& map,
35  const scalar_t& scale,
36  lo_t dir, lo_t shift, const basefab_t& fab,
37  Level* mglevel);
38 
39 };
40 
41 #include "AmrPCInterpolater.hpp"
42 
43 #endif
Level::basefab_t basefab_t
Level::basefab_t basefab_t
&lt; Abstract base class for all coarse to fine cell interpolaters
void stencil(const AmrIntVect_t &iv, const basefab_t &fab, umap_t &map, const scalar_t &scale, Level *mglevel)
amrex::IntVect AmrIntVect_t
Definition: AmrDefs.h:28
amr::AmrIntVect_t AmrIntVect_t
Level::scalar_t scalar_t
amr::AmrIntVect_t AmrIntVect_t
Level::umap_t umap_t
Level::umap_t umap_t
Level::scalar_t scalar_t
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)
Level::lo_t lo_t
void fine(const AmrIntVect_t &iv, umap_t &map, const scalar_t &scale, lo_t dir, lo_t shift, const basefab_t &fab, Level *mglevel)
double scalar_t