Block-Structured AMR Software Framework
AMReX_Extrapolater.H
Go to the documentation of this file.
1 #ifndef AMREX_EXTRAPOLATER_H_
2 #define AMREX_EXTRAPOLATER_H_
3 #include <AMReX_Config.H>
4 
5 #include <AMReX_MultiFab.H>
6 #include <AMReX_Geometry.H>
7 
8 namespace amrex::Extrapolater
9 {
10  // finebnd: boundary cells covered by fine cells (including periodically shifted fine cells)
11  // crsebnd: boundary cells not covered by fine cells
12  // physbnd: boundary cells outside the domain (excluding periodic boundaries)
13  // interior: interior cells
14  const int finebnd = 1;
15  const int crsebnd = 0;
16  const int physbnd = 0;
17  const int interior = 1;
18 
20  void FirstOrderExtrap (MultiFab& mf, const Geometry& geom, int scomp, int ncomp);
21 
23  void FirstOrderExtrap (MultiFab& mf, const Geometry& geom, int scomp, int ncomp, int nGrow);
24 
25 }
26 
27 #endif
Rectangular problem domain geometry.
Definition: AMReX_Geometry.H:73
A collection (stored as an array) of FArrayBox objects.
Definition: AMReX_MultiFab.H:38
Definition: AMReX_Extrapolater.cpp:11
const int physbnd
Definition: AMReX_Extrapolater.H:16
const int crsebnd
Definition: AMReX_Extrapolater.H:15
const int finebnd
Definition: AMReX_Extrapolater.H:14
void FirstOrderExtrap(MultiFab &mf, const Geometry &geom, int scomp, int ncomp)
It is expected that FillBoundary (w/ periodicity) has been called on mf.
Definition: AMReX_Extrapolater.cpp:13
const int interior
Definition: AMReX_Extrapolater.H:17