I'm seeking clarification on the proper way to specify boolean values in INCAR files, say for the LHFCALC tag. I've noticed that while .TRUE. and T are commonly used and documented, it seems that "true" or "True" also works, as shown in the following INCAR file generated by pymatgen:
Code: Select all
ALGO = All
EDIFF = 0.0004
ENCUT = 520
HFSCREEN = 0.2
IBRION = 2
ICHARG = 1
ISIF = 3
ISMEAR = 0
ISPIN = 2
IVDW = 11
LASPH = True
LHFCALC = True
LMAXMIX = 4
LORBIT = 11
LREAL = Auto
LWAVE = False
MAGMOM = 2*-0.009 3*0.41 1*0.414 2*0.412
NELM = 100
NSW = 99
PREC = Accurate
PRECFOCK = Fast
SIGMA = 0.05
VDW_S8 = 0.109
VDW_SR = 1.129
1. Is using "true" or "True" instead of ".TRUE." or "T" for boolean values in INCAR files officially supported?
2. Is this behavior consistent across all VASP versions and all boolean tags?
3. Are there any potential issues or inconsistencies that might arise from using "true" or "True" instead of the standard ".TRUE." or "T"?
4. What is the recommended best practice for specifying boolean values in INCAR files?
I've looked through the documentation and searched the forum, but couldn't find a definitive answer on this specific usage. Any insights or official stance on this matter would be greatly appreciated.
Thank you for your time and expertise.
Best regards,
Zhao