addParticles
Add particles to be advected by the flow.
Declaration
addParticles(name,fluxOp,x,y,z,trackedFieldNames,options)
Parameters
name
a unique name to call the particlesfluxOp
a WVParticleFluxOperation, used to determine how the flow advects the particlesx
x-coordinate location of the particlesy
y-coordinate location of the particlesz
z-coordinate location of the particlestrackedFields
strings of variable namesadvectionInterpolation
(optional) interpolation method used for particle advection. “linear” (default), “spline”, “exact”trackedVarInterpolation
(optional) interpolation method used for tracked field. “linear” (default), “spline”, “exact”