Commit b8dcea68 authored by Gregor Michalicek's avatar Gregor Michalicek

Add warning for 'film + l_ss + no zrfs' because it is broken at the moment

parent d7cf928e
......@@ -8,7 +8,7 @@ MODULE m_checkInputParams
CONTAINS
SUBROUTINE checkInputParams(mpi,input,dimension,atoms,noco,xcpot,oneD,forcetheo)
SUBROUTINE checkInputParams(mpi,input,dimension,atoms,sym,noco,xcpot,oneD,forcetheo)
USE m_juDFT
USE m_types
......@@ -18,6 +18,7 @@ SUBROUTINE checkInputParams(mpi,input,dimension,atoms,noco,xcpot,oneD,forcetheo)
TYPE(t_input), INTENT(IN) :: input
TYPE(t_dimension), INTENT(IN) :: dimension
TYPE(t_atoms), INTENT(IN) :: atoms
TYPE(t_sym), INTENT(IN) :: sym
TYPE(t_noco), INTENT(IN) :: noco
CLASS(t_xcpot), INTENT(IN) :: xcpot
TYPE(t_oneD), INTENT(IN) :: oneD
......@@ -41,6 +42,10 @@ SUBROUTINE checkInputParams(mpi,input,dimension,atoms,noco,xcpot,oneD,forcetheo)
calledby = 'checkInputParams',hint='If you know what you do deactivate this stop.')
END SELECT
IF(input%film.AND.noco%l_ss.AND..NOT.sym%zrfs) THEN
CALL juDFT_warn("'film + spin spiral + no z reflection symmetry' is temporarily broken.", calledby="checkInputParams")
END IF
END SUBROUTINE checkInputParams
......
......@@ -340,7 +340,7 @@
sym%nsym = 2*sym%nop
END IF
CALL checkInputParams(mpi,input,dimension,atoms,noco,xcpot,oneD,forcetheo)
CALL checkInputParams(mpi,input,dimension,atoms,sym,noco,xcpot,oneD,forcetheo)
! Initializations for Wannier functions (start)
IF (mpi%irank.EQ.0) THEN
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment