Skip to content

Commit

Permalink
minor cleanup
Browse files Browse the repository at this point in the history
Signed-off-by: roelof-groenewald <[email protected]>
  • Loading branch information
roelof-groenewald committed Sep 29, 2024
1 parent 31ce2d8 commit cb6a5ca
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 12 deletions.
11 changes: 1 addition & 10 deletions Source/FieldSolver/ElectrostaticSolvers/SemiImplicitES.H
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,6 @@
#include <ablastr/coarsen/sample.H>
#include <ablastr/fields/SemiImplicitPoissonSolver.H>

// #include "Particles/MultiParticleContainer.H"
// #include "Utils/WarpXConst.H"
// #include "Utils/WarpXProfilerWrapper.H"
// #include "WarpX.H"

// #include <ablastr/coarsen/sample.H>
// #include <ablastr/utils/Communication.H>
// #include <ablastr/warn_manager/WarnManager.H>

class SemiImplicitES final : public ElectrostaticSolver
{
public:
Expand Down Expand Up @@ -55,7 +46,7 @@ public:
* \f]
* \param[out] phi The potential to be computed by this function
* \param[in] rho The total charge density
* \param[in] sigma Represents the modified
* \param[in] sigma Represents the modified dielectric
* \param[in] required_precision The relative convergence threshold for the MLMG solver
* \param[in] absolute_tolerance The absolute convergence threshold for the MLMG solver
* \param[in] max_iters The maximum number of iterations allowed for the MLMG solver
Expand Down
1 change: 0 additions & 1 deletion Source/Python/WarpX.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
#include <Diagnostics/MultiDiagnostics.H>
#include <Diagnostics/ReducedDiags/MultiReducedDiags.H>
#include <EmbeddedBoundary/WarpXFaceInfoBox.H>
#include "FieldSolver/ElectrostaticSolvers/SemiImplicitES.H"
#include <FieldSolver/FiniteDifferenceSolver/FiniteDifferenceSolver.H>
#include <FieldSolver/FiniteDifferenceSolver/MacroscopicProperties/MacroscopicProperties.H>
#include <FieldSolver/FiniteDifferenceSolver/HybridPICModel/HybridPICModel.H>
Expand Down
3 changes: 2 additions & 1 deletion Source/ablastr/fields/SemiImplicitPoissonSolver.H
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,9 @@ computeSemiImplicitPhi (
if (boundary_handler.phi_EB_only_t) {
linop.setEBDirichlet(boundary_handler.potential_eb_t(current_time.value()));
}
else
else {
linop.setEBDirichlet(boundary_handler.getPhiEB(current_time.value()));
}
#endif
linop.setSigma(lev, sigma);

Expand Down

0 comments on commit cb6a5ca

Please sign in to comment.