Commit 54851053 authored by Daniel Wortmann's avatar Daniel Wortmann

Update nocoInputCheck.F90 to warn against constraints and moment relaxation.

parent cbe6baf1
......@@ -86,6 +86,7 @@ MODULE m_nocoInputCheck
WRITE (6,*)'moment option has been switched on!!!'
! CALL juDFT_error("relaxation of moments and constraint are sw
ENDIF
if (l_relax_any.or.noco%l_constr) CALL judft_warn("Constraint moments and relaxations are untested in this version!")
!---> make sure that perp. component of mag. is calculated if needed
IF ( (l_relax_any .or. noco%l_constr) .and. (.not. noco%l_mperp) ) THEN
WRITE (6,*)'The relaxation of the moment is switched on for at'
......
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