Commit a84b339f authored by Gregor Michalicek's avatar Gregor Michalicek

Fixed possible bug in setting the XC functional in r_inpXML

The problem was that the output variable namex wasn't set any more. Of course,
this variable is not used for most things but it is at least used in w_inpXML
which is called at several points in the code. At some point this variable
should be eliminated in the whole code.
parent 4ec6a5aa
......@@ -1106,6 +1106,7 @@ SUBROUTINE r_inpXML(&
! Read in xc functional parameters
valueString = TRIM(ADJUSTL(xmlGetAttributeValue(TRIM(ADJUSTL('/fleurInput/xcFunctional/@name')))))
namex(1:4) = valueString(1:4)
l_relcor = evaluateFirstBoolOnly(xmlGetAttributeValue('/fleurInput/xcFunctional/@relativisticCorrections'))
relcor = 'non-relativi'
......
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