sarkas.particles.Particles.calculate_species_electric_current#

Particles.calculate_species_electric_current()[source]#

Calculate the energy current of each species from heat_flux_species_tensor and stores it into species_heat_flux.

Note that heat_flux_species_tensor is calculated in the force loop if requested.