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