saving_out_files_as_a_function_of_run_number
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
saving_out_files_as_a_function_of_run_number [2017/05/18 16:28] – created alancoelho | saving_out_files_as_a_function_of_run_number [2022/11/03 15:08] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Saving .out Files as a Function of Run Number ====== | ||
+ | --- // | ||
+ | |||
+ | There are two ways to save an INP file as a function of Run_Number: | ||
+ | |||
+ | |||
+ | 1) Using out_file as follows: | ||
+ | |||
+ | out_file = Concat(String(INP_File), | ||
+ | |||
+ | Concat is an equation function that concatenates strings; it can take any number of arguments. | ||
+ | |||
+ | |||
+ | 2) Using system_after_save_OUT | ||
+ | |||
+ | |||
+ | | ||
+ | { | ||
+ | copy INP_File## | ||
+ | } | ||
+ | |||
+ | or, if there are spaces in the INP_File | ||
+ | |||
+ | | ||
+ | { | ||
+ | copy Double_Quote## | ||
+ | } | ||
+ | |||
+ | Note, spaces in file names leads to complications. Double_Quote is a macro defined in TOPAS.INC. |