@@ -672,7 +672,7 @@ On the first line, the two zeros following \texttt{1DProfile1} are the orders o

Figure~\ref{plot-compare-default} compares the emittances and beam sizes obtained by using the hard edge map, the default map and the ELEGANT. One can see that the results produced by the hard edge map match the ELEGANT results when FINT is set to zero.

\subsection{Integration Time Step}

When the hard edge map is used for a dipole, finer integration time step is needed to ensure the accurate of the calculation. Figure~\ref{plot-emit-dt} compares the normalized emittances generated using the hard edge map in \textit{OPAL} with varying time steps to those from the ELEGANT. {0.01}{\pico\second} seems to be a optimal time step for the fringe field region. To speed up the simulations, one can use larger time steps outside the fringe field regions. In Figure~\ref{plot-emit-dt}, one can observe a discontinuity in the horizontal emittance when the hard edge map is used in the calculation. This discontinuity comes from the fact that \textit{OPAL} emittance is calculated at an instant time. Once the beam or part of the beam gets into the dipole, its $P_x$ gets a kick which will result in a sudden emittance change.

When the hard edge map is used for a dipole, finer integration time step is needed to ensure the accurate of the calculation. Figure~\ref{plot-emit-dt} compares the normalized emittances generated using the hard edge map in \textit{OPAL} with varying time steps to those from the ELEGANT. {0.01}{ps} seems to be a optimal time step for the fringe field region. To speed up the simulations, one can use larger time steps outside the fringe field regions. In Figure~\ref{plot-emit-dt}, one can observe a discontinuity in the horizontal emittance when the hard edge map is used in the calculation. This discontinuity comes from the fact that \textit{OPAL} emittance is calculated at an instant time. Once the beam or part of the beam gets into the dipole, its $P_x$ gets a kick which will result in a sudden emittance change.

@@ -210,10 +210,10 @@ This file is used to log the statistical properties of the bunch in the ASCII va

\endfoot

\hline

\endlastfoot

1 & t &{\nano\second}& Time\\

1 & t &{ns}& Time\\

2 & s &{m}& Path length\\

3 & numParticles & 1 & Number of macro particles\\

4 & charge &{\coulomb}& Charge of bunch\\

4 & charge &{C}& Charge of bunch\\

5 & energy &{MeV}& Mean energy of bunch\\

6 & rms\_x &{m}& Standard deviation of x-component of particles positions\\

7 & rms\_y &{m}& Standard deviation of y-component of particles positions\\

...

...

@@ -250,7 +250,7 @@ This file is used to log the statistical properties of the bunch in the ASCII va

38 & Ey\_ref &{MV\perm}& Y-component of electric field at reference particle\\

39 & Ez\_ref &{MV\perm}& Z-component of electric field at reference particle\\

40 & dE &{MeV}& Energy spread of the bunch\\

41 & dt &{\nano\second}& Size of time step\\

41 & dt &{ns}& Size of time step\\

42 & partsOutside & 1 & Number of particles outside $n \times gma$ of beam, where $n$ is controlled with \texttt{BEAMHALOBOUNDARY}\\

43 & R0\_x &{m}& X-component of position of particle with ID 0 (only when run serial)\\

44 & R0\_y &{m}& Y-component of position of particle with ID 0 (only when run serial)\\

...

...

@@ -283,12 +283,12 @@ This file is used to log the statistical properties of the bunch in the ASCII va

\endlastfoot

1 & name & a string & Name of the monitor\\

2 & s &{m}& Position of the monitor in path length\\

3 & t &{\nano\second}& Time at which the reference particle pass\\

3 & t &{ns}& Time at which the reference particle pass\\

4 & numParticles & 1 & Number of macro particles\\

5 & rms\_x &{m}& Standard deviation of the x-component of the particles positions \\

6 & rms\_y &{m}& Standard deviation of the y-component of the particles positions \\

7 & rms\_s &{m}& Standard deviation of the s-component of the particles positions (only nonvanishing when type of \texttt{MONITOR} is \texttt{TEMPORAL})\\

8 & rms\_t &{\nano\second}& Standard deviation of the passage time of the particles (zero if type is of \texttt{MONITOR} is \texttt{TEMPORAL}\\

8 & rms\_t &{ns}& Standard deviation of the passage time of the particles (zero if type is of \texttt{MONITOR} is \texttt{TEMPORAL}\\

9 & rms\_px & 1 & Standard deviation of the x-component of the particles momenta \\

10 & rms\_py & 1 & Standard deviation of the y-component of the particles momenta \\

11 & rms\_ps & 1 & Standard deviation of the s-component of the particles momenta \\

...

...

@@ -298,7 +298,7 @@ This file is used to log the statistical properties of the bunch in the ASCII va

15 & mean\_x &{m}& X-component of mean position relative to reference particle\\

16 & mean\_y &{m}& Y-component of mean position relative to reference particle\\

17 & mean\_s &{m}& S-component of mean position relative to reference particle\\

18 & mean\_t &{\nano\second}& Mean time at which the particles pass\\

18 & mean\_t &{ns}& Mean time at which the particles pass\\

19 & ref\_x &{m}& X-component of reference particle in floor coordinate system\\

20 & ref\_y &{m}& Y-component of reference particle in floor coordinate system\\

21 & ref\_z &{m}& Z-component of reference particle in floor coordinate system\\

...

...

@@ -404,7 +404,7 @@ The trajectory of the reference particle is stored in this ASCII file. The conte

12 &{T}& Y-component of magnetic field at position\\

13 &{T}& Z-component of magnetic field at position\\