source: MML/trunk/mml/at/getcod.m

Last change on this file was 5, checked in by zhangj, 11 years ago

ThomX MML version on the LAL server @ 17/12/2013

File size: 527 bytes
Line 
1function orbit = getcod(THERING, DP)
2% GETCOD Closed Orbit Distortion
3% GETCOD(THERING,DP) finds closed orbit for a given momentum
4% deviation DP. It calls FINDORBIT4 which assumes a lattice
5% with NO accelerating cavities and NO radiation
6%
7% By Jianfeng Zhang @ LAL, 10/2013
8% Modified to get 6D COD
9%
10
11if nargin < 1
12        global THERING
13end
14if nargin < 2
15    DP = 0.0;
16end
17
18%localspos = findspos(THERING,1:length(RING)+1);
19orbit = findorbit4(THERING,DP,1:length(THERING)+1);
20%orbit = findorbit6(THERING,DP,1:length(THERING)+1);
Note: See TracBrowser for help on using the repository browser.