parameter_dependences
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| parameter_dependences [2015/09/03 12:43] – created johnsoevans | parameter_dependences [2025/09/19 15:18] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Parameter Dependences ====== | ||
| + | For complex input files it can be difficult to track which prms feed into individual objects. | ||
| + | |||
| + | out_dependents_for $user_string | ||
| + | |||
| + | The idea is to tag objects and to then output independent parameters associated with the tagged object. For example, in a rigid body: | ||
| + | |||
| + | rigid | ||
| + | point_for_site Zr_1 ua = Zr_1_x; ub = Zr_1_y; uc = Zr_1_z; | ||
| + | point_for_site O1_1 ua = O1_1_x; ub = O1_1_y; uc = O1_1_z; | ||
| + | point_for_site O1_2 ua = O1_2_x; ub = O1_2_y; uc = O1_2_z; | ||
| + | point_for_site O1_3 ua = O1_3_x; ub = O1_3_y; uc = O1_3_z; | ||
| + | Rotate_about_points( =Zr_1_angdeg;, | ||
| + | out_dependents_for tag_1 rigid | ||
| + | |||
| + | we get in the standard output (i.e. the fit window) a list of independent refined parameters associated with the rigid body; ie. | ||
| + | |||
| + | | ||
| + | | ||
| + | prm_10 | ||
| + | prm_10 | ||
| + | prm_10 | ||
| + | prm_10 | ||
| + | prm_10 | ||
| + | prm_10 | ||
| + | prm_10 | ||
| + | prm_10 | ||
| + | prm_10 | ||
| + | |||
| + | |||
| + | Note, the object tagged in this case is the rigid body defined just before out_dependents_for. | ||
| + | |||
| + | There are many $object_name’s that are valid. | ||
| + | |||
| + | x, y, z, occ, beq, u11, u22, u33, u12, u13m u23, a, b, c, al, be, ga, etc… | ||
| + | |||
| + | In addition the following non-parameters can be tagged: | ||
| + | |||
| + | site, rigid, sites_restrain, | ||
| + | |||
| + | out_dependents_for works for ‘prm’ and ‘local’. Thus, if we had: | ||
| + | |||
| + | prm O1_3_dy | ||
| + | out_dependents_for O1_3_dy prm | ||
| + | |||
| + | Then the output would be: | ||
| + | |||
| + | out_dependents_for O1_3_dy prm | ||
| + | Object name followed by prm name | ||
| + | prm_10 | ||
| + | prm_10 | ||
| + | prm_10 | ||
| + | |||