Skip to content

Commit

Permalink
Fix Typo: pml_edge_lengths
Browse files Browse the repository at this point in the history
  • Loading branch information
ax3l authored Sep 21, 2024
1 parent a18ce22 commit f1f3436
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/BoundaryConditions/WarpXEvolvePML.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ WarpX::DampJPML (int lev, PatchType patch_type)
// Skip the field update if this gridpoint is inside the embedded boundary
amrex::Array4<amrex::Real> eb_lxfab, eb_lyfab, eb_lzfab;
if (EB::enabled()) {
const auto &pml_edge_lenghts = m_fields.get_alldirs("pmg_edge_lengths", lev);
const auto &pml_edge_lenghts = m_fields.get_alldirs("pml_edge_lengths", lev);

eb_lxfab = pml_edge_lenghts[0]->array(mfi);
eb_lyfab = pml_edge_lenghts[1]->array(mfi);
Expand Down

0 comments on commit f1f3436

Please sign in to comment.