[Archive] Energy and current density results

Message by Nuno Loureiro:
I am modeling a plasma thruster in SPIS, but I need to output the energy and current density at each point. I think that currently, SPIS only outputs the potential and number density, so I am thinking of implementing the calculation and output of energy and current density if this is not yet done (or in the TODO list).
Is there any information you can provide me regarding the code that could make this process of implementation a bit easier?
For example, comparing to the way we implement the density in each node is there a way to do the same with the velocity, so that we can compute the flux afterward?