variableAtPositionWithName
Primary method for accessing the dynamical variables on the at any
Declaration
[varargout] = variableAtPositionWithName(self,x,y,z,variableNames,options)
Parameters
xarray of x-positionsyarray of y-positionszarray of z-positionsvariableNamesstrings of variable names.interpolationMethod(optional)linear,spline,exact. Defaultlinear.
Discussion
position in the domain.
Computes (or retrieves from cache) any known state variables and computes their values at the requested positions (x,y,z)
The method argument specifies how off-grid values should be interpolated. Use ‘exact’ for the slow, but accurate, spectral interpolation. Otherwise use ‘spline’ or some other method used by Matlab’s interp function.