Skip to content

Commit

Permalink
charge density for the tagger strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
rochSmets committed Sep 10, 2024
1 parent 5ed6a90 commit 12fca6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/amr/tagging/default_hybrid_tagger_strategy.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ void DefaultHybridTaggerStrategy<HybridModel>::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();

Check notice

Code scanning / CodeQL

Unused local variable Note

Variable N is not used.

// we loop on cell indexes for all qties regardless of their centering
auto const& [start_x, _]
Expand Down

0 comments on commit 12fca6b

Please sign in to comment.