diff --git a/src/amr/solvers/solver_ppc.hpp b/src/amr/solvers/solver_ppc.hpp index 3eb79f496..ec9572a47 100644 --- a/src/amr/solvers/solver_ppc.hpp +++ b/src/amr/solvers/solver_ppc.hpp @@ -216,6 +216,8 @@ void SolverPPC::fillMessengerInfo( template void SolverPPC::saveState_(level_t& level, ModelViews_t& views) { + PHARE_LOG_SCOPE(1, "SolverPPC::saveState_"); + for (auto& state : views) { std::stringstream ss; @@ -232,6 +234,8 @@ void SolverPPC::saveState_(level_t& level, ModelViews_t& template void SolverPPC::restoreState_(level_t& level, ModelViews_t& views) { + PHARE_LOG_SCOPE(1, "SolverPPC::restoreState_"); + for (auto& state : views) { std::stringstream ss; @@ -452,6 +456,7 @@ 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); @@ -460,7 +465,10 @@ void SolverPPC::moveIons_(level_t& level, ModelViews_t& // this needs to be done before calling the messenger setTime([](auto& state) -> auto& { return state.ions; }); - fromCoarser.fillIonGhostParticles(views.model().state.ions, level, newTime); + { + PHARE_LOG_SCOPE(1, "SolverPPC::moveIons_fillIonGhostParticles"); + fromCoarser.fillIonGhostParticles(views.model().state.ions, level, newTime); + } fromCoarser.fillIonPopMomentGhosts(views.model().state.ions, level, newTime); for (auto& state : views)