Skip to content

Commit

Permalink
Prepare for amrex changes (#68)
Browse files Browse the repository at this point in the history
  • Loading branch information
WeiqunZhang authored Jan 22, 2024
1 parent a7f994d commit c49f5ae
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Source/Utils/CAMR_setup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ PassMap* CAMR::d_pass_map = nullptr;
PassMap* CAMR::h_pass_map = nullptr;

// Components are:
// Interior, Inflow, Outflow, Symmetry, SlipWall, NoSlipWall
static int scalar_bc[] = {INT_DIR, EXT_DIR, FOEXTRAP, REFLECT_EVEN, REFLECT_EVEN, REFLECT_EVEN};
static int norm_vel_bc[] = {INT_DIR, EXT_DIR, FOEXTRAP, REFLECT_ODD , REFLECT_ODD, REFLECT_ODD};
static int tang_vel_bc[] = {INT_DIR, EXT_DIR, FOEXTRAP, REFLECT_EVEN, REFLECT_EVEN, REFLECT_ODD};
// Interior, Inflow, Outflow, Symmetry, SlipWall, NoSlipWall
static int scalar_bc[] = {amrex::BCType::int_dir, amrex::BCType::ext_dir, amrex::BCType::foextrap, amrex::BCType::reflect_even, amrex::BCType::reflect_even, amrex::BCType::reflect_even};
static int norm_vel_bc[] = {amrex::BCType::int_dir, amrex::BCType::ext_dir, amrex::BCType::foextrap, amrex::BCType::reflect_odd , amrex::BCType::reflect_odd, amrex::BCType::reflect_odd};
static int tang_vel_bc[] = {amrex::BCType::int_dir, amrex::BCType::ext_dir, amrex::BCType::foextrap, amrex::BCType::reflect_even, amrex::BCType::reflect_even, amrex::BCType::reflect_odd};

static amrex::Box
the_same_box(const amrex::Box& b)
Expand Down

0 comments on commit c49f5ae

Please sign in to comment.