sphtrsubd.m

From Spinach Documentation Wiki
Revision as of 18:52, 5 June 2026 by Kuprov (talk | contribs) (Rename Arguments section heading to Parameters)
Jump to: navigation, search

Spherical triangle subdivision. Returns the midpoints of the sides of a spherical triangle specified by the unit vectors supplied.

Syntax

    [r12,r23,r31]=sphtrsubd(r1,r2,r3)

Parameters

  r1,r2,r3    - three-element unit vectors with Cartesian
                coordinates of triangle vertices

Outputs

  r12,r23,r31 - three-element unit vectors with Cartesian
                coordinates of triangle arc midpoints

See also

Integration grids, Appendix I: powder grids

Version 2.6, authors: Ilya Kuprov