Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
list_command [2016/10/26 17:35]
johnsoevans
list_command [2017/03/31 17:05]
johnsoevans
Line 35: Line 35:
  
 You can easily automate refinements using the #list command and [[string_equations|string equations]]. ​ Just give the filenames in the #list command and use something like "​xdd ​ filename(Run_Number)"​. ​ You can add experimental information like time/​temperature/​etc in the #list command. You can easily automate refinements using the #list command and [[string_equations|string equations]]. ​ Just give the filenames in the #list command and use something like "​xdd ​ filename(Run_Number)"​. ​ You can add experimental information like time/​temperature/​etc in the #list command.
 +
 +For results files you can e.g. delete old files and write header lines with commands like the ones below. ​ If you backup only for run 0 then you won't get annoying screen "​flashes":​
 +
 +<code topas>#​if (Run_Number == 0)
 + ​Backup_INP
 + ​system_before_save_OUT ​ { del results.txt }
 + out "​results.txt"​ append ​
 + ​Out_String(" ​    ​01_range ​  ​02_temp ​   03_time ​      ​04_r_wp ​    ​05_height ​   06_err ​    ​07_bval ​    ​08_err ​  ​09_perc_cubic ​ \n"​) ​
 +#endif </​code>​
 +
 +
  

Personal Tools