|
17 | 17 | NOT_AVAILABLE_RUNTYPES = {"soc", "neb"} |
18 | 18 | ALL_RUNTYPES = SUPPORTED_RUNTYPES | NOT_AVAILABLE_RUNTYPES |
19 | 19 |
|
20 | | -METHODS = {"hf", "tdhf", "dftb"} |
| 20 | +METHODS = {"hf", "tdhf"} |
21 | 21 | SCF_TYPES = {"rhf", "rohf", "uhf"} |
22 | 22 | TDHF_TYPES = {"rpa", "tda", "sf", "mrsf", "umrsf"} |
23 | 23 | GUESS_TYPES = {"huckel", "hcore", "json", "auto", "pyscf", "sad", "sap"} |
|
37 | 37 |
|
38 | 38 | WIKI_HELP = { |
39 | 39 | "input.runtype": "Use energy, grad, hess, nac, nacme, optimize, meci, mecp, mep, ts, prop, or data. soc and neb are recognized but not implemented yet.", |
40 | | - "input.method": "Use method=hf for HF/DFT, method=tdhf for TDHF/TDDFT/SF/MRSF, or method=dftb for the optional external DFTB+ backend.", |
| 40 | + "input.method": "Use method=hf for HF/DFT and method=tdhf for TDHF/TDDFT/SF/MRSF runs.", |
41 | 41 | "input.system": "Set system to an XYZ file path or inline coordinates with one atom per indented line.", |
42 | 42 | "input.basis": "Set basis to a basis name, a comma-separated per-atom list, or library with tagged atoms and [input] library mappings.", |
43 | 43 | "scf.type": "RHF is for multiplicity 1 closed-shell references. SF/MRSF needs an open-shell reference, usually ROHF.", |
@@ -251,9 +251,6 @@ def _check_system(config: dict[str, Any], report: CheckReport) -> None: |
251 | 251 |
|
252 | 252 |
|
253 | 253 | def _check_basis(config: dict[str, Any], report: CheckReport) -> None: |
254 | | - if _as_lower(_get(config, "input", "method", "hf")) == "dftb": |
255 | | - return |
256 | | - |
257 | 254 | basis = _get(config, "input", "basis", "") |
258 | 255 | system = _get(config, "input", "system", "") |
259 | 256 | library = _get(config, "input", "library", "") |
@@ -1179,22 +1176,10 @@ def check_input_values( |
1179 | 1176 | "Unknown electronic structure method.", |
1180 | 1177 | value=method, |
1181 | 1178 | expected=", ".join(sorted(METHODS)), |
1182 | | - action="Choose hf, tdhf, or dftb.", |
| 1179 | + action="Choose hf or tdhf.", |
1183 | 1180 | wiki=WIKI_HELP["input.method"], |
1184 | 1181 | ) |
1185 | 1182 |
|
1186 | | - runtype = _as_lower(_get(config, "input", "runtype", "energy")) |
1187 | | - if method == "dftb" and runtype not in {"energy", "grad"}: |
1188 | | - report.add( |
1189 | | - "ERROR", |
1190 | | - "input.runtype", |
1191 | | - "DFTB+ backend currently supports runtype=energy or grad only.", |
1192 | | - value=runtype, |
1193 | | - expected="energy, grad", |
1194 | | - action="Use runtype=energy or runtype=grad for method=dftb.", |
1195 | | - wiki=WIKI_HELP["input.runtype"], |
1196 | | - ) |
1197 | | - |
1198 | 1183 | _check_system(config, report) |
1199 | 1184 | _check_basis(config, report) |
1200 | 1185 | _check_guess(config, report) |
|
0 commit comments