From c49f5ae62b3f25a1e55215f2b2a00255c3ffe42d Mon Sep 17 00:00:00 2001 From: Weiqun Zhang Date: Mon, 22 Jan 2024 13:30:38 -0800 Subject: [PATCH] Prepare for amrex changes (#68) --- Source/Utils/CAMR_setup.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Source/Utils/CAMR_setup.cpp b/Source/Utils/CAMR_setup.cpp index 33fcf27..3ec61f5 100644 --- a/Source/Utils/CAMR_setup.cpp +++ b/Source/Utils/CAMR_setup.cpp @@ -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)