abinit/tests/v8/Input/t28.abi

61 lines
2.0 KiB
Plaintext

# Hydrogen diatomic molecule for tests--constrained DFT
ndtset 5
#Constrained DFT
constraint_kind2 1 # Dataset 2 is constrained DFT for the collinear magnetization
constraint_kind3 11 # Dataset 3 is constrained DFT for the collinear magnetization and charge
constraint_kind4 3 # Dataset 4 is constrained DFT for the collinear magnetization amplitude
constraint_kind5 2 # Dataset 5 is constrained DFT for the collinear magnetization axis (actually not useful !)
#Constrained DFT data
magcon_lambda 2
spinat 0.0 0.0 0.70
0.0 0.0 -0.70
chrgat 2*0.0
#Definition of the atomic spheres
ratsph 2.0 2.0
ratsm 0.05
#System description
acell 15 10 10
ntypat 1
znucl 1.0
natom 2
typat 2*1
chksymtnons 3 # The default value for chksymtnons (which is 1) is not admitted in case of cDFT calculations.
nsppol 1 nspden 2 # Antiferromagnetic case
nband 1
xcart -1.1 0.0 0.0
1.1 0.0 0.0
#Computational parameters
tolwfr 1.0d-14
nstep 20
ecut 5
pp_dirpath "$ABI_PSPDIR"
pseudos "PseudosTM_pwteter/1h.pspnc"
#%%<BEGIN TEST_INFO>
#%% [setup]
#%% executable = abinit
#%% [files]
#%% files_to_test =
#%% t28.abo, tolnlines = 0, tolabs = 0.000e+00, tolrel = 0.000e+00
#%% [paral_info]
#%% max_nprocs = 1
#%% [extra_info]
#%% authors = X. Gonze
#%% references =
#%% keywords =
#%% description = H2 diatomic molecule, static, to check the constrained DFT implementation in case nspden=2 with sphere overlap
#%% DS2 Constrains the collinear magnetization around atom 1 to be +0.70 and around atom 2 to be -0.70
#%% DS3 Constrains the collinear magnetization around atom 1 to be +0.70 and around atom 2 to be -0.70, and the total charge of both to be 0.00.
#%% DS4 Constrains the collinear magnetization amplitude around atom 1 to be +0.70 and around atom 2 to be -0.70. Same result as DS2.
#%% DS5 and DS6 are not really useful, simply sanity checks for imposition of axis or direction of magnetization for collinear magnetism
#%%<END TEST_INFO>