Skip to content

Commit

Permalink
Add reference to spglib
Browse files Browse the repository at this point in the history
  • Loading branch information
juerghutter committed Nov 28, 2018
1 parent a5af04e commit c8a3410
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
14 changes: 13 additions & 1 deletion src/common/bibliography.F
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ MODULE bibliography
Becke1988b, Migliore2009, Mavros2015, Holmberg2017, Marek2014, &
Stoychev2016, Futera2017, Bailey2006, Papior2017, Lehtola2018, &
Brieuc2016, Barca2018, Scheiber2018, Huang2011, Heaton_Burgess2007, &
Schuett2018, Holmberg2018
Schuett2018, Holmberg2018, Togo2018

CONTAINS

Expand Down Expand Up @@ -3912,6 +3912,18 @@ SUBROUTINE add_all_references()
"ER"), &
DOI="10.1063/1.5038959")

CALL add_reference(key=Togo2018, ISI_record=s2a( &
"AU Togo, Atsushi", &
" Tanaka, Isao", &
"AF Togo, Atsushi", &
" Tanaka, Isao", &
"TI Spglib : a software library for crystal symmetry search", &
"SO arXiv", &
"PY 2018", &
"AR 1808.01590 ", &
"ER"), &
DOI="xxx")

END SUBROUTINE add_all_references

END MODULE bibliography
3 changes: 3 additions & 0 deletions src/cryssym.F
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@
! **************************************************************************************************
MODULE cryssym

USE bibliography, ONLY: Togo2018,&
cite_reference
USE kinds, ONLY: dp
USE spglib_f08, ONLY: &
spg_get_international, spg_get_ir_reciprocal_mesh, spg_get_major_version, &
Expand Down Expand Up @@ -167,6 +169,7 @@ SUBROUTINE crys_sym_gen(csym, scoor, types, hmat, delta, iounit)
CALL cp_warn(__LOCATION__, "Version of Symmetry Library SPGLIB not tested")
END IF
spglib = .TRUE.
CALL cite_reference(Togo2018)
ierr = spg_get_international(csym%international_symbol, TRANSPOSE(hmat), scoor, types, nat, delta)
IF (ierr == 0) THEN
CALL cp_warn(__LOCATION__, "Symmetry Library SPGLIB failed")
Expand Down

0 comments on commit c8a3410

Please sign in to comment.