""" compute_rho( mesh, f) Compute charge density ρ(x,t) = ∫ f(x,v,t) dv return ρ - ρ̄ """ function compute_rho(meshv::UniformMesh, f) dv = meshv.step ρ = dv .* vec(sum(real(f), dims=2)) ρ .- mean(ρ) end
4.3 Mesh data structure ← → 4.5 Function to compute th..