Difference between revisions of "Tolerances.m"

From Spinach Documentation Wiki
Jump to: navigation, search
(Add NOTOC to Spinach function page header)
m (Rename Arguments section heading to Parameters)
Line 7: Line 7:
 
     [spin_system,sys]=tolerances(spin_system,sys)
 
     [spin_system,sys]=tolerances(spin_system,sys)
  
==Arguments==
+
==Parameters==
  
 
     [[Appendix D: kernel data structures|spin_system]]  -  Spinach system description object
 
     [[Appendix D: kernel data structures|spin_system]]  -  Spinach system description object

Revision as of 18:52, 5 June 2026

Tolerances and fundamental constants. Sets the various accuracy cut-offs, constants and tolerances used throughout Spinach kernel.

Syntax

    [spin_system,sys]=tolerances(spin_system,sys)

Parameters

   spin_system  -  Spinach system description object

   sys          -  system specification object described
                   in the input preparation section of 
                   the manual

Outputs

   spin_system  -  updated system description object

Notes

Direct calls and modifications to this function are discouraged: the accuracy settings should be modified by setting the sys.tols structure, see the input preparation manual.

See also

create.m, clean_up.m

Version 2.2, authors: Ilya Kuprov, Hannah Hogben