Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jan 12, 2024
1 parent b779a1d commit 58007e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/simulation.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@ template <typename problem_t> void AMRSimulation<problem_t>::setInitialCondition
rhs[lev].setVal(0);
fillPoissonRhsAtLevel(rhs[lev], lev); // calculate phi at t=0
rhs_min = std::min(rhs_min, rhs[lev].min(0));
}
}

amrex::Real abstol = abstolPoisson_ * rhs_min;
poissonSolver.solve(amrex::GetVecOfPtrs(phi), amrex::GetVecOfConstPtrs(rhs), reltolPoisson_, abstol);
Expand Down

0 comments on commit 58007e1

Please sign in to comment.