Skip to content
Snippets Groups Projects
Commit 26f4b74e authored by nadolski's avatar nadolski
Browse files

REname function

Phase space introduced with tracking arounf 6D COD
Phase space available in user interface
parent 7de0409c
Branches
Tags
No related merge requests found
......@@ -186,6 +186,3 @@
# calculate Eta function
EtaFlag false
# calculate phase space
PhaseSpaceFlag false
......@@ -217,13 +217,13 @@ prtmfile("flat_file.dat"); // writes flat file /* very important file for debu
// computes Tuneshift with amplitudes
if (TuneShiftFlag == true){
if (ChamberFlag == true ){
NuDx(31L,21L,516L,0.025,0.005,dP);
TunesShiftWithAmplitude(31L,21L,516L,0.025,0.005,dP);
//NuDp(31L,516L,0.06);
//NuDp(31L,1026L,0.06);
}
else{
NuDx(50L,30L,516L,0.035,0.02,dP);
NuDp(31L,1026L,0.06);
TunesShiftWithAmplitude(50L,30L,516L,0.035,0.02,dP);
TunesShiftWithEnergy(31L,1026L,0.06);
}
}
......
......@@ -280,25 +280,25 @@ void Getchrom2(double dP)
// computes TuneShift with amplitudes
if (AmplitudeTuneShiftFlag == true){
if (ChamberFlag == true ){
NuDx(_AmplitudeTuneShift_nxpoint,
TunesShiftWithAmplitude(_AmplitudeTuneShift_nxpoint,
_AmplitudeTuneShift_nypoint, _AmplitudeTuneShift_nturn,
_AmplitudeTuneShift_xmax, _AmplitudeTuneShift_ymax,
_AmplitudeTuneShift_delta);
//NuDx(31L,21L,516L,0.025,0.005,dP);
}
else{ // Utility ?
NuDx(50L,30L,516L,0.035,0.02,dP);
TunesShiftWithAmplitude(50L,30L,516L,0.035,0.02,dP);
}
}
if (EnergyTuneShiftFlag == true){
if (ChamberFlag == true ){
NuDp(_EnergyTuneShift_npoint,
TunesShiftWithEnergy(_EnergyTuneShift_npoint,
_EnergyTuneShift_nturn, _EnergyTuneShift_deltamax);
//NuDp(31L,1026L,0.06);
}
else{ // utility ?
NuDp(31L,1026L,0.06);
TunesShiftWithEnergy(31L,1026L,0.06);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment