| 1 |
<atp -- Atoms Template File> |
| 2 |
<com> This file is part of the Atoms distribution. |
| 3 |
<com> Atoms is copyright (c) 1998-2006 Bruce Ravel |
| 4 |
<com> This is the atoms template file for a file of site formulas |
| 5 |
<com> Homepage: http://cars9.uchicago.edu/~ravel/software/ |
| 6 |
<com> |
| 7 |
<meta :precision 9.5 :file "site formulas file" :output "formulas"> |
| 8 |
<meta :feff 8 :sphere 2.2 :incbegin 0> |
| 9 |
|
| 10 |
<id :prefix "%% "> |
| 11 |
|
| 12 |
%% This file demonstrates the site formula feature of Atoms. It is my |
| 13 |
%% intention someday to use these to hook together Atoms and IFeffit, |
| 14 |
%% by auto-generating useful IFeffit scripts (or portions thereof). |
| 15 |
|
| 16 |
%% Take this file with a grain of salt -- there may still be bugs in |
| 17 |
%% the formula code. In particular, it seems only to work for |
| 18 |
%% orthogonal groups and it will give misleading results for alternate |
| 19 |
%% settings of orthorhombic and tetragonal groups. For non-orthogonal |
| 20 |
%% space groups, the formulas are only useful if the metric tensor is |
| 21 |
%% computed also. |
| 22 |
|
| 23 |
<titles :prefix "%% TITLE "> |
| 24 |
|
| 25 |
%% Cell parameters (<class>): |
| 26 |
|
| 27 |
set a0 = <a> |
| 28 |
set b0 = <b> |
| 29 |
set c0 = <c> |
| 30 |
set alpha0 = <alpha> |
| 31 |
set beta0 = <beta> |
| 32 |
set gamma0 = <gamma> |
| 33 |
|
| 34 |
%% Central atom formulas: |
| 35 |
|
| 36 |
set Xc = <fxc> |
| 37 |
set Yc = <fyc> |
| 38 |
set Zc = <fzc> |
| 39 |
|
| 40 |
%% the shift vector might be relevant: |
| 41 |
<shift :prefix "%% set "> |
| 42 |
|
| 43 |
%% Unique site coordinates: |
| 44 |
|
| 45 |
<list :style atoms> |
| 46 |
set x_<utag> = <x><n> set y_<utag> = <y><n> set z_<utag> = <z><n> |
| 47 |
|
| 48 |
|
| 49 |
%% ------------------------------------------------------------------------- |
| 50 |
<meta :list "cluster"> |
| 51 |
%% ATOMS * this list contains <nclus> atoms |
| 52 |
%% x y z distance # formulas (x,y,z)... |
| 53 |
<list :style cluster> |
| 54 |
% <x> <y> <z> <r> <inc> <fx> <fy> <fz> |