Commit a7ff752f authored by Daniel Wortmann's avatar Daniel Wortmann

Bugfix nsld was not initialized if ndir.ne.-3

parent 36d9b292
......@@ -422,7 +422,7 @@ CONTAINS
8002 FORMAT (i3,f10.5,2 (5x,1p,2e16.7,i5),1p,2e16.7)
IF (input%film) vz0(:) = vz(vacuum%nmz,:)
nsld=1
!+q_sl
IF ((banddos%ndir.EQ.-3).AND.banddos%dos) THEN
IF (oneD%odi%d1) CALL juDFT_error("layer-resolved feature does not work with 1D",calledby ="cdnval")
......
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