Block-Structured AMR Software Framework
AMReX_Interpolater.H
Go to the documentation of this file.
1 #ifndef AMREX_INTERPOLATER_H_
2 #define AMREX_INTERPOLATER_H_
3 #include <AMReX_Config.H>
4 
5 #include <AMReX_Extension.H>
6 #include <AMReX_GpuControl.H>
7 #include <AMReX_InterpBase.H>
8 
9 namespace amrex {
10 
11 class Geometry;
12 class FArrayBox;
13 class IArrayBox;
14 
21  : public InterpBase
22 {
23 public:
42  virtual void interp (const FArrayBox& crse,
43  int crse_comp,
44  FArrayBox& fine,
45  int fine_comp,
46  int ncomp,
47  const Box& fine_region,
48  const IntVect& ratio,
49  const Geometry& crse_geom,
50  const Geometry& fine_geom,
51  Vector<BCRec> const & bcr,
52  int actual_comp,
53  int actual_state,
54  RunOn runon) = 0;
55 
74  virtual void interp_face (const FArrayBox& /*crse*/,
75  const int /*crse_comp*/,
76  FArrayBox& /*fine*/,
77  const int /*fine_comp*/,
78  const int /*ncomp*/,
79  const Box& /*fine_region*/,
80  const IntVect& /*ratio*/,
81  const IArrayBox& /*solve_mask*/,
82  const Geometry& /*crse_geom*/,
83  const Geometry& /*fine_geom*/,
84  Vector<BCRec> const & /*bcr*/,
85  const int /*bccomp*/,
86  RunOn /*runon*/)
87  { amrex::Abort("The version of this Interpolater for face-based data is not implemented or does not apply. Call 'interp' instead."); }
88 
108  virtual void interp_arr (Array<FArrayBox*, AMREX_SPACEDIM> const& /*crse*/,
109  const int /*crse_comp*/,
110  Array<FArrayBox*, AMREX_SPACEDIM> const& /*fine*/,
111  const int /*fine_comp*/,
112  const int /*ncomp*/,
113  const Box& /*fine_region*/,
114  const IntVect& /*ratio*/,
115  Array<IArrayBox*, AMREX_SPACEDIM> const& /*solve_mask*/,
116  const Geometry& /*crse_geom*/,
117  const Geometry& /*fine_geom*/,
118  Vector<Array<BCRec, AMREX_SPACEDIM> > const& /*bcr*/,
119  const int /*actual_comp*/,
120  const int /*actual_state*/,
121  const RunOn /*runon*/)
122 
123  { amrex::Abort("The Array<FArrayBox*, AMREX_SPACEDIM> version of this Interpolater is not implemented or does not apply. Call 'interp' instead."); }
124 
141  virtual void protect (const FArrayBox& /*crse*/,
142  int /*crse_comp*/,
143  FArrayBox& /*fine*/,
144  int /*fine_comp*/,
145  FArrayBox& /*fine_state*/,
146  int /*state_comp*/,
147  int /*ncomp*/,
148  const Box& /*fine_region*/,
149  const IntVect& /*ratio*/,
150  const Geometry& /*crse_geom*/,
151  const Geometry& /*fine_geom*/,
152  Vector<BCRec>& /*bcr*/,
153  RunOn /*runon*/) {}
154 };
155 
156 
163  :
164  public Interpolater
165 {
166 public:
173  Box CoarseBox (const Box& fine, int ratio) override;
174 
181  Box CoarseBox (const Box& fine, const IntVect& ratio) override;
182 
199  void interp (const FArrayBox& crse,
200  int crse_comp,
201  FArrayBox& fine,
202  int fine_comp,
203  int ncomp,
204  const Box& fine_region,
205  const IntVect& ratio,
206  const Geometry& crse_geom,
207  const Geometry& fine_geom,
208  Vector<BCRec> const& bcr,
209  int actual_comp,
210  int actual_state,
211  RunOn runon) override;
212 };
213 
214 
221  :
222  public Interpolater
223 {
224 public:
231  Box CoarseBox (const Box& fine, int ratio) override;
232 
239  Box CoarseBox (const Box& fine, const IntVect& ratio) override;
240 
257  void interp (const FArrayBox& crse,
258  int crse_comp,
259  FArrayBox& fine,
260  int fine_comp,
261  int ncomp,
262  const Box& fine_region,
263  const IntVect& ratio,
264  const Geometry& crse_geom,
265  const Geometry& fine_geom,
266  Vector<BCRec> const& bcr,
267  int actual_comp,
268  int actual_state,
269  RunOn runon) override;
270 };
271 
272 
287  :
288  public Interpolater
289 {
290 public:
291 
297  explicit CellConservativeLinear (bool do_linear_limiting_= true);
298 
305  Box CoarseBox (const Box& fine, int ratio) override;
306 
313  Box CoarseBox (const Box& fine, const IntVect& ratio) override;
317  void interp (const FArrayBox& crse,
318  int crse_comp,
319  FArrayBox& fine,
320  int fine_comp,
321  int ncomp,
322  const Box& fine_region,
323  const IntVect& ratio,
324  const Geometry& crse_geom,
325  const Geometry& fine_geom,
326  Vector<BCRec> const& bcr,
327  int /*actual_comp*/,
328  int /*actual_state*/,
329  RunOn runon) override;
330 
331 protected:
332 
334 };
335 
336 
344  :
346 {
347 public:
348 
353 
370  void protect (const FArrayBox& crse,
371  int crse_comp,
372  FArrayBox& fine,
373  int fine_comp,
374  FArrayBox& fine_state,
375  int state_comp,
376  int ncomp,
377  const Box& fine_region,
378  const IntVect& ratio,
379  const Geometry& crse_geom,
380  const Geometry& fine_geom,
381  Vector<BCRec>& bcr,
382  RunOn runon) override;
383 };
384 
385 
392  :
393  public Interpolater
394 {
395 public:
396 
403  Box CoarseBox (const Box& fine, int ratio) override;
404 
411  Box CoarseBox (const Box& fine, const IntVect& ratio) override;
412 
429  void interp (const FArrayBox& crse,
430  int crse_comp,
431  FArrayBox& fine,
432  int fine_comp,
433  int ncomp,
434  const Box& fine_region,
435  const IntVect& ratio,
436  const Geometry& crse_geom,
437  const Geometry& fine_geom,
438  Vector<BCRec> const& bcr,
439  int actual_comp,
440  int actual_state,
441  RunOn runon) override;
442 };
443 
444 
448 class PCInterp
449  :
450  public Interpolater
451 {
452 public:
459  Box CoarseBox (const Box& fine, int ratio) override;
460 
467  Box CoarseBox (const Box& fine, const IntVect& ratio) override;
468 
485  void interp (const FArrayBox& crse,
486  int crse_comp,
487  FArrayBox& fine,
488  int fine_comp,
489  int ncomp,
490  const Box& fine_region,
491  const IntVect& ratio,
492  const Geometry& crse_geom,
493  const Geometry& fine_geom,
494  Vector<BCRec> const& bcr,
495  int actual_comp,
496  int actual_state,
497  RunOn runon) override;
498 };
499 
500 
509  :
510  public Interpolater
511 {
512 public:
519  Box CoarseBox (const Box& fine, int ratio) override;
520 
527  Box CoarseBox (const Box& fine, const IntVect& ratio) override;
528 
545  void interp (const FArrayBox& crse,
546  int crse_comp,
547  FArrayBox& fine,
548  int fine_comp,
549  int ncomp,
550  const Box& fine_region,
551  const IntVect& ratio,
552  const Geometry& crse_geom,
553  const Geometry& fine_geom,
554  Vector<BCRec> const& bcr,
555  int actual_comp,
556  int actual_state,
557  RunOn runon) override;
558 };
559 
573  :
574  public Interpolater
575 {
576 public:
583  Box CoarseBox (const Box& fine, int ratio) override;
584 
591  Box CoarseBox (const Box& fine, const IntVect& ratio) override;
592 
610  void interp (const FArrayBox& crse,
611  int crse_comp,
612  FArrayBox& fine,
613  int fine_comp,
614  int ncomp,
615  const Box& fine_region,
616  const IntVect& ratio,
617  const Geometry& crse_geom,
618  const Geometry& fine_geom,
619  Vector<BCRec> const& bcr,
620  int actual_comp,
621  int actual_state,
622  RunOn runon) override;
623 
643  int crse_comp,
645  int fine_comp,
646  int ncomp,
647  const Box& fine_region,
648  const IntVect& ratio,
649  Array<IArrayBox*, AMREX_SPACEDIM> const& solve_mask,
650  const Geometry& crse_geom,
651  const Geometry& fine_geom,
653  int actual_comp,
654  int actual_state,
655  RunOn runon) override;
656 };
657 
658 
665  :
666  public Interpolater
667 {
668 public:
675  Box CoarseBox (const Box& fine, int ratio) override;
676 
683  Box CoarseBox (const Box& fine, const IntVect& ratio) override;
684 
701  void interp (const FArrayBox& crse,
702  int crse_comp,
703  FArrayBox& fine,
704  int fine_comp,
705  int ncomp,
706  const Box& fine_region,
707  const IntVect& ratio,
708  const Geometry& crse_geom,
709  const Geometry& fine_geom,
710  Vector<BCRec> const& bcr,
711  int actual_comp,
712  int actual_state,
713  RunOn runon) override;
714 
732  void interp_face (const FArrayBox& crse,
733  int crse_comp,
734  FArrayBox& fine,
735  int fine_comp,
736  int ncomp,
737  const Box& fine_region,
738  const IntVect& ratio,
739  const IArrayBox& solve_mask,
740  const Geometry& crse_geom,
741  const Geometry& fine_geom,
742  Vector<BCRec> const & bcr,
743  int bccomp,
744  RunOn runon) override;
745 
763  int crse_comp,
765  int fine_comp,
766  int ncomp,
767  const Box& fine_region,
768  const IntVect& ratio,
769  Array<IArrayBox*, AMREX_SPACEDIM> const& solve_mask,
770  const Geometry& /*crse_geom*/,
771  const Geometry& /*fine_geom*/,
772  Vector<Array<BCRec, AMREX_SPACEDIM> > const& /*bcr*/,
773  int /*actual_comp*/,
774  int /*actual_state*/,
775  RunOn runon) override;
776 
777 
778 };
779 
786  :
787  public Interpolater
788 {
789 public:
796  Box CoarseBox (const Box& fine, int ratio) override;
797 
804  Box CoarseBox (const Box& fine, const IntVect& ratio) override;
805 
822  void interp (const FArrayBox& crse,
823  int crse_comp,
824  FArrayBox& fine,
825  int fine_comp,
826  int ncomp,
827  const Box& fine_region,
828  const IntVect& ratio,
829  const Geometry& crse_geom,
830  const Geometry& fine_geom,
831  Vector<BCRec> const& bcr,
832  int actual_comp,
833  int actual_state,
834  RunOn runon) override;
835 
853  void interp_face (const FArrayBox& crse,
854  int crse_comp,
855  FArrayBox& fine,
856  int fine_comp,
857  int ncomp,
858  const Box& fine_region,
859  const IntVect& ratio,
860  const IArrayBox& solve_mask,
861  const Geometry& crse_geom,
862  const Geometry& fine_geom,
863  Vector<BCRec> const & bcr,
864  int bccomp,
865  RunOn runon) override;
866 
884  int crse_comp,
886  int fine_comp,
887  int ncomp,
888  const Box& fine_region,
889  const IntVect& ratio,
890  Array<IArrayBox*, AMREX_SPACEDIM> const& solve_mask,
891  const Geometry& /*crse_geom*/,
892  const Geometry& /*fine_geom*/,
893  Vector<Array<BCRec, AMREX_SPACEDIM> > const& /*bcr*/,
894  int /*actual_comp*/,
895  int /*actual_state*/,
896  RunOn runon) override;
897 
898 
899 };
900 
907  :
908  public Interpolater
909 {
910 public:
917  Box CoarseBox (const Box& fine, int ratio) override;
918 
925  Box CoarseBox (const Box& fine, const IntVect& ratio) override;
926 
943  void interp (const FArrayBox& crse,
944  int crse_comp,
945  FArrayBox& fine,
946  int fine_comp,
947  int ncomp,
948  const Box& fine_region,
949  const IntVect& ratio,
950  const Geometry& crse_geom,
951  const Geometry& fine_geom,
952  Vector<BCRec> const& bcr,
953  int actual_comp,
954  int actual_state,
955  RunOn runon) override;
956 };
957 
971 
972 }
973 
974 #endif /*_INTERPOLATER_H_*/
#define AMREX_EXPORT
Definition: AMReX_Extension.H:191
Array4< Real > fine
Definition: AMReX_InterpFaceRegister.cpp:90
Array4< Real const > crse
Definition: AMReX_InterpFaceRegister.cpp:92
Bilinear interpolation on cell centered data.
Definition: AMReX_Interpolater.H:223
Box CoarseBox(const Box &fine, int ratio) override
Returns coarsened box given fine box and refinement ratio.
Definition: AMReX_Interpolater.cpp:715
void interp(const FArrayBox &crse, int crse_comp, FArrayBox &fine, int fine_comp, int ncomp, const Box &fine_region, const IntVect &ratio, const Geometry &crse_geom, const Geometry &fine_geom, Vector< BCRec > const &bcr, int actual_comp, int actual_state, RunOn runon) override
Coarse to fine interpolation in space.
Definition: AMReX_Interpolater.cpp:742
Linear conservative interpolation on cell centered data.
Definition: AMReX_Interpolater.H:289
CellConservativeLinear(bool do_linear_limiting_=true)
The constructor.
Definition: AMReX_Interpolater.cpp:767
bool do_linear_limiting
Definition: AMReX_Interpolater.H:333
void interp(const FArrayBox &crse, int crse_comp, FArrayBox &fine, int fine_comp, int ncomp, const Box &fine_region, const IntVect &ratio, const Geometry &crse_geom, const Geometry &fine_geom, Vector< BCRec > const &bcr, int, int, RunOn runon) override
Coarse to fine interpolation in space.
Definition: AMReX_Interpolater.cpp:794
Box CoarseBox(const Box &fine, int ratio) override
Returns coarsened box given fine box and refinement ratio.
Definition: AMReX_Interpolater.cpp:785
Lin. cons. interp. on cc data with protection against under/over-shoots.
Definition: AMReX_Interpolater.H:346
void protect(const FArrayBox &crse, int crse_comp, FArrayBox &fine, int fine_comp, FArrayBox &fine_state, int state_comp, int ncomp, const Box &fine_region, const IntVect &ratio, const Geometry &crse_geom, const Geometry &fine_geom, Vector< BCRec > &bcr, RunOn runon) override
Re-visit the interpolation to protect against under- or overshoots.
Definition: AMReX_Interpolater.cpp:1099
CellConservativeProtected()
The constructor.
Definition: AMReX_Interpolater.cpp:1095
Conservative quartic interpolation on cell averaged data.
Definition: AMReX_Interpolater.H:511
Box CoarseBox(const Box &fine, int ratio) override
Returns coarsened box given fine box and refinement ratio.
Definition: AMReX_Interpolater.cpp:1181
void interp(const FArrayBox &crse, int crse_comp, FArrayBox &fine, int fine_comp, int ncomp, const Box &fine_region, const IntVect &ratio, const Geometry &crse_geom, const Geometry &fine_geom, Vector< BCRec > const &bcr, int actual_comp, int actual_state, RunOn runon) override
Coarse to fine interpolation in space.
Definition: AMReX_Interpolater.cpp:1199
Quadratic interpolation on cell centered data.
Definition: AMReX_Interpolater.H:394
Box CoarseBox(const Box &fine, int ratio) override
Returns coarsened box given fine box and refinement ratio.
Definition: AMReX_Interpolater.cpp:930
void interp(const FArrayBox &crse, int crse_comp, FArrayBox &fine, int fine_comp, int ncomp, const Box &fine_region, const IntVect &ratio, const Geometry &crse_geom, const Geometry &fine_geom, Vector< BCRec > const &bcr, int actual_comp, int actual_state, RunOn runon) override
Coarse to fine interpolation in space.
Definition: AMReX_Interpolater.cpp:939
Quartic interpolation on cell centered data.
Definition: AMReX_Interpolater.H:909
Box CoarseBox(const Box &fine, int ratio) override
Returns coarsened box given fine box and refinement ratio.
Definition: AMReX_Interpolater.cpp:1357
void interp(const FArrayBox &crse, int crse_comp, FArrayBox &fine, int fine_comp, int ncomp, const Box &fine_region, const IntVect &ratio, const Geometry &crse_geom, const Geometry &fine_geom, Vector< BCRec > const &bcr, int actual_comp, int actual_state, RunOn runon) override
Coarse to fine interpolation in space.
Definition: AMReX_Interpolater.cpp:1365
A Fortran Array of REALs.
Definition: AMReX_FArrayBox.H:229
Bilinear tangential interpolation / linear normal interpolation of face data.
Definition: AMReX_Interpolater.H:788
void interp_face(const FArrayBox &crse, int crse_comp, FArrayBox &fine, int fine_comp, int ncomp, const Box &fine_region, const IntVect &ratio, const IArrayBox &solve_mask, const Geometry &crse_geom, const Geometry &fine_geom, Vector< BCRec > const &bcr, int bccomp, RunOn runon) override
Coarse to fine interpolation in space for face-based data.
Definition: AMReX_Interpolater.cpp:474
void interp(const FArrayBox &crse, int crse_comp, FArrayBox &fine, int fine_comp, int ncomp, const Box &fine_region, const IntVect &ratio, const Geometry &crse_geom, const Geometry &fine_geom, Vector< BCRec > const &bcr, int actual_comp, int actual_state, RunOn runon) override
Coarse to fine interpolation in space.
Definition: AMReX_Interpolater.cpp:442
Box CoarseBox(const Box &fine, int ratio) override
Returns coarsened box given fine box and refinement ratio.
Definition: AMReX_Interpolater.cpp:414
void interp_arr(Array< FArrayBox *, AMREX_SPACEDIM > const &crse, int crse_comp, Array< FArrayBox *, AMREX_SPACEDIM > const &fine, int fine_comp, int ncomp, const Box &fine_region, const IntVect &ratio, Array< IArrayBox *, AMREX_SPACEDIM > const &solve_mask, const Geometry &, const Geometry &, Vector< Array< BCRec, AMREX_SPACEDIM > > const &, int, int, RunOn runon) override
Coarse to fine interpolation in space.
Definition: AMReX_Interpolater.cpp:584
Divergence-preserving interpolation on face centered data.
Definition: AMReX_Interpolater.H:575
void interp(const FArrayBox &crse, int crse_comp, FArrayBox &fine, int fine_comp, int ncomp, const Box &fine_region, const IntVect &ratio, const Geometry &crse_geom, const Geometry &fine_geom, Vector< BCRec > const &bcr, int actual_comp, int actual_state, RunOn runon) override
Coarse to fine interpolation in space.
Definition: AMReX_Interpolater.cpp:1250
Box CoarseBox(const Box &fine, int ratio) override
Returns coarsened box given fine box and refinement ratio.
Definition: AMReX_Interpolater.cpp:1234
void interp_arr(Array< FArrayBox *, AMREX_SPACEDIM > const &crse, int crse_comp, Array< FArrayBox *, AMREX_SPACEDIM > const &fine, int fine_comp, int ncomp, const Box &fine_region, const IntVect &ratio, Array< IArrayBox *, AMREX_SPACEDIM > const &solve_mask, const Geometry &crse_geom, const Geometry &fine_geom, Vector< Array< BCRec, AMREX_SPACEDIM > > const &bcr, int actual_comp, int actual_state, RunOn runon) override
Coarse to fine interpolation in space.
Definition: AMReX_Interpolater.cpp:1268
Piecewise constant tangential interpolation / linear normal interpolation of face data.
Definition: AMReX_Interpolater.H:667
void interp_arr(Array< FArrayBox *, AMREX_SPACEDIM > const &crse, int crse_comp, Array< FArrayBox *, AMREX_SPACEDIM > const &fine, int fine_comp, int ncomp, const Box &fine_region, const IntVect &ratio, Array< IArrayBox *, AMREX_SPACEDIM > const &solve_mask, const Geometry &, const Geometry &, Vector< Array< BCRec, AMREX_SPACEDIM > > const &, int, int, RunOn runon) override
Coarse to fine interpolation in space.
Definition: AMReX_Interpolater.cpp:293
void interp(const FArrayBox &crse, int crse_comp, FArrayBox &fine, int fine_comp, int ncomp, const Box &fine_region, const IntVect &ratio, const Geometry &crse_geom, const Geometry &fine_geom, Vector< BCRec > const &bcr, int actual_comp, int actual_state, RunOn runon) override
Coarse to fine interpolation in space.
Definition: AMReX_Interpolater.cpp:133
void interp_face(const FArrayBox &crse, int crse_comp, FArrayBox &fine, int fine_comp, int ncomp, const Box &fine_region, const IntVect &ratio, const IArrayBox &solve_mask, const Geometry &crse_geom, const Geometry &fine_geom, Vector< BCRec > const &bcr, int bccomp, RunOn runon) override
Coarse to fine interpolation in space for face-based data.
Definition: AMReX_Interpolater.cpp:192
Box CoarseBox(const Box &fine, int ratio) override
Returns coarsened box given fine box and refinement ratio.
Definition: AMReX_Interpolater.cpp:114
Rectangular problem domain geometry.
Definition: AMReX_Geometry.H:73
A Fortran Array of ints.
Definition: AMReX_IArrayBox.H:47
Definition: AMReX_InterpBase.H:26
Virtual base class for interpolaters.
Definition: AMReX_Interpolater.H:22
virtual void interp_arr(Array< FArrayBox *, AMREX_SPACEDIM > const &, const int, Array< FArrayBox *, AMREX_SPACEDIM > const &, const int, const int, const Box &, const IntVect &, Array< IArrayBox *, AMREX_SPACEDIM > const &, const Geometry &, const Geometry &, Vector< Array< BCRec, AMREX_SPACEDIM > > const &, const int, const int, const RunOn)
Coarse to fine interpolation in space. Takes an Array of FArrayBox*s.
Definition: AMReX_Interpolater.H:108
virtual void interp(const FArrayBox &crse, int crse_comp, FArrayBox &fine, int fine_comp, int ncomp, const Box &fine_region, const IntVect &ratio, const Geometry &crse_geom, const Geometry &fine_geom, Vector< BCRec > const &bcr, int actual_comp, int actual_state, RunOn runon)=0
Coarse to fine interpolation in space. This is a pure virtual function and hence MUST be implemented ...
virtual void interp_face(const FArrayBox &, const int, FArrayBox &, const int, const int, const Box &, const IntVect &, const IArrayBox &, const Geometry &, const Geometry &, Vector< BCRec > const &, const int, RunOn)
Coarse to fine interpolation in space for face-based data.
Definition: AMReX_Interpolater.H:74
virtual void protect(const FArrayBox &, int, FArrayBox &, int, FArrayBox &, int, int, const Box &, const IntVect &, const Geometry &, const Geometry &, Vector< BCRec > &, RunOn)
Re-visit the interpolation to protect against under- or overshoots.
Definition: AMReX_Interpolater.H:141
Bilinear interpolation on node centered data.
Definition: AMReX_Interpolater.H:165
Box CoarseBox(const Box &fine, int ratio) override
Returns coarsened box given fine box and refinement ratio.
Definition: AMReX_Interpolater.cpp:49
void interp(const FArrayBox &crse, int crse_comp, FArrayBox &fine, int fine_comp, int ncomp, const Box &fine_region, const IntVect &ratio, const Geometry &crse_geom, const Geometry &fine_geom, Vector< BCRec > const &bcr, int actual_comp, int actual_state, RunOn runon) override
Coarse to fine interpolation in space.
Definition: AMReX_Interpolater.cpp:89
Piecewise Constant interpolation on cell centered data.
Definition: AMReX_Interpolater.H:451
Box CoarseBox(const Box &fine, int ratio) override
Returns coarsened box given fine box and refinement ratio.
Definition: AMReX_Interpolater.cpp:1056
void interp(const FArrayBox &crse, int crse_comp, FArrayBox &fine, int fine_comp, int ncomp, const Box &fine_region, const IntVect &ratio, const Geometry &crse_geom, const Geometry &fine_geom, Vector< BCRec > const &bcr, int actual_comp, int actual_state, RunOn runon) override
Coarse to fine interpolation in space.
Definition: AMReX_Interpolater.cpp:1070
This class is a thin wrapper around std::vector. Unlike vector, Vector::operator[] provides bound che...
Definition: AMReX_Vector.H:27
Definition: AMReX_Amr.cpp:49
CellConservativeProtected protected_interp
Definition: AMReX_Interpolater.cpp:42
CellConservativeQuartic quartic_interp
Definition: AMReX_Interpolater.cpp:43
FaceLinear face_linear_interp
Definition: AMReX_Interpolater.cpp:37
RunOn
Definition: AMReX_GpuControl.H:69
NodeBilinear node_bilinear_interp
Definition: AMReX_Interpolater.cpp:36
CellQuadratic quadratic_interp
Definition: AMReX_Interpolater.cpp:45
CellBilinear cell_bilinear_interp
Definition: AMReX_Interpolater.cpp:44
CellConservativeLinear cell_cons_interp(false)
Definition: AMReX_Interpolater.H:965
CellQuartic cell_quartic_interp
Definition: AMReX_Interpolater.cpp:46
FaceDivFree face_divfree_interp
Definition: AMReX_Interpolater.cpp:39
PCInterp pc_interp
CONSTRUCT A GLOBAL OBJECT OF EACH VERSION.
Definition: AMReX_Interpolater.cpp:35
void Abort(const std::string &msg)
Print out message to cerr and exit via abort().
Definition: AMReX.cpp:225
CellConservativeLinear lincc_interp
Definition: AMReX_Interpolater.cpp:40
FaceConservativeLinear face_cons_linear_interp
Definition: AMReX_Interpolater.cpp:38
std::array< T, N > Array
Definition: AMReX_Array.H:24