Skip to content

Commit

Permalink
fix cbl
Browse files Browse the repository at this point in the history
  • Loading branch information
RevathiJambunathan committed Jan 24, 2024
1 parent d6c8909 commit 96cc7fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/BoundaryConditions/PML.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -784,7 +784,7 @@ PML::PML (const int lev, const BoxArray& grid_ba, const DistributionMapping& gri
amrex::Box cdomain = grid_cba.minimalBox();
amrex::BoxList cbl = grid_cba.simplified_list();
if (do_pml_in_domain) {
for (amrex::Box cb : cbl) {
for (amrex::Box &cb : cbl) {
for (int idim = 0; idim < AMREX_SPACEDIM; ++idim) {
// if (do_pml_Lo[idim]){
// // ncell is divided by refinement ratio to ensure that the
Expand Down

0 comments on commit 96cc7fa

Please sign in to comment.