Home > atphysics > numdifparams.m

numdifparams

PURPOSE ^

NUMDIFPARAMS (all caps) is a global variable in AT

SYNOPSIS ^

This is a script file.

DESCRIPTION ^

NUMDIFPARAMS (all caps) is a global variable in AT
 Fields in this structure are step sizes for numerical differentiation 
 used by AT functions. Functions that use numerical differentiation
 (such as FINDM44, FINDM66) first check if the global 
 structure NUMDIFPARAMS exists. Then they check if NUMDIFPARAMS
 has the field that defines the numerical differentiation step size.
 If the field is not defined in NUMDIFPARAMS the function uses
 its internal default value
 
 Example: 

 >> global NUMDIFPARAMS
 >> NUMDIFPARAMS.XYStep = 1e-8;
 >> NUMDIFPARAMS.DPStep = 1e-6;

 Functions that use NUMDIFPARAMS are:
   FINDM44, FINDM66, FINDELEMM66, LINOPT, TWISSRING, TWISSLINE,
   TUNECHROM

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:

SOURCE CODE ^

0001 %NUMDIFPARAMS (all caps) is a global variable in AT
0002 % Fields in this structure are step sizes for numerical differentiation
0003 % used by AT functions. Functions that use numerical differentiation
0004 % (such as FINDM44, FINDM66) first check if the global
0005 % structure NUMDIFPARAMS exists. Then they check if NUMDIFPARAMS
0006 % has the field that defines the numerical differentiation step size.
0007 % If the field is not defined in NUMDIFPARAMS the function uses
0008 % its internal default value
0009 %
0010 % Example:
0011 %
0012 % >> global NUMDIFPARAMS
0013 % >> NUMDIFPARAMS.XYStep = 1e-8;
0014 % >> NUMDIFPARAMS.DPStep = 1e-6;
0015 %
0016 % Functions that use NUMDIFPARAMS are:
0017 %   FINDM44, FINDM66, FINDELEMM66, LINOPT, TWISSRING, TWISSLINE,
0018 %   TUNECHROM

Generated on Thu 24-Aug-2017 18:47:33 by m2html © 2005