6.2.16. FILE STACK OPTION, [K]

next, previous Section / Table of Contents / Index [K] This option allows you to save and retrieve lattice structure data in a very efficient way using a file stack. This consists of 10 files 'stckFFFn.lat', n = 0,...9, which can hold up to 10 different definitions of lattice sections. The file stack menu K reads ========== STACK OPTIONS ========================================= Pointer at sp Stack file titles : 0 ( 1) Title of structure # 0 (up to 60 characters) 1 ( 2) Title of structure # 1 (up to 60 characters) 2 ( 3) Title of structure # 2 (up to 60 characters) -> 3 ( 0) ** stack file empty ** 4 ( 0) ** stack file empty ** ... 9 ( 0) ** stack file empty ** Select: [U]p [D]own [S]ave [0123456789]get [X]plot [?,]esc ============================================================ 72 == listing titles of all lattice sections which have been put on the stack so far. The n-th title (n = 0,...9) has been taken from a (LATUSE format) stack file 'stckFFFn.lat' in your working directory where the dummy title "** stack file empty **" indicates that file 'stkFFFn.lat' does not exist at present. The present stack pointer position sp, also indicated by an arrow "->" in the menu (sp = 3 in the above example), denotes the stack file 'stckFFFn.lat', n = sp, in which BALSAC will stack save the next lattice section. > [U]/[D] selected from submenu K moves the stack pointer up or down by one position allowing you to select the position for the next stack saving. When BALSAC is started the stack pointer is set at position sp = 0. > [S] selected from submenu K saves the structure/graphics data of the present BALSAC/LATTICE session at stack pointer position sp (position 3 above) updating the sp-th title line. This creates a stack file 'stckFFFn.lat', n = sp or, if the respective file exists, its content will be overwritten by the lattice section data. Then the stack pointer moves forward by one position sp -> sp+1 (moving from sp = 9 to sp = 0) and BALSAC returns to the main option menu. > [#] selected from submenu K where "#" stands for any of the position numbers 0 - 9 loads the respective structure/graphics data from the stack file overwriting the present lattice section definition. The loaded lattice section will then be plotted/listed depending on its graphics option. > [X] selected from submenu K plots the present lattice section (switching to graphics mode (DOS) or opening a graphics window (Unix)) or lists its atom coordinates depending on the plot/list mode defined in the graphics option, see Sec. 6.2.7. > [,] selected from submenu K returns to the BALSAC/LATTICE main option menu, see Sec. 6.2.0. Note that stack files will survive any BALSAC session (unless they are overwritten) and can be used also outside BALSAC. They will, however, be overwritten without a warning message in the stack saving process. The file stack can also be used in the option menu Replot[udlrV][rRpPmM+] analyze[Q] stack[LS] trnsf[T] qmen[O] sho[EI] [?,]esc after a plot/listing is finished, see Sec. 6.2.9. > [L] selected from the above menu allows you to load a new lattice section from the file stack. The restricted file stack menu K' reads ========== STACK OPTIONS ====================================== Pointer at sp Stack file titles : 0 ( 1) Title of structure # 0 (up to 60 characters) 1 ( 2) Title of structure # 1 (up to 60 characters) 2 ( 3) Title of structure # 2 (up to 60 characters) -> 3 ( 0) ** stack file empty ** 4 ( 0) ** stack file empty ** ... 9 ( 0) ** stack file empty ** Select: [0123456789]get [X]plot [?,]esc ========================================================= 73 == listing titles of all lattice sections which have been put on the stack so far and which can be retrieved. > > [#] selected from submenu K' where "#" stands for any of the position numbers 0 - 9 loads the respective structure/graphics data from the stack file overwriting the present lattice section definition. The loaded lattice section will then be plotted/listed depending on its graphics option. > > [X] selected from submenu K' plots the present lattice section again (switching to graphics mode (DOS) or opening a graphics window (Unix)) or lists its atom coordinates depending on the plot/list mode defined in the graphics option, see Sec. 6.2.7. > > [,] selected from submenu K' returns to the BALSAC/LATTICE main option menu, see Sec. 6.2.0. > [S] selected from the above menu allows you to save the structure/ graphics data of the present BALSAC/LATTICE session at stack pointer position sp completely analogous to option [S] in the file stack menu K above. However, if BALSAC is in graphics mode it will remain there allowing you to continue with other graphics options. Here stack saving has to be confirmed in the prompt Save structure on stack : [S]ave [?,]esc by selecting [S] while selecting [,] ignores stack saving and returns to the above menu. The stack file output may be inspected later by selecting the file stack option from the main option menu in text mode. next, previous Section / Table of Contents / Index