Skip to content
Snippets Groups Projects
Commit 40d53ab9 authored by zhang's avatar zhang
Browse files

08/02/2011

delete chamberoff( )
parent 78878811
No related branches found
No related tags found
No related merge requests found
......@@ -164,8 +164,9 @@ void Read_Lattice(char *fic)
globval.bpm = ElemIndex("bpm"); /* get family index of bpm*/
//globval.g = ElemIndex("g"); /* get family index of girder*/
/* define x/y physical aperture */
ChamberOff();
/* define x/y physical aperture, use the default values: +- 1 meter */
globval.Aperture_on = false;
/* Compute and get Twiss parameters */
Ring_GetTwiss(chroma = true, dP = 0.0);
......@@ -207,7 +208,11 @@ void Read_Lattice(char *fic)
globval.bpm = ElemIndex("bpm"); /* get family index of bpm*/
// globval.g = ElemIndex("g"); /* get family index of girder*/
ChamberOff();
/* define x/y physical aperture, use the default values: +- 1 meter */
globval.Aperture_on = false;
TransTwiss(alpha, beta, eta, etap, codvect);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment