mirror of https://github.com/abinit/abinit.git
135 lines
3.1 KiB
Plaintext
135 lines
3.1 KiB
Plaintext
|
|
nsym 1
|
|
|
|
ixc 7
|
|
|
|
nsppol 2
|
|
|
|
#ndtset 15 udtset 3 5
|
|
ndtset 10 udtset 2 5
|
|
|
|
#Definition of lattice parameters
|
|
#********************************
|
|
acell 8 5 5
|
|
xcart1? -1 0 0 1 0 0
|
|
xcart2? -0.99 0 0 1 0 0
|
|
xcart3? -1.01 0 0 1 0 0
|
|
|
|
ntime 100
|
|
nshiftk 1
|
|
shiftk 0.5 0.5 0.5
|
|
ngkpt 10 1 1
|
|
kptopt 2
|
|
|
|
|
|
#Definition of atomic positions and types
|
|
#*************************************
|
|
natom 2
|
|
ntypat 1
|
|
typat 2*1
|
|
znucl 2.0
|
|
|
|
cellcharge 1
|
|
occopt 2
|
|
occ *1 #not needed when occopt 1
|
|
nband 5*2 5*1
|
|
|
|
#Parameters of the SCF cycles
|
|
#****************************
|
|
# nstep 100
|
|
nstep 26
|
|
|
|
|
|
#Plane wave basis
|
|
#*********************************
|
|
ecut 17.0
|
|
|
|
diemac 1.0d0
|
|
diemix 1/3
|
|
|
|
ecutsm 0.5
|
|
dilatmx 1.05
|
|
|
|
#DATASET1 : scf calculation: GS WF in the BZ
|
|
#********************************************
|
|
prtden?1 1
|
|
kptopt?1 1
|
|
toldfe?1 1.0d-12
|
|
|
|
#DATASET2 : non scf calculation: GS WF in the whole BZ
|
|
#*****************************************************
|
|
getden?2 -1
|
|
kptopt?2 2
|
|
iscf?2 -2
|
|
getwfk?2 -1
|
|
tolwfr?2 1.0d-22
|
|
|
|
#DATASET3 : ddk on the MP grid of k-points
|
|
#*****************************************
|
|
getwfk?3 -1
|
|
rfelfd?3 2
|
|
tolwfr?3 1.0d-22
|
|
kptopt?3 2
|
|
|
|
#DATASET4 : ddE on the MP grid of k-points
|
|
#*****************************************
|
|
prtden?4 1
|
|
getwfk?4 -2
|
|
getddk?4 -1
|
|
rfphon?4 1
|
|
tolvrs?4 1.0d-22
|
|
rfelfd?4 3
|
|
kptopt?4 2
|
|
prepanl?4 1
|
|
|
|
#DATASET5 : 3DTE calculation
|
|
#***************************
|
|
|
|
getden?5 -4
|
|
get1den?5 -1
|
|
getwfk?5 -3
|
|
get1wf?5 -1
|
|
kptopt?5 2
|
|
optdriver?5 5
|
|
d3e_pert1_elfd?5 1
|
|
d3e_pert1_phon?5 1
|
|
d3e_pert1_atpol?5 1 1
|
|
d3e_pert1_dir?5 1 0 0
|
|
d3e_pert2_elfd?5 1
|
|
d3e_pert2_dir?5 1 0 0
|
|
d3e_pert3_elfd?5 1
|
|
d3e_pert3_dir?5 1 0 0
|
|
|
|
nbdbuf 0
|
|
d3e_pert1_dir 0 0 0 # For backward compatibility of tests only. Instead one should leave the default.
|
|
d3e_pert2_dir 0 0 0 # For backward compatibility of tests only. Instead one should leave the default.
|
|
d3e_pert3_dir 0 0 0 # For backward compatibility of tests only. Instead one should leave the default.
|
|
|
|
pp_dirpath "$ABI_PSPDIR"
|
|
pseudos "02he.bare"
|
|
|
|
#%%<BEGIN TEST_INFO>
|
|
#%% [setup]
|
|
#%% executable = abinit
|
|
#%% [files]
|
|
#%% files_to_test =
|
|
#%% t67.abo, tolnlines = 0, tolabs = 0.0, tolrel = 0.0
|
|
#%% [paral_info]
|
|
#%% max_nprocs = 1
|
|
#%% [extra_info]
|
|
#%% authors = Unknown
|
|
#%% keywords = NC, DFPT
|
|
#%% description =
|
|
#%% Charged (He dimer)+, with bare pseudopotential. ixc=7
|
|
#%% Compute Raman intensity, showing essentially perfect agreement
|
|
#%% between DFPT and finite-differences, when the number of k points
|
|
#%% is extended to infinity.
|
|
#%% The present test use ngkpt 10 1 1 , like the previous one.
|
|
#%% Going to ngkpt 80 1 1 gives
|
|
#%% Finite-differences: 0.022275
|
|
#%% The DFPT with ngkpt 320 1 1 gives 0.022279 .
|
|
#%% (To obtain the finite-difference results, one has to reactivate the dtset 15 case)
|
|
#%% Cannot be executed on more that 1 MPI proc due to different values of nband_k
|
|
#%% topics = nonlinear
|
|
#%%<END TEST_INFO>
|