save line without nested lines

Moderators: cyao, michael_borland

Post Reply
blanco-garcia
Posts: 68
Joined: 29 Oct 2021, 10:41

save line without nested lines

Post by blanco-garcia » 05 Nov 2021, 08:44

Dear all,

I want to save the list of elements of a line without any nested line declaration.
is there a way to do it ?

I have tried the save_lattice function with output_seq=0 where all nested lines are preserved,
and output_seq = 1 where new nested lines are created.

Best regards,
oscar

michael_borland
Posts: 1927
Joined: 19 May 2008, 09:33
Location: Argonne National Laboratory
Contact:

Re: save line without nested lines

Post by michael_borland » 15 Nov 2021, 13:07

Oscar,

Presently, there is no way to do what you want. I'll look into it for a future version.

--Michael

michael_borland
Posts: 1927
Joined: 19 May 2008, 09:33
Location: Argonne National Laboratory
Contact:

Re: save line without nested lines

Post by michael_borland » 15 Nov 2021, 13:17

Oscar,

This turned out to be very easy. In the next version, slated for release this week, you'll be able to set output_seq=2 to get the entire lattice in a single line definition.

--Michael

blanco-garcia
Posts: 68
Joined: 29 Oct 2021, 10:41

Re: save line without nested lines

Post by blanco-garcia » 18 Nov 2021, 04:31

Dear Michael,

thank you very much for this option !

Best regards,
o

Post Reply