abinit/tests/tutorespfn/Input/telast_2.abi

115 lines
4.2 KiB
Plaintext

#AlP in hypothetical wurzite (hexagonal) structure
#Response function calculation for:
# * rigid-atom elastic tensor
# * rigid-atom piezoelectric tensor
# * interatomic force constants at gamma
# * Born effective charges
ndtset 3
# Set 1 : Initial self-consistent run
kptopt1 1
tolvrs1 1.0d-18 #need excellent convergence of GS quantities for RF runs
# Set 2 : Calculate the ddk wf's - needed for piezoelectric tensor and
# Born effective charges in dataset 3
getwfk2 -1
iscf2 -3 #this option is needed for ddk
kptopt2 2 #use time-reversal symmetry only for k points
nqpt2 1 #one wave vector will be specified
qpt2 0 0 0 #need to specify gamma point
rfelfd2 2 #set for ddk wf's only
tolwfr2 1.0d-20 #only wf convergence can be monitored here
# Set 3 : response-function calculations for all needed perturbations
getddk3 -1
getwfk3 -2
kptopt3 2 #use time-reversal symmetry only for k points
nqpt3 1
qpt3 0 0 0
rfphon3 1 #do atomic displacement perturbation
rfstrs3 3 #do strain perturbation
tolvrs3 1.0d-10 #need reasonable convergence of 1st-order quantities
#Common input data
# acell COPY RELAXED RESULT FROM PREVIOUS CALCULATION
# Here is a default value, for automatic testing : suppress it and fill with values from the previous run
acell 7.2488954246E+00 7.2488954246E+00 1.1879499870E+01 Bohr
rprim sqrt(0.75) 0.5 0.0 #Better to specify hexagonal primitive vectors
-sqrt(0.75) 0.5 0.0 #with high accuracy to be
0.0 0.0 1.0 #sure that the symmetry is recognized
#and preserved in the optimization process
#Definition of the atom types and atoms
ntypat 2
znucl 13 15
natom 4
typat 1 1 2 2
# xred COPY RELAXED RESULT FROM PREVIOUS CALCULATION
# Here is a set of default values, for automatic testing : suppress it and fill with values from the previous run
xred 1/3 2/3 0
2/3 1/3 1/2
1/3 2/3 3.7517446813E-01
2/3 1/3 8.7517446813E-01
#Gives the number of bands, explicitely (do not take the default)
nband 8 # For an insulator (if described correctly as an
# insulator by DFT), conduction bands should not
# be included in response-function calculations
#Definition of the plane wave basis set
ecut 6.0 # Maximum kinetic energy cutoff (Hartree)
ecutsm 0.5 # Smoothing energy needed for lattice paramete
# optimization. This will be retained for
# consistency throughout.
#Definition of the k-point grid
kptopt 1 # Use symmetry and treat only inequivalent points
ngkpt 4 4 4 # 4x4x4 Monkhorst-Pack grid
nshiftk 1 # Use one copy of grid only (default)
shiftk 0.0 0.0 0.5 # This choice of origin for the k point grid
# preserves the hexagonal symmetry of the grid,
# which would be broken by the default choice.
#Definition of the self-consistency procedure
diemac 9.0 # Model dielectric preconditioner
nstep 40 # Maxiumum number of SCF iterations
# enforce calculation of forces at each SCF step
optforces 1
pp_dirpath "$ABI_PSPDIR"
pseudos "Psdj_nc_sr_04_pw_std_psp8/Al.psp8, Psdj_nc_sr_04_pw_std_psp8/P.psp8"
##############################################################
# This section is used only for regression testing of ABINIT #
##############################################################
#%%<BEGIN TEST_INFO>
#%% [setup]
#%% executable = abinit
#%% test_chain = telast_2.abi, telast_3.abi
#%% [files]
#%% files_to_test =
#%% telast_2.abo, tolnlines= 3, tolabs= 1.1e-3 , tolrel= 7.0e-4 , fld_options = -easy
#%% [paral_info]
#%% max_nprocs = 2
#%% [extra_info]
#%% authors = D. Hamann
#%% keywords = NC, DFPT
#%% description =
#%% AlP in hypothetical wurzite (hexagonal) structure
#%% Response function calculation for:
#%% * rigid-atom elastic tensor
#%% * rigid-atom piezoelectric tensor
#%% * interatomic force constants at gamma
#%% * Born effective charges
#%%<END TEST_INFO>