MCPcopy Create free account
hub / github.com/BLAST-WarpX/warpx / MakeBoxArray

Function MakeBoxArray

Source/BoundaryConditions/PML.cpp:271–282  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers 1

PMLMethod · 0.85

Calls 2

MakeBoxArray_singleFunction · 0.85
MakeBoxArray_multipleFunction · 0.85

Tested by

no test coverage detected