sphtrsubd.m

From Spinach Documentation Wiki
Revision as of 12:30, 25 April 2026 by Kuprov (talk | contribs) (Normalise sequential blank lines)
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)

Arguments

  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