From ef3ea1eafa73b53ed5f148d3f29f957680c965b7 Mon Sep 17 00:00:00 2001 From: roch smets Date: Wed, 14 Aug 2024 10:56:05 +0200 Subject: [PATCH] charge density for the tagger strategy --- src/amr/tagging/default_hybrid_tagger_strategy.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/amr/tagging/default_hybrid_tagger_strategy.hpp b/src/amr/tagging/default_hybrid_tagger_strategy.hpp index 6ab30fb07..3a256bc2e 100644 --- a/src/amr/tagging/default_hybrid_tagger_strategy.hpp +++ b/src/amr/tagging/default_hybrid_tagger_strategy.hpp @@ -28,7 +28,7 @@ void DefaultHybridTaggerStrategy::tag(HybridModel& model, auto& By = model.state.electromag.B.getComponent(PHARE::core::Component::Y); auto& Bz = model.state.electromag.B.getComponent(PHARE::core::Component::Z); - auto& N = model.state.ions.density(); + auto& N = model.state.ions.chargeDensity(); double threshold = 0.1;