Difference between revisions of "Vcell solidangle.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(→‎Arguments)
Line 10: Line 10:
 
       P    - (3 x m) array with coordinates of the
 
       P    - (3 x m) array with coordinates of the
 
               vertices of the Voronoi cell
 
               vertices of the Voronoi cell
−
 
+
 
       K    - (n x 1) cell, each K{j} contains the  
 
       K    - (n x 1) cell, each K{j} contains the  
 
               indices of the Voronoi cell
 
               indices of the Voronoi cell
−
 
+
 
       xyz  - optional (3 x n) knot points to guide
 
       xyz  - optional (3 x n) knot points to guide
 
             vcell_solidangle to compute the solid  
 
             vcell_solidangle to compute the solid  

Revision as of 18:44, 29 June 2021

Solid angle of a spherical Voronoi cell.

Syntax

    function call string

Arguments

     P    - (3 x m) array with coordinates of the
             vertices of the Voronoi cell

     K    - (n x 1) cell, each K{j} contains the 
             indices of the Voronoi cell

     xyz  - optional (3 x n) knot points to guide
            vcell_solidangle to compute the solid 
            angle of the "right" cell containing 
            the node (and not the complement cell)

Outputs

     S    - the solid angle of the Voronoi cell

See also

Integration grids


Version 2.6, authors: Bruno Luong, Ilya Kuprov