sphtrsubd.m

From Spinach Documentation Wiki
Revision as of 19:55, 29 June 2021 by Kuprov (talk | contribs) (→‎See also)
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