Block-Structured AMR Software Framework
AMReX_BCUtil.H
Go to the documentation of this file.
1 #ifndef AMREX_BCUTIL_H_
2 #define AMREX_BCUTIL_H_
3 #include <AMReX_Config.H>
4 
5 #include <AMReX_MultiFab.H>
6 #include <AMReX_Geometry.H>
7 #include <AMReX_BCRec.H>
8 
9 namespace amrex
10 {
11  // This is for filling cell-centered data outside physical domain
12  // (excluding periodic boundaries). It only fills BCType::foextrap,
13  // BCType::hoextrap, BCType::hoextrapcc, BCType::reflect_even, and
14  // BCType::reflect::odd. It does not fill BCType::ext_dir and
15  // BCType::ext_dir_cc (i.e., external Dirichlet). If you have
16  // BCType::ext_dir or BCType::ext_dir_cc, you can copy, paste and rename
17  // this function, and then modify it.
18  void FillDomainBoundary (MultiFab& phi, const Geometry& geom, const Vector<BCRec>& bc);
19 }
20 
21 #endif
Definition: AMReX_Amr.cpp:49
void FillDomainBoundary(MultiFab &phi, const Geometry &geom, const Vector< BCRec > &bc)
Definition: AMReX_BCUtil.cpp:36