| 269 | |
| 270 | |
| 271 | BoxArray |
| 272 | MakeBoxArray (bool is_single_box_domain, const amrex::Box& regular_domain, |
| 273 | const amrex::Geometry& geom, const amrex::BoxArray& grid_ba, |
| 274 | const amrex::IntVect& ncell, int do_pml_in_domain, |
| 275 | const amrex::IntVect& do_pml_Lo, const amrex::IntVect& do_pml_Hi) |
| 276 | { |
| 277 | if (is_single_box_domain) { |
| 278 | return MakeBoxArray_single(regular_domain, grid_ba, ncell, do_pml_Lo, do_pml_Hi); |
| 279 | } else { // the union of the regular grids is *not* a single rectangular domain |
| 280 | return MakeBoxArray_multiple(geom, grid_ba, ncell, do_pml_in_domain, do_pml_Lo, do_pml_Hi); |
| 281 | } |
| 282 | } |
| 283 | |
| 284 | |
| 285 |
no test coverage detected