From 5ff5ab4f6d7d171ef8cd5896553965d1655e5441 Mon Sep 17 00:00:00 2001 From: deegan Date: Thu, 3 Oct 2024 15:54:52 +0200 Subject: [PATCH] ++ --- pyphare/pyphare/simulator/simulator.py | 1 - src/amr/solvers/solver_ppc.hpp | 6 +----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/pyphare/pyphare/simulator/simulator.py b/pyphare/pyphare/simulator/simulator.py index a1ed93d3d..66e2f5ffe 100644 --- a/pyphare/pyphare/simulator/simulator.py +++ b/pyphare/pyphare/simulator/simulator.py @@ -279,7 +279,6 @@ def _log_to_file(self): DATETIME_FILES - logfile with starting datetime timestamp per rank NONE - no logging files, display to cout """ - import os if "PHARE_LOG" not in os.environ: os.environ["PHARE_LOG"] = "RANK_FILES" diff --git a/src/amr/solvers/solver_ppc.hpp b/src/amr/solvers/solver_ppc.hpp index ec9572a47..7357f72a3 100644 --- a/src/amr/solvers/solver_ppc.hpp +++ b/src/amr/solvers/solver_ppc.hpp @@ -456,7 +456,6 @@ void SolverPPC::moveIons_(level_t& level, ModelViews_t& TimeSetter setTime{views, newTime}; { - PHARE_LOG_SCOPE(1, "SolverPPC::moveIons_updatePopulations"); auto dt = newTime - currentTime; for (auto& state : views) ionUpdater_.updatePopulations(state.ions, state.electromagAvg, state.layout, dt, mode); @@ -465,10 +464,7 @@ void SolverPPC::moveIons_(level_t& level, ModelViews_t& // this needs to be done before calling the messenger setTime([](auto& state) -> auto& { return state.ions; }); - { - PHARE_LOG_SCOPE(1, "SolverPPC::moveIons_fillIonGhostParticles"); - fromCoarser.fillIonGhostParticles(views.model().state.ions, level, newTime); - } + fromCoarser.fillIonGhostParticles(views.model().state.ions, level, newTime); fromCoarser.fillIonPopMomentGhosts(views.model().state.ions, level, newTime); for (auto& state : views)