3.3.7. USING THE FILE STACK

next, previous Section / Table of Contents / Index There is an alternative way of saving and retrieving structure data in files using the file stack. After a plot is completed and BALSAC is still in graphics mode you can press [S] to save the present structure and graphics data on the file stack without leaving graphics. After you have confirmed stack save by pressing [S] in the prompt Save structure on stack : [S]ave [?,)esc all structure data will be saved starting at the first position (using an external file 'stckFFF0.lat' or 'stckFFF0.plt' depending on the session). You may press [S] again after some BALSAC manipulations which will save the structure data at the second position of the file stack (using file 'stckFFF1.lat' or stckFFF1.plt). This can go on until 10 data sets are saved after which any further saving will overwrite the first stack files. To retrieve the structure data from the stack you simply press [L] after a plot is completed. Now graphics disappears and the stack menu ========== STACK OPTIONS ================================================= Pointer at 3 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 ========================================================================== shows on the screen listing the titles of all structures contained in the stack (three in the above example). In addition, you see the present stack pointer position marked by an arrow "->". If you press one of the position numbers 0 - 9 (only 0 - 2 are meaningful above) BALSAC loads the respective structure/graphics data from the stack file (overwriting all present parameter values!) and generates a plot. This stack file option allows you to compare various structures in a straightforward and fast way. The stack files 'stckFFF#.lat' and 'stckFFF#.plt' (# = 0 - 9) used by BALSAC are true structure files of LATUSE and PLOT3D type format respectively and are conserved even after a BALSAC session is finished. So you can use them outside BALSAC and they are accessible in subsequent BALSAC sessions. You can access the stack option also from the main option menus of both BALSAC sessions by pressing [K]. Here an extended stack menu ========== STACK OPTIONS ================================================= Pointer at 3 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 [P]ut [0123456789]get [X]plot [?,]esc ========================================================================== shows which allows you to save the actual structure/graphics data at the present stack pointer position (position 3 above, press [P]), or to load structure/graphics data from position 0 - 9 (press [0] -[9]), or to move the stack pointer up and down (press [U], [D]). For further details see Secs. 6.2.16, 6.3.14). next, previous Section / Table of Contents / Index