Skip to content

Commit

Permalink
fix for ML anelastic (#1952)
Browse files Browse the repository at this point in the history
  • Loading branch information
asalmgren authored Nov 18, 2024
1 parent 0b40d35 commit a4b7411
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Source/Utils/ERF_solve_with_mlmg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,8 @@ void ERF::solve_with_mlmg (int lev, Vector<MultiFab>& rhs, Vector<MultiFab>& phi
}

// Make sure the solver only sees the levels over which we are solving
Vector<BoxArray> ba_tmp; ba_tmp.push_back(rhs[lev].boxArray());
Vector<DistributionMapping> dm_tmp; dm_tmp.push_back(rhs[lev].DistributionMap());
Vector<BoxArray> ba_tmp; ba_tmp.push_back(rhs[0].boxArray());
Vector<DistributionMapping> dm_tmp; dm_tmp.push_back(rhs[0].DistributionMap());
Vector<Geometry> geom_tmp; geom_tmp.push_back(geom[lev]);

auto bclo = get_projection_bc(Orientation::low);
Expand Down

0 comments on commit a4b7411

Please sign in to comment.