Open LavendaRaphael opened 2 years ago
When I read the code src to find a solution, I found the following code to determine the cluster radius of cif. In RDINP/rdinp.f90
1869 line
mindist = min(dsqrt(a1(1)**2+a1(2)**2+a1(3)**2)*i1, dsqrt(a2(1)**2+a2(2)**2+a2(3)**2)*i1, dsqrt(a3(1)**2+a3(2)**2+a3(3)**2)*i1)
I don't understand why i1
, i1
, i1
here, and why not i1
, i2
, i3
like this?
mindist = min(dsqrt(a1(1)**2+a1(2)**2+a1(3)**2)*i1, dsqrt(a2(1)**2+a2(2)**2+a2(3)**2)*i2, dsqrt(a3(1)**2+a3(2)**2+a3(3)**2)*i3)
In addition, I made a small modification in rdinp.f90
to expand the cluster radius to include all atoms in one unit cell, which can temporarily solve the problem metioned above.
rdinp_mod.zip
Dear developers,
When I use a cif file with a larger structure as structure input, feff10 will fail with an error message (in
log1.dat
):I found that the reason is that when feff processes the cif file, it generates potentials for all atoms, which in my case is pot 0 to 16. But when it converts cif to
atom.dat
, its default cluster radius (approximately 16.9 angstroms) is smaller than my cif unit cell parameters, so some atoms are not included in the clusters generated inatom.dat
, It is the atomic type 15 in the error message. So when I commented the atom type 15 (Pt15) in the cif file, it worked well. Using webatoms to generate input files is also effective. I have attached all relevant files for reference. test.zipversion
FEFF 10.0.0
feffmpi
feff.inp
feff.cif