source: MML/trunk/mml/at/getcod.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: 411 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
8if nargin < 1
9        global THERING
10end
11if nargin < 2
12    DP = 0.0;
13end
14
15%localspos = findspos(THERING,1:length(RING)+1);
16orbit = findorbit4(THERING,DP,1:length(THERING)+1);
Note: See TracBrowser for help on using the repository browser.