Skip to content

Commit

Permalink
comment out unused
Browse files Browse the repository at this point in the history
  • Loading branch information
asalmgren committed Nov 18, 2024
1 parent 26fb9ee commit 305f81c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Source/Utils/ERF_solve_with_gmres.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
#include "ERF_Utils.H"

#include <AMReX_MLMG.H>
//#include <AMReX_MLTerrainPoisson.H>
#include <AMReX_MLTerrainPoisson.H>
#include <AMReX_GMRES.H>
#include <AMReX_GMRES_MLMG.H>

Expand All @@ -12,7 +12,7 @@ using namespace amrex;
* Solve the Poisson equation using MLMG
* Note that the level may or may not be level 0.
*/
void ERF::solve_with_gmres (int lev, Vector<MultiFab>& rhs, Vector<MultiFab>& phi, Vector<Array<MultiFab,AMREX_SPACEDIM>>& fluxes)
void ERF::solve_with_gmres (int lev, Vector<MultiFab>& /*rhs*/, Vector<MultiFab>& /*phi*/, Vector<Array<MultiFab,AMREX_SPACEDIM>>& /*fluxes*/)
{
BL_PROFILE("ERF::solve_with_mlmg()");

Expand All @@ -38,10 +38,10 @@ void ERF::solve_with_gmres (int lev, Vector<MultiFab>& rhs, Vector<MultiFab>& ph
// amrex::Print() << "BCLO " << bclo[0] << " " << bclo[1] << " " << bclo[2] << std::endl;
// amrex::Print() << "BCHI " << bchi[0] << " " << bchi[1] << " " << bchi[2] << std::endl;

#if 0
Real reltol = solverChoice.poisson_reltol;
Real abstol = solverChoice.poisson_abstol;

#if 0
MLTerrainPoisson terrpoisson(geom_tmp, ba_tmp, dm_tmp, info);
terrpoisson.setDomainBC(bclo, bchi);
terrpoisson.setMaxOrder(2);
Expand Down

0 comments on commit 305f81c

Please sign in to comment.