Skip to content

Commit

Permalink
boxlist instead of simplified list
Browse files Browse the repository at this point in the history
  • Loading branch information
RevathiJambunathan committed Jan 24, 2024
1 parent 82225d6 commit d72fd6e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/BoundaryConditions/PML.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ PML::PML (const int lev, const BoxArray& grid_ba, const DistributionMapping& gri

BoxArray grid_ba_reduced = grid_ba;
if (do_pml_in_domain) {
BoxList bl = grid_ba.simplified_list();
BoxList bl = grid_ba.boxList();
for (auto& b : bl) {
for (int idim = 0; idim < AMREX_SPACEDIM; ++idim) {
if (do_pml_Lo[idim]) {
Expand Down Expand Up @@ -770,7 +770,7 @@ PML::PML (const int lev, const BoxArray& grid_ba, const DistributionMapping& gri

BoxArray grid_cba_reduced = grid_cba;
if (do_pml_in_domain) {
BoxList bl = grid_cba.simplified_list();
BoxList bl = grid_cba.boxList();
for (auto& b : bl) {
for (int idim = 0; idim < AMREX_SPACEDIM; ++idim) {
if (do_pml_Lo[idim]) {
Expand Down

0 comments on commit d72fd6e

Please sign in to comment.