2 #include "AMReX_BC_TYPES.H"
11 if (bcstring ==
"BOGUS_BC")
return amrex::BCType::mathematicalBndryTypes::bogus;
12 if (bcstring ==
"INT_DIR")
return amrex::BCType::mathematicalBndryTypes::int_dir;
13 if (bcstring ==
"REFLECT_ODD")
return amrex::BCType::mathematicalBndryTypes::reflect_odd;
14 if (bcstring ==
"REFLECT_EVEN")
return amrex::BCType::mathematicalBndryTypes::reflect_even;
15 if (bcstring ==
"FOEXTRAP")
return amrex::BCType::mathematicalBndryTypes::foextrap;
16 if (bcstring ==
"EXT_DIR")
return amrex::BCType::mathematicalBndryTypes::ext_dir;
17 if (bcstring ==
"HOEXTRAP")
return amrex::BCType::mathematicalBndryTypes::hoextrap;
20 if (bcstring ==
"interior" )
return (
int)amrex::LinOpBCType::interior;
21 if (bcstring ==
"Dirichlet" ||
22 bcstring ==
"dirichlet")
return (
int)amrex::LinOpBCType::Dirichlet;
23 if (bcstring ==
"Neumann" ||
24 bcstring ==
"neumann")
return (
int)amrex::LinOpBCType::Neumann;
25 if (bcstring ==
"reflect_odd")
return (
int)amrex::LinOpBCType::reflect_odd;
26 if (bcstring ==
"Marshak")
return (
int)amrex::LinOpBCType::Marshak;
27 if (bcstring ==
"SanchezPomraning")
return (
int)amrex::LinOpBCType::SanchezPomraning;
28 if (bcstring ==
"inflow")
return (
int)amrex::LinOpBCType::inflow;
29 if (bcstring ==
"Periodic" ||
30 bcstring ==
"periodic")
return (
int)amrex::LinOpBCType::Periodic;
36 if (bctype == (
int)amrex::BCType::mathematicalBndryTypes::int_dir)
return true;
37 if (bctype == (
int)amrex::LinOpBCType::interior)
return true;
38 if (bctype == (
int)amrex::LinOpBCType::Periodic)
return true;
45 if (bctype == (
int)amrex::LinOpBCType::Neumann)
return true;
50 if (bctype == (
int)amrex::BCType::mathematicalBndryTypes::ext_dir)
return true;
51 if (bctype == (
int)amrex::LinOpBCType::Dirichlet)
return true;
56 if (bctype == (
int)amrex::BCType::mathematicalBndryTypes::reflect_even)
return true;
61 if (bctype == (
int)amrex::BCType::mathematicalBndryTypes::reflect_odd)
return true;