Hi,
I have a lattice file with a collimator defined as
VS: rcol, XMAX=0.0001
in my .ele file I try to change XMAX via the alter command
&alter_elements
name = VS,
item = "xmax"
value = 0.001
&end
and got the error message "Error: element VS does not have parameter xmax". I have vainly tried various ways (no "", capitalized vs uncapitalized for xmax in the item line).
Thank you for your help, -- Philippe.
changing RCOL parameter with alter_elements command
Moderators: cyao, michael_borland
-
- Posts: 83
- Joined: 20 Aug 2008, 13:18
- Location: Northern Illinois University & Argonne National Laboratory
- Contact:
-
- Posts: 1951
- Joined: 19 May 2008, 09:33
- Location: Argonne National Laboratory
- Contact:
Re: changing RCOL parameter with alter_elements command
Philippe,
The problem is that when using alter_elements, you need to give the exact name of the parameter, "X_MAX". The lattice parser will accept XMAX, but other routes of changing parameters need to use the exact name as given on the manual page.
--Michael
The problem is that when using alter_elements, you need to give the exact name of the parameter, "X_MAX". The lattice parser will accept XMAX, but other routes of changing parameters need to use the exact name as given on the manual page.
--Michael