curl
curl(func, shift=None, order=None, method='FD', **kwargs)Curl of the input Function. Only supported for VectorFunction
Parameters
| Name | Type | Description | Default |
|---|---|---|---|
| func | VectorFunction | VectorFunction to take curl of | required |
| shift | Shift for the center point of the derivative in number of gridpoints | None |
|
| order | Discretization order for the finite differences. Uses func.space_order when not specified |
None |
|
| method | Discretization method. Options are ‘FD’ (default) and ‘RSFD’ (rotated staggered grid finite-difference). | 'FD' |
|
| weights | Custom weights for the finite difference coefficients. | required |