out_min_max
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| out_min_max [2009/08/06 11:08] – created clare | out_min_max [2025/09/19 15:18] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Out_min_max ====== | ||
| + | |||
| + | Description: | ||
| + | |||
| + | Why: Useful for controlling a refinement and stopping atoms moving to far | ||
| + | |||
| + | Contributed by: John Evans | ||
| + | |||
| + | <code topas> | ||
| + | macro Out_min_max(file) | ||
| + | { | ||
| + | out file | ||
| + | Out_String(" | ||
| + | Out_String(" | ||
| + | Out_String(" | ||
| + | |||
| + | atom_out file append | ||
| + | load out_record out_fmt out_eqn | ||
| + | { | ||
| + | " | ||
| + | " A1( x%s" = Get_From_String(Get(current_atom), | ||
| + | ", | ||
| + | " , | ||
| + | " | ||
| + | ", | ||
| + | " , | ||
| + | " | ||
| + | ", | ||
| + | " , | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | " | ||
| + | } | ||
| + | } | ||
| + | </ | ||