Support plotting fluxes through KnoFuPlotter
Distinguish plotting of states and fluxes. A separate call to plot fluxes now reconstructs fluxes and plots them as vertex data into the specified path.
@lriedel Remember that the flux reconstruction engine is not available for every polynomial order. Use the
Traitsto either ensure that this will always work (e.g. not printing when unavailable), or by restricting KnoFu interface for valid combinations of the engine.
Thanks for the heads-up! We currently do the latter: The interface is restricted to low-order cases, namely orders 0 and 1 for now.
Yeah, I know, I am just suggesting a
static_assertso that higher-order instantiations (who knows) have an appropriate error message and not a messy and long template error message.