Skip to content

Commit

Permalink
1) Adjusted the threshold for the HP test to make it faster
Browse files Browse the repository at this point in the history
2) Added a test for PHonon+U with USPP for an insulator
  • Loading branch information
timrov authored and giannozz committed Dec 3, 2019
1 parent a5df604 commit 8070cab
Show file tree
Hide file tree
Showing 17 changed files with 4,811 additions and 267 deletions.
2 changes: 1 addition & 1 deletion test-suite/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ clean:
ph_*/dyna2F ph_*/elph.gamma* ph_*/gam.lines ph_*/lambda ph_*/lambda.dat \
ph_*/elph_dir ph_*/Al444.* ph_*/matdyn.modes ph_*/phonon.dos
@rm -rf ph_metal/aluminum.* ph_base/carbon.* ph_base/nickel.* ph_base/nickelpaw.* ph_base/silicon.* \
ph_metal_us_U/iron.*
ph_U_metal_us/iron.* ph_U_insulator_us/bn.*
# Cleaning HP final files
@rm -rf hp_*/HP hp_*/*hub* hp_*/*.xml hp_*/*.wfc* hp_*/*.save hp_*/*Hubbard_parameters*
# Cleaning EPW final files
Expand Down
7 changes: 6 additions & 1 deletion test-suite/README
Original file line number Diff line number Diff line change
Expand Up @@ -315,11 +315,16 @@ The following features of the code are tested:
- Calculation of phonon frequencies, phonon DOS, el-ph for a nonmagnetic metals, using NCPP

######################
# ph_metal_us_U : Fe #
# ph_U_metal_us : Fe #
######################
The following features of the code are tested:
- Calculation of phonon frequencies for a ferromagnetic metal, with Hubbard U

##########################
# ph_U_insulator_us : BN #
##########################
The following features of the code are tested:
- Calculation of phonon frequencies for a nonmagnetic insulator, with frac. translations, with Hubbard U

#################################################################################################
# HP tests
Expand Down
2 changes: 1 addition & 1 deletion test-suite/hp_insulator_paw_magn/CrI3.hp.in
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
nq1 = 1,
nq2 = 1,
nq3 = 1,
conv_thr_chi = 1.0d-4,
conv_thr_chi = 8.0d-3,
/
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
Hubbard U parameters:

site n. type label spin new_type new_label Hubbard U (eV)
1 1 Cr 1 1 Cr 4.1739
2 1 Cr 1 1 Cr 4.1739
1 1 Cr 1 1 Cr 4.1416
2 1 Cr 1 1 Cr 4.1416

=-------------------------------------------------------------------=

Loading

0 comments on commit 8070cab

Please sign in to comment.