get_hull.m

From Spinach Documentation Wiki
Jump to: navigation, search

Generates a convex hull of a two-angle grid for 2D surface plotting.

Syntax

    hull=get_hull(theta_angles,phi_angles)

Parameters

  theta_angles - a column vector of theta angles,
                 polar coordinates, ISO convention,
                 radians

  phi_angles   - a column vector of phi angles,
                 polar coordinates, ISO convention,
                 radians

Outputs

  hull         - a matrix of point indices of 
                 dimension Nx3, where N is the
                 number of triangular facets

Examples

Singlet yield anisotropy calculations in the spin chemistry example set make use of the hull information for Lebedev grids.

Singlet yield anisotropy plot for one of the radical pairs described in https://doi.org/10.1016/S0301-0104(03)00320-3

Notes

Hulls can only be generated for two-angle spherical grids.

See also

arclength.m, gaussleg.m, grid_fibon.m, grid_igloo.m, grid_kron.m, grid_plot.m, grid_polar.m, grid_test.m, grid_trian.m, one_vcell_solidangle.m, repulsion.m, shrewd.m, sphtarea.m, sphtrsubd.m, vcell_solidangle.m, voitlander.m, voronoisphere.m, zfs_sampling.m, Kernel_utilities, Appendix I: powder grids

Version 2.6, authors: Ilya Kuprov