Example of a comqum.dat
file
$title
CuS2N2 complex, BP/RI, SVP, 7/4-05
$weight_exafs
10000.0
$weight_qm
1.0
$norm_scale
0.25071102E-09
$exafs_gradients
internal
4
1 2
1 3
1 27
1 28
$g_step
1.0D-4
$double_sided_gradient on
$exafs_paths
256
3 1
3
1 1.9893000
3 1
28
1 1.9893000
3 1
2
1 2.2803000
3 1
27
1 2.2803000
3 1
21
1 2.9063000
3 1
34
1 2.9063000
...
5 1 2
5
28
1 7.1367000
5 1 27 42
3
1 7.1367000
5 1 2
5
3
1 7.1367000
5 1 27 42
28
1 7.1367000
$end
Alternative formats for $exafs_gradients:
- Cartesian
Cartesian gradients in the three Cartesian directions (x, y, z)
The list gives the atoms for which gradients should be calculated. It
can include the absorber(s), but it is normally better to use it to
correct the total sum of the forces, using the keyword correct
(followed either by the atom to give the negative sum of the forces, or
the number of atoms and (on the next line) a list of atoms to which the
resultant (divided by #atoms) should be added.
$exafs_gradients
cartesian
4
2 3 27 28
correct
1
1
- Internal
Internal gradients only along a bond.
The two numbers are the absorber and the ligand.
$exafs_gradients
internal
4
1 2
1 3
1 27
1 28
- Shell
Internal gradients only along several bonds.
The first number is the number of atoms in the shell.
The second is the absorber.
The final numbers are the ligand.
The same internal gradient is added to all ligand atoms and the
negative of their
vector sum to the absorber in each shell.
$exafs_gradients
shell
2
2 1 2 3
2 1 27 28
- Test
Runs both shell and cartesian to check if cartesian is needed.
The format is the same as for shell and the program decides itself for
which atoms Cartesian gradients should be calculated.
$exafs_gradients
test
4
1 1 2
1 1 3
1 1 27
1 1 28
Note that all atom numbers are in the order of the atoms in the control
file (not in the feff.inp file).
Example of a temp.iff file
# This file was automatically
generated by IffWtIn
# npath = 342 > 256
# Only 256 paths with amprat > 4.13 were
included
log(exafs_grad.out)
read_data(../inter_rdb4.chi,type=raw,group=init)
kmin= 2.00,kmax=16.25,dk=2,kweight=3
rmin= 1.00,rmax= 6.00
fftf(init.2)
set s02 = 0.900
guess e0 = 2.
set del1 = 0.0000431
path(
1,feff=../feff0001.dat,s02=s02,e0=e0,sigma2=0.00494,delr=del1
,degen= 1)
set del2 = 0.0000431
path(
2,feff=../feff0001.dat,s02=s02,e0=e0,sigma2=0.00494,delr=del2
,degen= 1)
set del3 = -0.0000367
path(
3,feff=../feff0002.dat,s02=s02,e0=e0,sigma2=0.00487,delr=del3
,degen= 1)
set del4 = -0.0000367
path(
4,feff=../feff0002.dat,s02=s02,e0=e0,sigma2=0.00487,delr=del4
,degen= 1)
set del5 = 0.0000118
path(
5,feff=../feff0003.dat,s02=s02,e0=e0,sigma2=0.00803,delr=del5
,degen= 1)
set del6 = 0.0000118
path(
6,feff=../feff0003.dat,s02=s02,e0=e0,sigma2=0.00803,delr=del6
,degen= 1)
...
set del337 = -0.5388783
path(
337,feff=../feff0098.dat,s02=s02,e0=e0,sigma2=0.02490,delr=del337,degen=
1)
set del338 = -0.5388783
path(
338,feff=../feff0098.dat,s02=s02,e0=e0,sigma2=0.02490,delr=del338,degen=
1)
ff2chi(1-342,group=ff)
fftf(ff.chi)
feffit(chi=init.2,1-342,group=fit,kweight=3)
#newplot(device="/cps",init.r,init.chir_mag=7,,xmax=7,file="exafs.ps")
#plot(device="/cps",fit.r,fit.chir_mag,xmax=7)
#plot(charfont=2,device="/cps",title="Title")
#plot(charfont=2,device="/cps",xlabel="R(\A)",ylabel="FT Magnitude")
#newplot(init.r,init.chir_mag,xmax=7)
#plot(fit.r,fit.chir_mag,xmax=7)
show kmin, kmax, rmin, rmax
show @variables
show chi_square, chi_reduced, r_factor
show n_idp, &fit_iteration
log(close)
quit