source: MML/trunk/at/atphysics/numdifparams.m @ 4

Last change on this file since 4 was 4, checked in by zhangj, 10 years ago

Initial import--MML version from SOLEIL@2013

File size: 707 bytes
Line 
1%NUMDIFPARAMS (all caps) is a global variable in AT
2% Fields in this structure are step sizes for numerical differentiation
3% used by AT functions. Functions that use numerical differentiation
4% (such as FINDM44, FINDM66) first check if the global
5% structure NUMDIFPARAMS exists. Then they check if NUMDIFPARAMS
6% has the field that defines the numerical differentiation step size.
7% If the field is not defined in NUMDIFPARAMS the function uses
8% its internal default value
9%
10% Example:
11%
12% >> global NUMDIFPARAMS
13% >> NUMDIFPARAMS.XYStep = 1e -8;
14% >> NUMDIFPARAMS.DPStep = 1e-6;
15%
16% Functions that use NUMDIFPARAMS are:
17%   FINDM44, FINDM66, FINDELEMM66, LINOPT, TWISSRING, TWISSLINE,
18%   TUNECHROM
Note: See TracBrowser for help on using the repository browser.