Computes a surface integral as a function of nodalArray values and dumps the results in a dynVector.
in
(string vector)out
(string vector)onEntity
(string)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 surface, t representing time and NormalX, NormalY and NormalZ representing the surface normal to the boundary.
<Updater computeSurfaceCurrent>
kind = surfaceIntegral2D
onGrid = domain
entity = ghost
length = LENGTH
in = [J]
out = [surfaceCurrent]
indVars_J = ["Jx","Jy","Jz"]
exprs = ["2*3.14159*x*Jx"]
</Updater>