PHAREHUB / PHARE

💫 Parallel Hybrid Particle In Cell code with Adaptive mesh REfinement
https://phare.readthedocs.io
GNU General Public License v3.0
69 stars 25 forks source link

account for possible different charges of ion populations #785

Open nicolasaunai opened 10 months ago

nicolasaunai commented 10 months ago

We can have multiple populations, each with its charge. But the density used in Ohm and in Electrons is the total ion particledensity, which is wrong if populations have different charges. We should allow for calculating the total charge density $\rhoc = \sum{pop} Z{pop}n{pop}$

We should change rho_ to be the charge density, since the total particle density will not be used anyway.

PhilipDeegan commented 3 weeks ago

I think #861 closes this