out_cif_mag
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
out_cif_mag [2022/11/03 15:08] – external edit 127.0.0.1 | out_cif_mag [2025/06/13 12:50] (current) – johnsoevans | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Out_CIF_mag ====== | ====== Out_CIF_mag ====== | ||
+ | 13/6/2025 the macro below was created before magnetic cif formats were defined. | ||
+ | If it doesn' | ||
+ | |||
Output a CIF with components of magnetic moments along x, y and z. Note a temporary (18/7/2011) bug in magnetic version of topas means it's best to replace the " | Output a CIF with components of magnetic moments along x, y and z. Note a temporary (18/7/2011) bug in magnetic version of topas means it's best to replace the " | ||
Line 55: | Line 58: | ||
} | } | ||
}</ | }</ | ||
+ | | ||
+ | 2025 suggestion if vesta crashes is as follows. | ||
+ | |||
+ | <code topas> | ||
+ | Out_String(" | ||
+ | Out_String(" | ||
+ | Out_String(" | ||
+ | Out_String(" | ||
+ | Out_String(" | ||
+ | Out(Get(mag_sp_xyzs_txt), | ||
+ | </ | ||
+ | |||
+ | with: | ||
+ | |||
+ | <code topas> | ||
+ | Out_String(" | ||
+ | Out_String(" | ||
+ | Out_String(" | ||
+ | Out(Get(mag_sp_xyzs_txt_with_id), | ||
+ | </ | ||
+ | |||
+ | Then, in the resulting cif, this output section needs to be modified by removing the mx,my,mz sections and adding a comma between the x,y,z part and the time reversal operator. | ||
+ | |||
+ | For example, this: | ||
+ | |||
+ | <code topas> | ||
+ | loop_ | ||
+ | _space_group_symop_magn_operation.id | ||
+ | _space_group_symop_magn_operation.xyz | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | </ | ||
+ | |||
+ | becomes this: | ||
+ | |||
+ | <code topas> | ||
+ | loop_ | ||
+ | _space_group_symop_magn_operation.id | ||
+ | _space_group_symop_magn_operation.xyz | ||
+ | | ||
+ | | ||
+ | | ||
+ | | ||
+ | </ | ||
+ |
out_cif_mag.1667488126.txt.gz · Last modified: 2022/11/03 15:08 by 127.0.0.1