Skip to content

Commit

Permalink
++
Browse files Browse the repository at this point in the history
  • Loading branch information
PhilipDeegan committed Oct 3, 2024
1 parent 2c841c1 commit ec1c397
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
1 change: 0 additions & 1 deletion pyphare/pyphare/simulator/simulator.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
6 changes: 1 addition & 5 deletions src/amr/solvers/solver_ppc.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,6 @@ void SolverPPC<HybridModel, AMR_Types>::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);
Expand All @@ -455,10 +454,7 @@ void SolverPPC<HybridModel, AMR_Types>::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)
Expand Down

0 comments on commit ec1c397

Please sign in to comment.