Difference between revisions of "Grid polar.m"
(Sync syntax/arguments/outputs with current Spinach source) |
(Add See also section to function-description page) |
||
| Line 30: | Line 30: | ||
c.brett@soton.ac.uk | c.brett@soton.ac.uk | ||
ilya.kuprov@weizmann.ac.il | ilya.kuprov@weizmann.ac.il | ||
| + | |||
| + | ==See also== | ||
| + | [[grid_igloo.m]], [[grid_fibon.m]], [[grid_plot.m]], [[Kernel_utilities#Integration_grids|Integration grids]] | ||
Revision as of 12:15, 25 April 2026
Generates a balanced polar grid in which the density of
points does not increase towards the centre.
Syntax
[phi,r,L]=grid_polar(ncircles,rmax)
Arguments
ncircles - number of radial circles
in the grid, an integer
rmax - maximum radius that the
grid must reach
Outputs
phi - a column vector of polar
phi angles, radians
rmax - a coluim vector of radii
L - sparse Laplacian operator
acting on functions defined
as vector of values in the
same order as the grid
c.brett@soton.ac.uk ilya.kuprov@weizmann.ac.il