Difference between revisions of "Grid trian.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Created page with "{{DISPLAYTITLE:grid_trian.m}} __NOTOC__ Triangular spherical quadrature grids, as per Appendix A.6 of (http://dx.doi.org/10.1016/j.jmr.2014.05.009). ==Syntax== [alps,be...")
 
(Update function See also links and function index membership)
 
(3 intermediate revisions by the same user not shown)
Line 6: Line 6:
 
     [alps,bets,gams,whts,vorn]=grid_trian(type,n)
 
     [alps,bets,gams,whts,vorn]=grid_trian(type,n)
  
==Arguments==
+
==Parameters==
  
 
       type - 'asg', 'sophe', or 'stoll'
 
       type - 'asg', 'sophe', or 'stoll'
Line 20: Line 20:
 
   
 
   
 
       gams - gamma Euler angles of the grid (radians)
 
       gams - gamma Euler angles of the grid (radians)
 
+
 
       whts - Voronoi tessellation body angle weights
 
       whts - Voronoi tessellation body angle weights
 
   
 
   
Line 36: Line 36:
  
 
==See also==
 
==See also==
[[Kernel_utilities#Integration_grids|Integration grids]], [[Appendix I: powder grids]]
+
[[arclength.m]], [[gaussleg.m]], [[get_hull.m]], [[grid_fibon.m]], [[grid_igloo.m]], [[grid_kron.m]], [[grid_plot.m]], [[grid_polar.m]], [[grid_test.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]]''
 
''Version 2.6, authors: [[Ilya Kuprov]]''

Latest revision as of 19:37, 6 June 2026

Triangular spherical quadrature grids, as per Appendix A.6 of (http://dx.doi.org/10.1016/j.jmr.2014.05.009).

Syntax

    [alps,bets,gams,whts,vorn]=grid_trian(type,n)

Parameters

     type - 'asg', 'sophe', or 'stoll'

        n - point count parameter

Outputs

     alps - alpha Euler angles of the grid (radians),
            zeros because these are two-angle grids

     bets - beta Euler angles of the grid (radians)

     gams - gamma Euler angles of the grid (radians)

     whts - Voronoi tessellation body angle weights

     vorn - a cell array of matrices containing the
            coordinates of the vertices of the Voro-
            noi polyhedra

Examples

Below is the figure produced by grid_trian('stoll',10).

Stoll grid 10.png

Notes

If no outputs are requested, a schematic is drawn.

See also

arclength.m, gaussleg.m, get_hull.m, grid_fibon.m, grid_igloo.m, grid_kron.m, grid_plot.m, grid_polar.m, grid_test.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