./
div.pro
Routines
result = div(x, y, z [, order=order])This function calculates the divergence of a 1, 2, or 3-dimensional vector function sampled on a uniform grid.
test
Routine details
topdiv
result = div(x, y, z [, order=order])
This function calculates the divergence of a 1, 2, or 3-dimensional vector function sampled on a uniform grid.
Return value
An array of the same shape as data, giving the divergence at each point.
Parameters
- x in required
The x component of the vector field.
- y in required
The y component of the vector field. Optional
- z in required
The z component of the vector field. Optional
Keywords
- order in optional
The order of the lagrange interpolation polynomial to use when calculating derivatives. See pdiv.pro for details. Defaults to 1.
toptest
test
File attributes
| Modifcation date: | Tue Aug 3 15:37:53 2010 |
| Lines: | 58 |
![[attach.png]](idldoc-resources/attach.png)