### `system` (3 keys)

| key | default | meaning |
|---|---|---|
| `charge` | `0.0` | Total molecular charge. |
| `unpaired_electrons` | `0.0` | N_alpha - N_beta of the whole system, rounded to an integer. With moment_mode: variable it is only the starting value. |
| `units` | `bohr` | Units of atomic positions: bohr or angstrom (also ang, angs). |

### `functional` (25 keys)

| key | default | meaning |
|---|---|---|
| `backend` | `inhouse` | inhouse (built-in Slater, VWN5, PW92, PBE, SCAN family) or libxc (any libxc functional by its exact name). |
| `exchange` | `(empty)` | inhouse: slater, pbe, scan, rscan, rppscan, r2scan, r4scan or none. libxc: the exact libxc name, e.g. GGA_X_PBE, or a combined hybrid name such as HYB_GGA_XC_B3LYP. |
| `correlation` | `(empty)` | inhouse: vwn5, pw92 (Perdew-Wang 1992 LDA, as in UTEP-NRLMOL/FLOSIC), pbe, scan, rscan, rppscan, r2scan, r4scan or none. libxc: the exact libxc name, or none (required) when exchange is a combined XC functional. |
| `local_hybrid` | `(empty)` | Local hybrid: tw_t (mixing function a=b tau_W/tau), constant (a=b, a global hybrid) or the preset lh07t-svwn. exchange then names the semilocal exchange part. |
| `lh_b` | `kind default` | Parameter b of the mixing function (tw_t: 1; constant: required). |
| `lh_spin` | `resolved` | resolved (a_sigma from each spin's own rho_sigma, tau_sigma) or common (a from the total quantities). Identical for closed shells. |
| `lh_screen_tol` | `1e-10` | Screening threshold of the seminumerical exact-exchange engine; 0 switches screening off. |
| `lh_engine` | `seminumerical` | seminumerical (any Coulomb method) or poisson (needs coulomb: method: poisson; 3-5 times slower, no analytic gradient). |
| `exchange_scale` | `1` | Factor on the whole semilocal exchange (composed and double hybrids). |
| `b88_beta` | `-1.0e0` | b88_beta > 0 (libxc backend): replaces the beta of libxc's GGA_X_B88 (Becke's 0.0042) in EVERY evaluation of that functional -- the DFA exchange and the orbital self-exchange of a SIC alike (LSIC-B(beta')PW91 needs both to use the same beta'). |
| `correlation_scale` | `1` | Factor on the whole semilocal correlation. |
| `exx_fraction` | `backend value` | Global exact-exchange fraction c_x; replaces the value libxc reports. Needs a DFT functional. |
| `pt2_os` | `0` | Opposite- and same-spin coefficients of the PT2 correlation added after the SCF (double hybrids). Both 0: no PT2. Without a functional the reference is HF, i.e. (SCS-)MP2. |
| `pt2_ss` | `0` | Opposite- and same-spin coefficients of the PT2 correlation added after the SCF (double hybrids). Both 0: no PT2. Without a functional the reference is HF, i.e. (SCS-)MP2. |
| `pt2_engine` | `ri` | ri (density fitting) or conventional (exact ERIs, memory n_ basis^4; small systems only). |
| `pt2_aux_basis_file` | `coulomb: aux_basis_file` | RI fitting basis of the ri engine (NWChem format). Use a correlation-fitting set such as cc-pVTZ-RI; J-fitting sets are not accurate enough. |
| `pt2_on_sic` | `false` | Experimental: allow the PT2 on SIC orbitals (see below). |
| `dispersion` | `none` | DFT-D3 correction: d3zero (zero damping) or d3bj (Becke-Johnson damping). |
| `dispersion_functional` | `-` | Functional name for the built-in D3 parameters in Grimme's spelling (b3-lyp, pbe, pbe0, b2-plyp, b-p, tpss, hf, ...), not the libxc name. |
| `d3_s6` | `built-in` | Override the damping parameters (a_1=r_s6, a_2=r_s8; zero damping defaults a_2=1, alpha=14; alpha unused for BJ). Without dispersion_functional, s_6, s_8, a_1 (and a_2 for BJ) are required. |
| `d3_s8` | `built-in` | Override the damping parameters (a_1=r_s6, a_2=r_s8; zero damping defaults a_2=1, alpha=14; alpha unused for BJ). Without dispersion_functional, s_6, s_8, a_1 (and a_2 for BJ) are required. |
| `d3_a1` | `built-in` | Override the damping parameters (a_1=r_s6, a_2=r_s8; zero damping defaults a_2=1, alpha=14; alpha unused for BJ). Without dispersion_functional, s_6, s_8, a_1 (and a_2 for BJ) are required. |
| `d3_a2` | `built-in` | Override the damping parameters (a_1=r_s6, a_2=r_s8; zero damping defaults a_2=1, alpha=14; alpha unused for BJ). Without dispersion_functional, s_6, s_8, a_1 (and a_2 for BJ) are required. |
| `d3_alpha` | `built-in` | Override the damping parameters (a_1=r_s6, a_2=r_s8; zero damping defaults a_2=1, alpha=14; alpha unused for BJ). Without dispersion_functional, s_6, s_8, a_1 (and a_2 for BJ) are required. |
| `pt2_frozen_core` | `0` | Lowest occupied orbitals per spin left out of the PT2. |

### `basis` (2 keys)

| key | default | meaning |
|---|---|---|
| `name` | `DEFAULT` | Label for printing only. |
| `file` | `(empty)` | NWChem-format basis file (as exported by the Basis Set Exchange). Each element present is read once and its shells are placed on every atom of that element. |

### `ecp` (1 keys)

| key | default | meaning |
|---|---|---|
| `file` | `(empty)` | NWChem-format ECP file. Used for atoms whose core is not ALL (e.g. core: ECP); see ecp_reference/ and examples/cu2. |

### `mesh_default` (4 keys)

| key | default | meaning |
|---|---|---|
| `nrpt` |  | radial points per atom (default mesh for every atom without its own mesh) |
| `lm` |  | Lebedev angular order of the default mesh |
| `alp_n` |  | radial mapping scale of the default mesh |
| `m_n` |  | radial mapping exponent of the default mesh |

### `mesh` (2 keys)

| key | default | meaning |
|---|---|---|
| `cell_func` | `becke2` | Fuzzy-cell partitioning of the molecular grid: becke1, becke2, becke3 or franchini. |
| `prune` | `auto` | Angular pruning of the molecular (XC) grid. auto: nwchem for built-in table meshes, none for meshes with an explicit lm. nwchem: the NWChem/PySCF scheme, which lowers the Lebedev order near the nucleus and far out. It roughly halves the grid. |

### `scf` (31 keys)

| key | default | meaning |
|---|---|---|
| `max_iter` | `100` | Maximum SCF iterations. |
| `stability` | `auto` | Stability analysis after convergence: auto (open-shell plain HF/DFT with N_alpha!= N_beta), true or false (sec:stability). |
| `stability_max_cycles` | `5` | Maximum number of restarts along unstable modes. |
| `inner_output` | `summary` | Output of the SCFs at optimization steps and displaced geometries: summary (one line per SCF) or full. The first SCF is always printed in full. |
| `efield` | `0 0 0` | Uniform static electric field F (a.u.) on the electrons, h+= F. r (the energy contains - F.mu). Energy runs only: the nuclear gradient has no field terms, so tasks that need it refuse a nonzero field. |
| `conv_tol` | `1e-8` | Converged when both the mixing error (DIIS commutator or Broyden residual norm) and /Delta E_ total/ are below this value. |
| `level_shift` | `0` | Virtual-orbital level shift (Ha). Helps near-degenerate systems converge (e.g. 0.3 for Cu_2 with ECPs). In noncollinear runs it switches itself off once the DIIS error is below 1e-3. |
| `print_energies` | `false` | Print the energy breakdown every iteration. |
| `evalues_log_file` | `evalues.log` | File with the alpha and beta eigenvalues, occupations, HOMO, LUMO and gap of every SCF iteration (every SCF of the run is numbered). Emptied at the start of each run; '' disables it. |
| `evalues_max_virtual` | `10` | Empty levels per spin listed in that file. |
| `grid_block_size` | `500` | Upper limit of grid points per block. Does not change results; rarely needs tuning. |
| `incremental_fock` | `false` | Build J/K from the density change on the ERI path (sec:incremental). |
| `use_libcint_eri` | `false` | Use libcint for the ERI shell-quartet builds (eri Coulomb, exact exchange, SIC ERI builds): 5-7 times faster Fock builds, 1.3-1.9 times faster runs. Needs the libcint build; an ordinary binary stops with an error. |
| `mode` | `collinear` | collinear or noncollinear (sec:noncollinear). |
| `spin_orbit` | `false` | Spin-orbit coupling in the noncollinear SCF (sec:soc-scf). Needs mode: noncollinear. |
| `soc_scale` | `1.0` | Factor on the spin-orbit operator. |
| `constrain_axis` | `[0,0,0]` | Hold the total moment along this direction with a penalty; zero vector = off (sec:soc-scf). |
| `constraint_lambda` | `0.1` | Penalty strength lambda (Ha). |
| `constrain_moment` | `0` | >0: also hold the magnitude M_0 (mu_B), penalty lambda/ M-M_0 e/^2. |
| `initial_guess` | `atomic_potential_fit` | atomic_potential_fit, sad or core_hamiltonian (sec:initial-guess). |
| `moment_mode` | `fixed` | fixed, variable, fixed_occupation or mom (sec:moment-mode). |
| `restart` | `none` | Checkpoint file: none, write (save the converged orbitals), read (start from a checkpoint; error if missing or incompatible) or readwrite (read if present, always write). |
| `restart_file` | `automatic` | Checkpoint path. By default a name that encodes geometry and basis, in scratch_dir (else DFTSW_SCRATCH, SCRATCH or TMPDIR). |
| `scratch_dir` |  |  |
| `restart_save_to` |  |  |
| `restart_cleanup` | `false` |  |
| `restart_fock` | `false` | restart_fock: on read, also seed DIIS with the checkpoint's last (Fock, density) pair (mod_scf.F90's scf_warm_start_t%FOCK). |
| `restart_project` | `false` | run's, project its occupied orbitals onto the current basis instead of refusing (mod_restart.F90's project_restart_orbitals). Needs an explicit restart_file (the automatic name encodes geometry + basis). |
| `restart_every` | `0` | restart_every: with restart=write/readwrite, also write the checkpoint every this many SCF iterations (0 = only at the end), so a killed or timed-out job can be resumed. The final write overwrites it. |
| `occ_alpha` | `(none)` | 1-based alpha orbital positions to occupy. Required for fixed_occupation and mom. |
| `occ_beta` | `(none)` | Same for the beta channel. |

### `mixing` (4 keys)

| key | default | meaning |
|---|---|---|
| `method` | `diis` | diis (Pulay DIIS) or broyden (Johnson's modified Broyden). DIIS is the best-tested choice. |
| `broyden_target` | `hamiltonian` | With broyden: hamiltonian (mix the Fock matrix, then diagonalize) or density (diagonalize, then mix the density). |
| `broyden_alpha` | `0.15` | Broyden mixing parameter. |
| `broyden_max_vecs` | `8` | Broyden history length. |

### `coulomb` (24 keys)

| key | default | meaning |
|---|---|---|
| `method` | `see above` | eri (exact integrals), poisson (numerical Poisson solver), analytic (closed-form Hartree potential on the grid) or density_fitting (RI-J; exact exchange by RI-K, so HF uses no four-index ERIs). With eri, poisson and analytic, exact exchange uses ERIs. |
| `aux_basis_file` | `(empty)` | NWChem-format auxiliary basis. Required for density_fitting (and for density-fitted SIC self-Coulomb and TDDFT coulomb: ri). |
| `density_fitting_direct` | `auto` | true: do not store the three-centre tensor (recompute it each J build; J only). false: store it. auto: direct for noncollinear runs, stored otherwise. Stored is about 100 times faster per build; |
| `ri_exchange` | `true` | Noncollinear runs with density_fitting: spinor RI-K exchange (false: ERI exchange). |
| `rad_sol` | `hybrid` | Poisson radial-solution method. |
| `farfield` | `true` | Use the far-field multipole expansion in the Poisson solver. |
| `np` | `2` | Poisson near-field expansion order. |
| `ilm_tol` | `1e-10` | Poisson multipole-moment truncation tolerance. |
| `sic_l_tol` | `1e-8` | Batched orbital-density (SIC) Poisson solves: high-l terms of the reconstructed potential bounded below this (Ha per orbital and atom) are dropped; 0 keeps the full expansion. |
| `sic_ao_cache_mb` | `-1` | Memory budget (MB) for keeping basis-function values on the Poisson mesh between batched SIC solves; <0: a quarter of the free memory, 0: no cache. |
| `lm` | `0` | Poisson expansion order for every atom (0: the coarse order of the built-in table, else the mesh lm). |
| `charge_screen` | `false` | Subtract the neutral free-atom densities before the Poisson solve and add their exact potential back. Improves the potential at high lm for about 40% more cost; no effect on SCF energies seen so far. Ignored with ECP atoms. |
| `poisson_check` | `false` | After the SCF, compare the Poisson Hartree potential with the exact one at every grid point and print the error by distance from the nearest atom. |
| `exchange` | `eri` | Source of exact exchange (HF, global hybrids): eri (the default route of method: ERIs, or RI-K with density_fitting), cosx (chain-of-spheres, any method; sec:cosx) or, with method: poisson only, numerical (orbital-pair Poisson solves). |
| `exchange_tol` | `1e-8` | Numerical exchange: skip grid blocks where both orbitals are below this value. |
| `cosx_screen_tol` | `1e-10` | COSX integral screening threshold. Looser values make K noisy and stall the SCF; keep the default. |
| `cosx_overlap_fit` | `true` | COSX overlap fitting (Izsak-Neese). |
| `cosx_incremental` | `true` | COSX: build K(D_n-D_n-1) and accumulate. |
| `cosx_rebuild_every` | `8` | COSX: full K build every n iterations. |
| `cosx_final_grid` | `true` | COSX: re-evaluate the exchange energy of the converged density on the larger final grid. |
| `cosx_lm` | `0` | COSX SCF grid: Lebedev order and radial points for every atom (0: built-in per-element values). |
| `cosx_nrpt` | `0` | COSX SCF grid: Lebedev order and radial points for every atom (0: built-in per-element values). |
| `cosx_final_lm` | `0` | The same for the final grid. |
| `cosx_final_nrpt` | `0` | The same for the final grid. |

### `job` (1 keys)

| key | default | meaning |
|---|---|---|
| `task` | `energy` | energy / gradient (also dE/dR_A for every atom) / optimize (minimize the energy) / frequencies (harmonic analysis at the input geometry) / opt_freq (optimize, then frequencies) / raman (frequencies, then Raman activities) / opt_raman (optimize first) / ts ... |

### `gradient` (2 keys)

| key | default | meaning |
|---|---|---|
| `method` | `analytic` | analytic / numerical (central differences of the SCF energy). |
| `step` | `0.002` | Displacement (bohr), numerical only. |

### `optimization` (16 keys)

| key | default | meaning |
|---|---|---|
| `max_iter` | `100` | Maximum gradient evaluations. |
| `max_force` | `4.5e-4` | Converged when the largest /dE/dR/ (Ha/bohr)... |
| `rms_force` | `3.0e-4` | ... its RMS... |
| `max_step` | `1.8e-3` | ... the largest component of the next step (bohr)... |
| `rms_step` | `1.2e-3` | ... and its RMS are all below threshold (Gaussian's defaults), or both force criteria are 100 times below threshold. |
| `trust_radius` | `0.3` | Initial trust radius (bohr, length of the whole step). |
| `max_trust` | `1.0` | Upper limit of the trust radius. |
| `hessian` | `lindh` | Starting Hessian: lindh (model Hessian) / unit. |
| `trajectory_file` | `(none)` | Multi-frame XYZ file (A) of every accepted geometry with its energy (Molden, Jmol, VMD, ASE). |
| `force_trajectory_file` | `opt_traj_forces.xyz` | Extended XYZ (ASE, OVITO) of every accepted geometry: positions (A), forces -dE/dR (Ha/bohr), energy (Ha), max and RMS force. '' disables. |
| `final_geometry_file` | `geom_final.xyz` | XYZ file (A) of the final geometry. '' disables. |
| `final_fod_file` | `fod_opt.dat` | SIC: the FODs at the final geometry (fod_file format). '' disables. |
| `coordinates` | `internal` | internal (redundant internal coordinates) / cartesian. |
| `constraints` | `(none)` | One line, items separated by ;: distance i j [value], angle i j k [value], dihedral i j k l [value], freeze i [j ...]. Distances in the input's units, angles in degrees; without a value the starting value is held. Internal coordinates only. |
| `ts_mode` | `1` | TS search and IRC: Hessian eigenvector (ascending eigenvalue) followed uphill at the start. |
| `hessian_recalc` | `0` | TS search: recompute the Hessian every N steps (0: only at the start; Bofill updates in between). |

### `frequencies` (6 keys)

| key | default | meaning |
|---|---|---|
| `step` | `0.005` | Displacement (bohr) for numerical Hessians. |
| `temperature` | `298.15` | Temperature (K) for the thermochemistry. |
| `pressure` | `101325` | Pressure (Pa). |
| `symmetry_number` | `1` | Rotational symmetry number sigma (2 for H_2O and CO_2, 3 for NH_3, 12 for CH_4 and benzene). Not detected automatically; it changes only S_ rot and G. |
| `molden_file` | `(none)` | Molden file with the normal modes, for animation. |
| `hessian` | `auto` | auto (analytic when available, else numerical) / analytic / numerical (central differences of the gradient). Also used for TS searches and IRC. |

### `raman` (6 keys)

| key | default | meaning |
|---|---|---|
| `field_step` | `0.002` | Field step h (a.u.) of the finite-field polarizability. |
| `mode_step` | `0.01` | Displacement (bohr) along each unit-norm normal mode. |
| `laser_nm` | `532` | Excitation wavelength (nm) for the relative intensities. |
| `polarizability` | `auto` | auto (analytic where supported) / analytic / finite_field. |
| `min_frequency` | `50` | Modes below this (cm^-1) are skipped. |
| `file` | `(none)` | Table: mode, frequency, activity, depolarization ratio, relative intensity. |

### `irc` (10 keys)

| key | default | meaning |
|---|---|---|
| `step` | `0.1` | Arc length of the first (adaptive) or every step, amu^1/2 bohr. |
| `max_points` | `20` | Points per direction. |
| `adaptive` | `true` | Adapt the step to the path curvature and the distance to the minimum. |
| `min_step` | `0.02, 0.4` | Bounds of the adaptive step. |
| `max_step` | `0.02, 0.4` | Bounds of the adaptive step. |
| `trajectory_file` | `(none)` | Multi-frame XYZ of the path, backward end -> TS -> forward end. |
| `optimize_ends` | `false` | Minimize both path ends afterwards (reactant and product, barrier heights). |
| `projected_frequencies` | `false` | Reaction-path Hamiltonian along the path: projected frequencies, zero-point energy, adiabatic potential, curvature (an SCF, gradient and Hessian per point). |
| `frequency_stride` | `1` | Use every n-th path point (and the ends). |
| `rph_file` | `(none)` | Table of s, E, ZPE_, , projected frequencies and curvature couplings. |

### `md` (45 keys)

| key | default | meaning |
|---|---|---|
| `dt` | `20` | Time step (a.u.; 1 a.u. = 0.0242 fs). |
| `steps` | `100` | Number of steps. |
| `temperature` | `0` | Maxwell-Boltzmann start at this temperature (K); 0: start at rest. |
| `seed` | `1` | Seed of the random velocities. |
| `velocities_file` | `(none)` | Initial velocities instead: one line vx vy vz (bohr/a.u.) per atom. |
| `remove_rotation` | `true` | Remove the angular momentum (the linear momentum is always removed). |
| `output` | `md` | Prefix of _energy.dat, _traj.xyz and .mdrestart. |
| `print_every` | `1` | Progress line every N steps (the energy file has every step). |
| `checkpoint_every` | `0` | Write <output>.mdrestart (Ehrenfest: <output>.ehrestart) every N steps. |
| `restart` | `false` | Continue from the checkpoint for steps more steps. |
| `method` | `bomd` | bomd (Born-Oppenheimer: SCF and gradient every step) / ehrenfest (real-time TDDFT electrons with the mean-field force on the nuclei; LDA/GGA with coulomb: eri or density_fitting, global and range-separated hybrids and HF with density_fitting; |
| `field` | `none, 1e-3, z` | Ehrenfest: kick excites the electrons at t=0 (delta kick of strength kick along axis or direction: x y z); |
| `kick` | `none, 1e-3, z` | Ehrenfest: kick excites the electrons at t=0 (delta kick of strength kick along axis or direction: x y z); |
| `direction` |  | ehrenfest: kick / field direction (axis: x/y/z or direction: x y z) |
| `amplitude` | `1.0e-3` | ehrenfest: pulse / cw amplitude (a.u.) |
| `omega` | `0.3e0` | ehrenfest: pulse / cw frequency (a.u.) |
| `t0` | `20.0e0` | ehrenfest: pulse centre (a.u.) |
| `sigma` | `5.0e0` | ehrenfest: pulse width (a.u.) |
| `ramp` | `0.0e0` | ehrenfest: cw sin^2 switch-on time (a.u.; 0 = sudden) |
| `amplitude2` |  | ehrenfest: second pulse (field: pulse2) |
| `omega2` |  |  |
| `t0_2` |  |  |
| `sigma2` |  |  |
| `axis2` |  |  |
| `corrector_iterations` | `1` | Ehrenfest: corrector rounds per electronic step (>=1; one Fock build each plus the predictor's). |
| `substeps` | `1` | Ehrenfest: electronic steps per nuclear step (electronic step dt/substeps, 0.2 a.u.); one geometry update and one force per nuclear step. E.g. dt: 2, substeps: 10. |
| `propagator` | `expm` | ehrenfest: electronic propagator 'expm' (exact exponential) / 'cranknic' (Crank-Nicolson / Cayley) |
| `populations` | `0` | Ehrenfest: write the occupations of the N lowest adiabatic Kohn-Sham orbitals per spin and the number of excited electrons to <output>_populations.dat every step. |
| `sic_potential` | `kli` | Ehrenfest with SIC (sic: solver: kli): kli / exact (see below); with solver: jacobi see below (default variational). |
| `corrector_tol` | `0` | Ehrenfest: >0 repeats the corrector until the Hamiltonian changes by less than this (at most corrector_iterations rounds); SIC default 1e-8, 30 rounds. |
| `sic_fd_step` | `1.0e-3` | ehrenfest with SIC: bohr, central differences of the SIC energy for the SIC force |
| `sic_force` | `analytic` | ehrenfest with SIC: 'analytic' (PZ, density-fitted self-Coulomb) or 'fd' |
| `fod_relax` | `none` | ehrenfest with SIC: 'adiabatic' relaxes the FODs to the minimum of E_SIC at the current density |
| `fod_mass` | `10.0e0` | ehrenfest with SIC, fod_relax: dynamics: fictitious mass of a FOD (electron masses) |
| `fod_masses` |  | optional: one mass per FOD (alpha FODs, then beta FODs); overrides fod_mass |
| `fod_thermostat` | `none` | FOD dynamics: 'none' / 'friction' / 'berendsen' |
| `fod_friction` | `0.0e0` | friction: velocity damping rate gamma (1/fs) |
| `fod_temperature` | `0.0e0` | berendsen: target FOD temperature (K) |
| `fod_tau` | `20.0e0` | berendsen: coupling time (fs) |
| `fod_relax_macro` | `5` | exact SIC: FOD / density passes before the dynamics (0: none) |
| `fod_relax_every` | `1` | relaxation every N nuclear steps |
| `fod_relax_tol` | `1.0e-4` | max /dE_SIC/dFOD/ (Ha/bohr) |
| `fod_relax_trust` | `0.05e0` | max FOD displacement per relaxation (bohr) |
| `fod_relax_iterations` | `100` | max BFGS iterations per relaxation |
| `axis` | `none, 1e-3, z` | Ehrenfest: kick excites the electrons at t=0 (delta kick of strength kick along axis or direction: x y z); |

### `solvent` (12 keys)

| key | default | meaning |
|---|---|---|
| `model` | `cpcm` | cpcm / cosmo / iefpcm (integral-equation formalism, K=S-f2piDAS with f=(epsilon-1)/(epsilon+1)). All models work with every feature below. |
| `solvent` | `water` | Solvent name giving epsilon: water, methanol, ethanol, acetonitrile, dmso, acetone, dichloromethane, chloroform, thf, toluene, benzene, hexane, cyclohexane. |
| `epsilon` | `from name` | Static dielectric constant; overrides the name. |
| `vdw_scale` | `1.2` | Factor on the vdW radii of the cavity. |
| `lebedev` | `29` | Lebedev degree per atom sphere (29 = 302 points; 23 = 194, 35 = 590). |
| `epsilon_optical` | `1.78` | Dielectric constant of the TDDFT response kernel (fast, electronic response of the solvent). |
| `tddft_response` | `nonequilibrium` | nonequilibrium: kernel with epsilon_optical (vertical excitations, PySCF's default); equilibrium: kernel with the static epsilon. |
| `far_field` | `false` | Multipole far field for the Gaussian-charge kernels of the SCF reaction field and the gradient (large molecules; see below). |
| `far_field_order` | `6` | Expansion order beyond the pair's own angular momentum. |
| `far_field_theta` | `0.25` | Multipole acceptance (d_B+d_T)/rho. |
| `far_field_cell` | `4.0` | Edge (bohr) of the cells that group primitive pairs and surface points. |
| `far_field_min` | `0.4` | Minimum share of the (pair, point) work that must be far for the far field to be used (0 forces it). |

### `relativity` (3 keys)

| key | default | meaning |
|---|---|---|
| `method` | `none` | none / zora / x2c. |
| `c_light` | `137.03599967994` | Speed of light (a.u.); large values give the non-relativistic limit. |
| `scaled` | `false` | With zora: also report the scaled-ZORA energy after the SCF. Not with sic: or noncollinear runs. |

### `analysis` (17 keys)

| key | default | meaning |
|---|---|---|
| `population` | `none` | none / mulliken / lowdin / both / natural / all. Per-atom populations and charges, also written to POPULATION_ANALYSIS.dat. Mulliken and L"owdin populations, spin populations and S^2 are always printed; natural adds the natural population analysis (sec:npa). |
| `orbital_character` | `none` | Same choices as population. Per-atom and per-shell-type decomposition of the HOMO. |
| `dos` | `false` | Total and projected density of states in DOS.dat (weights from orbital_character, Mulliken by default). |
| `hyperfine` | `false` | Isotropic (Fermi-contact) and spin-dipolar hyperfine couplings (s sec:hyperfine, sec:epr). |
| `magnetic_anisotropy` | `false` | Spin-orbit magnetic anisotropy (Pederson-Khanna): anisotropy tensor, easy axis, D, E (sec:mae). |
| `soc_potential` | `coulomb / sap` | Potential in the spin-orbit operator: coulomb (nuclear + Hartree; default after the SCF), nuclear (bare Breit-Pauli), sap (atomic model potential; default for scf: spin_orbit) or somf (spin-orbit mean field; post-SCF only, libcint build). |
| `anisotropy_method` | `perturbative` | perturbative, force_theorem or both (sec:mae). |
| `zfs_spin_spin` | `false` | Spin-spin zero-field splitting (sec:epr); with magnetic_anisotropy the total D=D_ SOC+D_ SS is printed. |
| `zfs_soc_convention` | `pk` | Spin prefactors of D_ SOC: pk, neese or vanwullen (sec:mae). |
| `gtensor` | `false` | Electronic g-tensor (sec:epr). |
| `nmr` | `false` | GIAO NMR shielding tensors (sec:nmr). |
| `polarizability` | `false` | Analytic static dipole polarizability alpha_ij (coupled-perturbed HF/KS; scope of the analytic Hessian; eri Coulomb is the default). Agrees with the finite-field scan to all printed digits (water PBE 10.4337, 10.2952, 10.1255 a.u.). |
| `gtensor_origin` | `charge centre` | Gauge origin (bohr) for gtensor; default the nuclear-charge centre. |
| `dos_fwhm` | `0.02` | Gaussian broadening (Ha). |
| `dos_npoints` | `2000` | Number of DOS points. |
| `molden_file` | `(empty)` | Write geometry, basis and orbitals to this Molden file (for Molden, Jmol, Avogadro, IboView). |
| `wfx_file` | `(empty)` | Write an AIMAll-style .wfx file (for AIMAll, Multiwfn). |

### `cube` (4 keys)

| key | default | meaning |
|---|---|---|
| `quantities` | `(empty)` | Comma-separated list, see below. |
| `prefix` | `cube` | File-name prefix (may include a directory). |
| `spacing` | `0.2` | Grid spacing (bohr). |
| `margin` | `5.0` | Extent of the grid beyond the outermost nuclei (bohr). |

### `tddft` (24 keys)

| key | default | meaning |
|---|---|---|
| `nroots` | `10` | Number of lowest roots. |
| `method` | `casida` | casida (full RPA) / tda. |
| `multiplicity` | `singlet` | singlet / triplet (closed-shell reference only; triplets have f=0). An open-shell reference is solved spin-blocked and gives all excitations at once. |
| `solver` | `dense` | dense (full diagonalization; small systems) / davidson (matrix-free). |
| `coulomb` | `ri` | Hartree part of the response: ri (fastest; needs coulomb: aux_basis_file) / eri (exact, slow) / analytic / poisson. Hybrids need ri or eri unless the exchange is cosx. |
| `exchange` | `auto` | Exact-exchange part of hybrids: auto (cosx when the SCF used coulomb: exchange: cosx, otherwise eri with coulomb: eri and ri else) / ri (RI-MO with the SCF auxiliary basis; needs coulomb: ri) / eri (exact, slow) / cosx (chain of spheres, any coulomb; |
| `cosx_grid` | `scf` | COSX grid of the response: scf (the small SCF grid) / final (the larger final grid; about 50% slower, about 30 times more accurate). |
| `max_iter` | `60` | Davidson iterations. |
| `conv_res` | `1e-5, 1e-7` | Davidson residual and /Deltaomega/ (Ha) thresholds. |
| `conv_e` | `1e-5, 1e-7` | Davidson residual and /Deltaomega/ (Ha) thresholds. |
| `memory_cap_mb` | `4000` | Memory cap (MB) for the RI blocks and the MO values on the grid; above it slower, recomputing routes are used. The RI exchange blocks of hybrids must fit. |
| `run_checks` | `false` | Run built-in self-tests and print PASS/FAIL lines. |
| `frozen_core` | `false` | Freeze the atomic cores (all-electron atoms, Z<= 54). |
| `n_frozen` | `-1` | Explicit number of frozen occupied orbitals (>= 0 overrides). |
| `virt_cut_ev` | `0` | Keep virtuals with epsilon_a-epsilon_ HOMO<= this value (eV); 0 keeps all. Can change roots by 1e-3 Ha or more. |
| `profile` | `false` | Time the kernel builds for 1, 4 and 16 trial vectors. |
| `force_uks` | `false` | Use the spin-blocked path for a closed-shell reference (gives singlets and triplets together; a test). |
| `donor_atoms` | `-` | Atom indices of two fragments (ranges allowed, e.g. [1-6]); both given switch on the coupling analysis (sec:eet). |
| `acceptor_atoms` | `-` | Atom indices of two fragments (ranges allowed, e.g. [1-6]); both given switch on the coupling analysis (sec:eet). |
| `fed_nstates` | `4` | Number of lowest roots used for the couplings. |
| `fragment_weights` | `becke` | becke / hirshfeld (see cdft). |
| `coupling` | `fed` | fed (excitation energy transfer) / fcd (charge transfer) / both. |
| `transition_file` | `-` | Write the singlet transition densities of this (monomer) run for eet_coupling. Closed-shell singlets only. |
| `transition_nstates` | `0` | Number of states written; 0 = all nroots. |

### `rt_tddft` (56 keys)

| key | default | meaning |
|---|---|---|
| `propagator` | `expm` | 'expm'/'magnus'/'cranknic' |
| `dt` | `0.05e0` | time step (a.u.) |
| `steps` | `1000` | number of steps |
| `commutators` | `25` | BCH commutators ('magnus') |
| `predictor_corrector` | `true` | mid-point Fock matrix by extrapolate-propagate-average (false: extrapolation only) |
| `field` | `kick` | 'none'/'kick'/'pulse'/'cw' |
| `tensor` | `false` | field: static: full tensors alpha, beta, gamma |
| `kick` | `1.0e-3` | delta-kick strength (a.u.) |
| `axis` |  |  |
| `direction` |  |  |
| `amplitude` | `1.0e-3` | pulse / cw amplitude (a.u.) |
| `ramp` | `0.0e0` | cw switch-on time (a.u.) |
| `cap` | `false` | complex absorbing potential (ionization) |
| `cap_radius` | `8.0e0` | CAP: radius R0 of the absorber-free sphere (bohr) |
| `cap_strength` | `0.01e0` | CAP: strength eta (Ha/bohr^2) |
| `amplitude2` |  | second pulse (field: pulse2) |
| `omega2` |  | second pulse (field: pulse2): frequency (a.u.) |
| `t0_2` |  | second pulse: centre (a.u.) |
| `sigma2` |  | second pulse: width (a.u.) |
| `axis2` |  | second pulse: direction x/y/z |
| `omega` | `0.3e0` | pulse / cw frequency (a.u.) |
| `t0` | `20.0e0` | pulse centre (a.u.) |
| `sigma` | `5.0e0` | pulse width (a.u.) |
| `print_every` | `1` | progress line every N steps |
| `output` | `rt` | output prefix: <prefix>_dipole.dat, <prefix>_spectrum.dat |
| `gamma` | `0.003e0` | spectrum damping exp(-gamma t) (a.u.) |
| `wmax_ev` | `30.0e0` | upper end of the spectrum (eV) |
| `dw_ev` | `0.02e0` | spectrum grid spacing (eV) |
| `corrector_iterations` | `1` | corrector iterations of the mid-point Fock matrix (2-3: ~1e-11 Ha energy conservation) |
| `corrector_tol` | `1.0e-8` | convergence of the corrector iterations |
| `spectrum` | `fft` | 'fft'/'pade' |
| `pade_samples` | `400` | samples used by the Pade spectrum |
| `pade_order` | `6` | Pade denominator order per MO pair |
| `analysis` | `false` | line fit + transition densities of a delta-kick run |
| `ao_cache_gb` | `2.0e0` | AO cache on the xc grid (GB); 0 = off |
| `pack_dfit` | `true` | pack the RI-J tensor (upper triangle of the pair index) |
| `dfit_screen` | `1.0e-10` | RI-J pair screening of the packed 3-index tensor (< 0: keep all pairs) |
| `checkpoint_every` | `0` | write the propagation checkpoint every N steps (0: never) |
| `checkpoint_file` |  | checkpoint file ('' = <output>.rtrestart) |
| `restart` | `false` | continue a propagation from the checkpoint (steps = additional steps) |
| `populations` | `false` | time-resolved Mulliken/Loewdin charges and ground-state MO occupations |
| `pop_every` | `0` | population output every N steps (0: print_every) |
| `pop_nmo` | `12` | virtual MOs per spin in the MO-occupation output |
| `snapshot_every` | `0` | cube of the induced density every N steps (0: none) |
| `snapshot_max` | `40` | maximum number of snapshot cubes |
| `fock_reuse` | `true` | reuse the last predicted Fock matrix as H(t+dt) (corrector_iterations >= 2) |
| `restricted_xc` | `true` | propagate one spin channel when both spin Hamiltonians and densities coincide |
| `analysis_lines` | `30` | maximum number of fitted lines |
| `analysis_gain` | `1.0e-2` | stop adding lines when the residual improves by less than this fraction |
| `analysis_fmin` | `0.02e0` | smallest oscillator strength kept |
| `analysis_cubes` | `4` | transition-density cube files for the strongest lines |
| `analysis_wmin_ev` | `0.5e0` | lower end of the line-fit window (eV) |
| `cube_spacing` | `0.35e0` | cube grid spacing (bohr) |
| `cube_margin` | `4.0e0` | cube margin around the molecule (bohr) |
| `sic_potential` | `kli` | 'kli'/'slater' |
| `sic_relax` | `false` | re-converge the ground state under the time-dependent SIC Hamiltonian first |

### `cdft` (13 keys)

| key | default | meaning |
|---|---|---|
| `donor_atoms` | `-` | Fragment atom indices (ranges allowed). |
| `acceptor_atoms` | `-` | Fragment atom indices (ranges allowed). |
| `constraint` | `charge` | charge: constrain q_D-q_A. spin: constrain M_D-M_A (M=N_alpha-N_beta) and q_D-q_A. |
| `fragment_weights` | `becke` | becke (atomic Becke cells of the grid) or hirshfeld (free-atom density weights; all-electron atoms only). |
| `values` | `-` | One state per entry: q_D-q_A (charge) or M_D-M_A (spin). |
| `charge_values` | `0` | spin only: q_D-q_A of each state (e.g. 2 and -2 for the D^+A^- and D^-A^+ triplet CT states). |
| `unpaired_electrons` | `ground` | N_alpha-N_beta of the CDFT states (2 for triplet diabats on a singlet ground state). |
| `max_iter` | `100, 1e-7` | SCF iterations and commutator threshold. |
| `conv_tol` | `100, 1e-7` | SCF iterations and commutator threshold. |
| `constraint_tol` | `1e-9` | Tolerance on /C-C_0/. |
| `v_max` | `5` | Bound on the multipliers (Ha). |
| `run_checks` | `false` | Hellmann-Feynman check dE/dC_0=-V for the first state. |
| `mom` | `false` | Maximum-overlap occupation from iteration 3. A state not converged after 40 aufbau iterations switches to MOM automatically. |

### `pdscf` (29 keys)

| key | default | meaning |
|---|---|---|
| `hole` | `0` | occupied ordinal (0 = HOMO of the hole spin) |
| `particle` | `0` | virtual ordinal (0 = LUMO of the particle spin) |
| `hole_spin` | `alpha` | 'alpha'/'beta' |
| `particle_spin` | `alpha` | 'alpha' / 'beta' |
| `states` |  | [6>7, 5>7, 6>8] |
| `spin_ci_alpha` | `1.0e0` | scaling of the 2x2 CI coupling (Grimme-style; paper: 0.6 recommended over 1) |
| `spin_purify` | `true` | closed-shell reference: run M (a->a) and T (b->a), report S = 2M - T |
| `spin_correction` | `both` | 'triplet'/'raising'/'ci'/'both'/'all' |
| `alpha_max` | `4.0e0` |  |
| `alpha_tol` | `1.0e-3` |  |
| `max_evals` | `16` |  |
| `relax_hole` | `true` |  |
| `relax_particle` | `true` |  |
| `relax_passive` | `true` |  |
| `subspace_solve` | `true` | exact hole/particle block solve (degenerate-safe); false = first-order sums |
| `iterate` | `false` | iterate the perturbative state to convergence (Phase 3.3) |
| `max_iter` | `100` |  |
| `conv_grad` | `1.0e-5` |  |
| `chp` | `false` | constrained hole-particle SCF (OCDFT, Phase 4) |
| `chp_max_iter` | `100` |  |
| `chp_start` | `auto` | auto/one_step/rigid |
| `chp_conv` | `1.0e-6` |  |
| `min_particle_weight` | `0.5e0` | collapse guard (0 disables) |
| `chp_spectators` | `auto` | auto/overlap/aufbau |
| `fod_mode` | `frozen` | SIC: frozen/relax_final/alternate |
| `fod_seed` | `move_hole` | SIC: move_hole/ground |
| `fod_force_tol` | `1.0e-4` | Ha/bohr, frozen-density FOD relaxation |
| `fod_max_macro` | `10` | alternate: CHP + FOD cycles |
| `fod_conv_e` | `1.0e-5` | Ha, alternate: energy change between cycles |

### `hubbard` (7 keys)

| key | default | meaning |
|---|---|---|
| `reference_basis` | `-` | Reference minimal basis in .nw format (required), e.g. basis/minao_ref.nw. |
| `units` | `ev` | Units of u/j: ev / hartree. |
| `elements` | `-` | Elements with a Hubbard site; every atom of the element is a site, e.g. [Ti]. |
| `l` | `-` | Angular momentum of the corrected shell per element (2 = d, 3 = f, 4 = g). |
| `ref_index` | `0` | Which reference shell of that l (0 = the last, i.e. valence, shell). |
| `u` | `-` | U per element. |
| `j` | `0` | J per element; the energy uses U_ eff=U-J. |

### `neo` (6 keys)

| key | default | meaning |
|---|---|---|
| `quantum_atoms` | `-` | 1-based atom numbers of the quantum nuclei (ranges allowed, e.g. [2, 5-7]). Per-atom quantum: true in atoms does the same. |
| `nuclear_basis` | `-` | Nuclear basis file in .nw format, looked up by element (required). Supplied: basis/neo-pb4d.nw, neo-pb4f1.nw, neo-pb4f2.nw, neo-pb5d.nw, neo-pb6d.nw, neo-pb6h.nw (Yu, Pavosevic, Hammes-Schiffer) and the even-tempered neo-8s.nw, neo-8s8p.nw, neo-8s8p8d.nw. |
| `epc` | `epc17-2 (DFT) / none (HF)` | Electron-proton correlation: none / epc17-1 / epc17-2 / epc18-1 / epc18-2. The gradient-dependent epc19 is not implemented. |
| `uncontract_electronic` | `true` | Uncontract the electronic basis on the quantum atoms, giving one shell per distinct exponent and angular momentum. The contractions were fitted for point nuclei. |
| `cross_coulomb` | `incore` | Electron-nucleus Coulomb integrals (mu/PQ): computed once and stored (incore), or recomputed in every SCF iteration (direct). Both are exact. |
| `incore_max_mb` | `4000` | Largest storage for incore, all quantum nuclei together (8 n_e(n_e+1)/2. n_p(n_p+1)/2 bytes per nucleus for n_e electronic and n_p nuclear functions). Above it the run falls back to direct. |

### `sic` (82 keys)

| key | default | meaning |
|---|---|---|
| `functional` | `none` | 'none'/'pz_sic'/'lsic' |
| `orbitals` | `flo` | 'flo'/'free'/'free_complex' |
| `active` | `all` | all/valence/core (SOSIC) |
| `core_size` | `small` | small/large (SOSIC core table) |
| `active_partition` | `energy` | energy (SOSIC) |
| `flo_partition` | `none` | none/core_valence/core_valence_rot |
| `frozen_core_sic` | `false` | Frozen-core FLOSIC (method by R. R. Zope): stage 1 with partitioned FLOs, frozen core self-Coulomb potentials and rigid core shells, stage 2 ordinary FLOSIC (KLI FOD relaxation). Experimental, not recommended (slower than an ordinary relaxation so far) |
| `solver` | `kli` | 'kli'/'jacobi' |
| `locality` | `false` | on/off/true/false |
| `locality_tol` | `1.0e-8` |  |
| `oep` | `kli` | 'kli'/'ceda' (solver kli, pz_sic or lsic) |
| `flo_type` | `real` | 'real'/'two_point' (complex FLOs, jacobi + pz_sic) |
| `scf_algorithm` | `jacobi` | 'jacobi'/'direct' |
| `direct_grad_tol` | `1.0e-6` |  |
| `direct_method` | `auto` | 'lbfgs'/'newton'/'auto' |
| `direct_stability` | `true` |  |
| `direct_kick` | `0.0e0` | symmetry-breaking rotation (rad) of the starting orbitals |
| `direct_overlap_barrier` | `0.0e0` | direct_overlap_barrier mu: the direct minimizer works on E - mu sum log det(V^H V) (V = unnormalized FO matrix) to stay off the Loewdin singularities (mod_flosic_direct.F90); 0 = off. FLOs only; e_total stays barrier-free |
| `direct_starts` | `1` | multi-start search for the lowest minimum (direct minimization) |
| `direct_orbital_table` | `false` | print the final localized orbitals: e_sic, centroid, spread (direct) |
| `coulomb_method` | `poisson` | 'poisson'/'density_fitting'/'analytic' |
| `lsic_consistency` | `quasi` | 'full'/'quasi' (lsic only) |
| `lsic_scaling_factor` | `tw_t` | 'tw_t'/'alpha' |
| `radial_grid_factor` | `0` | SIC grid radial refinement (jacobi) |
| `grid_lm` | `0` | SIC grid angular order, 0 = SCF mesh (jacobi, kli) |
| `grid_prune` |  | SIC grid pruning: none/nwchem, '' = SCF (jacobi, kli) |
| `jacobi_scf` | `broyden` | 'broyden'/'legacy' |
| `jacobi_inner_sweeps` | `3` |  |
| `jacobi_broyden_alpha` | `0.3e0` |  |
| `lsic_perturbative` | `false` | one-shot LSIC, lsic only |
| `semicanonical_energies` | `true` | occupied space, the DFA Hamiltonian in the virtual space) as the orbital energies, HOMO-LUMO gap and orbitals. Free after a fixed-FOD SCF; after a single-point FOD relaxation it costs one more fixed-FOD SCF. |
| `seed_initial_guess` | `false` | already SIC-symmetry-broken geometry instead of the bare, spherically-symmetric (hence exactly-degenerate) core-Hamiltonian guess. |
| `ramp_iters` | `0` | full rationale (targets the same C/F/S/Cl partially-filled-p-shell convergence failure sic_seed_initial_guess was tried against and found ineffective for). |
| `fod_file` |  | optional; auto-generated if unset (mod_fod_initial_guess) |
| `fod_guess_method` | `thomson` | 'thomson'/'quantum_p'/'quantum_d'/'quantum_lp'/'assembly'/'centroid' |
| `fod_assembly_data` |  | fod_guess_method='assembly' database |
| `fod_assembly_file` | `fod_assembly.dat` | fod_guess_method='assembly' output |
| `fod_assembly_resonance` | `1` |  |
| `fod_assembly_jitter` | `0.0e0` | a reproducible pseudo-random vector of this length (bohr), breaking the guess's symmetry, which FOD optimization preserves (experimental: no benefit seen so far, see the Developer Manual). |
| `fod_assembly_warm_start` | `true` | fod_assembly_warm_start: run a plain-DFT SCF first and start the SIC SCF from its orbitals (as the quantum_* guesses do); without it the SIC SCF starts from the ordinary initial guess (C2H2 failed to converge). |
| `fod_file_warm_start` | `false` | fod_file_warm_start: with a fod_file, run the same preliminary plain-DFT SCF first and start the SIC SCF from its converged orbitals (default: the SIC SCF starts from the ordinary initial guess) |
| `fod_assembly_spin_mode` | `lewis` | lewis/linnett |
| `fod_assembly_ionic` | `true` |  |
| `fod_assembly_cleanup` | `true` |  |
| `fod_assembly_fallback` | `centroid` | centroid/none |
| `fod_centroid_file` | `fod_centroid.dat` | fod_guess_method='centroid' (and the assembly fallback): output file of the Boys-localized orbital centroids (read_fod_file format). |
| `fod_localize_fb_max_iter` | `200` | this is SELECTED (fod_optimization='foster_boys_spread'). Steepest descent with backtracking (this project has no L-BFGS-B the way the legacy optimizer does). |
| `fod_localize_fb_force_tol` | `1.0e-3` |  |
| `fod_localize_fb_step_init` | `0.3e0` |  |
| `fod_localize_fb_hops` | `0` | accept (temperature in bohr^2 of spread), keeps the lowest, and writes the distinct minima to <fod_localize_fb_file>_<spin>_min<k>.fod. check = true compares the analytic gradient and J with the finite-difference routine at the starting FODs. |
| `fod_localize_fb_hop_step` | `0.6e0` |  |
| `fod_localize_fb_temp` | `0.02e0` |  |
| `fod_localize_fb_seed` | `1` |  |
| `fod_localize_fb_check` | `false` |  |
| `fod_localize_fb_file` | `FB_FODS` |  |
| `fod_localize_fb_lam_floor` | `0.3e0` | Regularisation of the spread: the unconstrained minimum drives FODs together (smallest eigenvalue of the Fermi-orbital overlap -> 0). Eigenvalues below lam_floor are penalised by (lam_penalty/2) sum max(0,lam_floor-lam)^2. |
| `fod_localize_fb_lam_penalty` | `10.0e0` |  |
| `fod_localize_fb_core` | `free` | core FODs (found as for sic: relax_core_mode, FODs within 0.35 r_cov of a nucleus): 'free' or 'fixed' |
| `orbital_log_file` | `FLOSIC_ORBITAL_ENERGIES.log` | '' disables; see mod_pzsic_kli.F90 |
| `fod_optimization` | `none` | none/energy/foster_boys_spread/ace_surrogate |
| `relax_method` | `bfgs` | 'bfgs'/'cg'/'steepest' |
| `relax_precond` | `none` | 'none'/'surrogate' |
| `relax_precond_floor` | `1.0e-3` |  |
| `relax_coords` | `cartesian` | 'cartesian'/'internal' |
| `relax_core_mode` | `free` | free/fixed/rigid |
| `relax_energy_tol` | `0.0e0` | Ha; 0 disables (kli) |
| `relax_line_search` | `backtracking` | 'wolfe'/'backtracking' (kli) |
| `relax_force_tol` | `1.0e-4` | Ha/Bohr |
| `relax_max_iter` | `30` | outer (full-SCF) iterations |
| `relax_step_init` | `0.20e0` | Bohr |
| `relax_restarts` | `1` | direct/two-point FOD relaxation restarts |
| `relax_restart_amp` | `0.25e0` | bohr |
| `relax_checkpoint_file` | `RELAXED_FOD.dat` |  |
| `relax_log_file` | `FOD_RELAX_PROGRESS.log` |  |
| `relax_warm_start` | `true` | entirely (mod_pzsic_jacobi.F90's run_scf_flosic_sc always cold- starts its own plain-DFA warm-up internally -- see that module's header). |
| `fix_fod_at_nucleus` | `false` | sic_solver=jacobi + fod_optimization=energy only |
| `frozen_density` | `false` | fod_optimization=energy only |
| `frozen_max_iter` | `50` |  |
| `frozen_force_tol` | `0.0e0` |  |
| `frozen_then_relax` | `true` |  |
| `frozen_cycle` | `false` | cheap force), then SCF at the new FODs, ... until the FODs stop moving (max/force/ < relax_force_tol at the fresh SCF orbitals). Needs frozen_density and frozen_then_relax. |
| `two_step` | `false` | sic_solver=kli only |

### `atoms` (per atom, 10 keys)

| key | meaning |
|---|---|
| `element` | element symbol (or atomic number) |
| `position` | Cartesian position [x, y, z] in system: units |
| `moment` | initial local spin moment of the atom (guess / fixed-moment bookkeeping) |
| `spin_axis` | local spin quantization axis (noncollinear runs) |
| `core` | all-electron (ALL) or ECP core for this atom |
| `mass` | atomic mass for frequencies / IRC (default: most abundant isotope) |
| `quantum` |  |
| `basis_file` |  |
| `uncontract` |  |
| `mesh` | per-atom mesh map {nrpt, lm, alp_n, m_n}, overriding mesh_default |
