Integrates a quantity over the volume of the domain and writes to a dynVector
in
(string vector)out
(string vector)indVars_name
(string vector)preExprs
(string vector)exprs
(string vector)other
(variable definition)In addition, an arbitrary number of constants can be defined that can then be used in evaluating expression in both preExprs and exprs
Also, the updater has predefined variables including x,y,z representing the spatial location of the cell and t the time.
<Updater computeTotalE>
kind = intCombinedFields2d
onGrid = domain
in = [qnew]
out = [totalE]
mi = MI
mu0 = MU0
gamma = GAMMA
k=KB
indVars_qnew = ["rho","mx","my","mz","en","bx","by","bz","phi"]
exprs = ["en"]
</Updater>