Skip to content

Commit 90594db

Browse files
committed
update VERSI/on and documentation.
1 parent a489d52 commit 90594db

File tree

3 files changed

+15
-3
lines changed

3 files changed

+15
-3
lines changed

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
VERSION = 5.07.00
22
VERSION_NUM = 50700
3-
VERSION_DATE = 2021.05.02
3+
VERSION_DATE = 2021.05.03

doc/latexuguide/error.tex

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,16 @@ \subsection{Permanent Misalignments}
101101
In case EALIGN and permanent misalignment are used togheter the values
102102
are added togheter component by component. The effect of the permanent misalignment
103103
is ignored by SURVEY by default but by adding the \text{PERM\_ALIGN\_SURVEY} the
104-
start and end location of each element is given.
104+
start and end location of each element is given. The permanent misalignemnt need to
105+
be defined in the creation of the sequence. An example is given below:
106+
\begin{verbatim}
107+
a=0.06;
108+
q1:quadrupole, l=1, k1=0.01;
109+
myseq: sequence, l=10;
110+
q1, at=5, dtheta=0.1, dphi=0.2, dpsi=0.3, dx=0.04, dy=0.05, ds:=a;
111+
endsequence;
112+
\end{verbatim}
113+
It is also possible to defined the permanet misalignments using defered expresions.
105114
%% \begin{figure}[ht]
106115
%% \centering
107116
%% \setlength{\unitlength}{1pt}

doc/latexuguide/survey.tex

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ \chapter{SURVEY}
1616
can be specified.
1717

1818
\madbox{
19-
SURVEY, \=SEQUENCE=string, FILE= string, \\
19+
SURVEY, \=SEQUENCE=string, FILE= string, PERM\_ALIGN\_SURVEY= logical\\
2020
\>X0=real, Y0=real, Z0=real, \\
2121
\>THETA0=real, PHI0=real, PSI0=real;}
2222

@@ -26,6 +26,9 @@ \chapter{SURVEY}
2626
last sequence expanded with the \texttt{USE} command will be surveyed.
2727
\ttitem{FILE} the name of external file to which the results are
2828
written.\\ (Default:~survey)
29+
\ttitem{PERM\_ALIGN\_SURVEY} If TRUE the output includes the permanent misalignments
30+
and the start of each element ends with a .ENT and the exit of each element with .EXI.
31+
\\ (Default:~FALSE)
2932
\ttitem{X0, Y0, Z0} the initial horizontal, vertical and longitudinal
3033
coordinates in meters.\\ (Default: 0.0, 0.0, 0.0)
3134
\ttitem{THETA0, PHI0, PSI0} the initial horizontal and vertical angles

0 commit comments

Comments
 (0)