The input file: every section and field¶
In this tutorial
A tour of the whole DFTSW27 input: every section, its main keys with their defaults, and what each key does, followed by the complete list of all
input keys. The video scrolls through the annotated input and explains each block; this page has the same blocks with more detail.
Files: input_tour.yaml (the annotated listing; not a runnable input),
input_fields.md (all keys), make_fields.py, run.sh.
How the tour is organized¶
input_tour.yaml lists 28 sections in the order of a typical input: the system and the method (system, functional, basis, ecp, mesh_default, mesh), the
SCF machinery (scf, mixing, coulomb), what to compute (job, gradient, optimization, frequencies, raman, irc, md), environment and relativity (solvent, relativity),
properties and excited states (analysis, cube, tddft, rt_tddft, cdft, pdscf), special methods (hubbard, neo, sic) and finally the atoms.
The listing shows the keys you meet most often; the complete list of all 445 public keys, generated from the parser of the code, follows at the end of this page.
The value in a line is the default; e.g. marks a key that has none, so the value is only an example of the format. The file is an annotated listing, not an input to run: it
mixes options that exclude each other. For complete, runnable inputs see the other tutorials and examples/.
Two points about the file format that apply everywhere: it is a restricted subset of YAML (sections at column 1, indented keys, # comments, flow-style lists [1, 2, 3] and maps {nrpt: 90}), and it is
case-insensitive in section names. A key you do not give keeps its default; unknown keys in the sic: section stop the run, so check their spelling.
The sections¶
How to read it¶
# DFTSW27 input fields: every section with its main keys. Values are the defaults; "e.g." marks a key without
# one. Comments start with #. Unlisted keys keep their defaults; the complete list is in input_fields.md.
An input file is a restricted subset of YAML: section: at column 1, indented key: value lines below it, and # comments anywhere. Section names are case-insensitive. A key you do not give keeps its default,
so the shortest useful input is a geometry, a basis and a functional. Below, every section of the input is shown with its main keys. The values are the defaults; e.g. marks a key that has none. Unknown keys in the sic: section stop the run, so
check spelling.
System¶
system:
charge: 0 # total molecular charge
unpaired_electrons: 0 # N_alpha - N_beta: the spin state
units: bohr # units of the atom positions: bohr | angstrom
geometry_file: mol.xyz # e.g. read the atoms from an XYZ file instead of the atoms: list
charge and unpaired_electrons (\(N_\alpha-N_\beta\)) fix the number of electrons and the spin state, and units says whether positions are in bohr (the default) or angstrom. The atoms come either from the atoms: list at
the end or, with geometry_file, from an XYZ file; then atoms: records only override properties by index or element.
Functional: the basics¶
functional: # no functional: section at all = Hartree-Fock
backend: inhouse # inhouse (Slater, VWN5, PW92, PBE, SCAN family) | libxc
exchange: pbe # e.g. an inhouse name, or an exact libxc name (HYB_GGA_XC_PBEH)
correlation: pbe # e.g. correlation name, or none for a combined libxc functional
exx_fraction: 0.25 # e.g. exact-exchange fraction, replaces the value libxc reports
exchange_scale: 1 # factor on the semilocal exchange (composed and double hybrids)
correlation_scale: 1 # factor on the semilocal correlation
Without a functional: section the run is Hartree–Fock. backend: inhouse has Slater, VWN5, PW92, PBE and the SCAN family built in; backend: libxc takes any libxc functional by its exact name, including combined hybrids such as HYB_GGA_XC_PBEH (then correlation: none).
Exchange and correlation are independent choices. exx_fraction replaces the exact-exchange fraction libxc reports; exchange_scale and correlation_scale scale the semilocal parts, which is how composed hybrids are built.
Functional: double hybrids, D3, local hybrids¶
pt2_os: 0 # PT2 opposite-spin coefficient: double hybrids (0 = no PT2)
pt2_ss: 0 # PT2 same-spin coefficient
pt2_engine: ri # ri | conventional
dispersion: none # d3zero | d3bj: DFT-D3 correction
dispersion_functional: b3-lyp # e.g. functional name of the D3 parameters, Grimme's spelling
local_hybrid: lh07t-svwn # e.g. local hybrid: tw_t | constant | the preset lh07t-svwn
pt2_os and pt2_ss are the opposite- and same-spin coefficients of a PT2 term added after the SCF: both zero means none, anything else makes a double hybrid. pt2_engine is ri or conventional. dispersion: d3zero or d3bj adds Grimme’s DFT-D3 correction, with the parameters of
dispersion_functional, in Grimme’s spelling of the functional name. local_hybrid selects a local hybrid, which mixes exact and semilocal exchange with a position-dependent function.
Basis and ECP¶
basis:
name: DEFAULT # label for printing only
file: basis/def2-TZVP.nw # e.g. NWChem-format basis file (Basis Set Exchange), Cartesian shells
ecp:
file: basis/ecp.nw # e.g. NWChem-format ECP file, for atoms whose core: is not ALL
basis: file is a basis in NWChem format, as exported by the Basis Set Exchange; every element present is read once and placed on all atoms of that element. name is only a label. The shells are Cartesian: a d shell has 6 components, which matters when you compare basis-function counts or energies with codes that use
spherical harmonics. ecp: file is an NWChem-format effective core potential, used for the atoms whose core: is not ALL.
Integration meshes¶
mesh_default: # integration mesh of every atom without its own mesh:
nrpt: 90 # e.g. radial points
lm: 29 # e.g. Lebedev angular order
alp_n: 5.0 # e.g. radial mapping scale
m_n: 3 # e.g. Mura-Knowles radial exponent
mesh:
cell_func: becke2 # fuzzy-cell partition: becke1 | becke2 | becke3 | franchini
prune: auto # angular pruning of the XC grid: auto | nwchem | none
Each atom has an integration mesh: radial points nrpt, Lebedev angular order lm, and the radial mapping parameters alp_n and m_n. mesh_default: changes them for every atom at once, and a per-atom mesh: overrides that. Without any of them a built-in table is used.
In the mesh: section, cell_func chooses the fuzzy-cell partition of the molecular grid and prune the angular pruning (auto, nwchem or none), which roughly halves the grid.
Scf: convergence and spin¶
scf:
max_iter: 100 # maximum SCF iterations
conv_tol: 1.0e-8 # converged when the mixing error and |dE| are both below this
level_shift: 0 # virtual-orbital level shift (Ha) for near-degenerate cases
initial_guess: atomic_potential_fit # | sad | core_hamiltonian
moment_mode: fixed # fixed | variable | fixed_occupation | mom (excited states)
occ_alpha: [1, 2, 3, 4, 6] # e.g. alpha orbitals to occupy (fixed_occupation and mom)
occ_beta: [1, 2, 3, 4, 5] # e.g. the same for beta
max_iter and conv_tol: the SCF is converged when both the mixing error and \(|\Delta E|\) are below conv_tol. level_shift shifts the virtual orbitals and helps near-degenerate cases. initial_guess is the atomic-potential fit by default, with sad and core_hamiltonian as alternatives.
moment_mode: fixed keeps the spin state; variable lets it change; fixed_occupation and mom (maximum overlap) occupy the orbitals listed in occ_alpha and occ_beta, which is how excited determinants are converged.
Scf: stability, output, restart¶
stability: auto # stability analysis after convergence: auto | true | false
print_energies: false # print the energy breakdown at every iteration
inner_output: summary # SCFs of optimizations and displacements: summary | full
efield: 0 0 0 # uniform static electric field (a.u.): energy runs only
evalues_log_file: evalues.log # eigenvalues of every iteration; '' disables
evalues_max_virtual: 10 # empty levels per spin written to it
restart: none # none | write | read | readwrite: orbital checkpoint
mode: collinear # collinear | noncollinear
spin_orbit: false # spin-orbit coupling (noncollinear mode only)
stability runs a stability analysis after convergence (by default for open-shell plain HF and DFT) and follows unstable modes downhill. print_energies prints the energy breakdown at every iteration, inner_output controls the output of the many SCFs of an optimization, evalues_log_file writes all eigenvalues of every iteration,
and efield applies a uniform static field in an energy run. restart saves and reads orbital checkpoints. mode: noncollinear turns on the two-component SCF, with spin_orbit for spin–orbit coupling and constrain_axis to hold the total moment along a direction.
Mixing¶
mixing:
method: diis # diis (the best-tested choice) | broyden
broyden_alpha: 0.15 # Broyden mixing parameter
broyden_max_vecs: 8 # Broyden history length
The SCF accelerator: diis (Pulay DIIS, the best-tested choice) or broyden, with its mixing parameter and history length.
Coulomb¶
coulomb: # how the Hartree matrix is built (HF or DFT)
method: eri # eri | poisson | analytic | density_fitting; default depends on the run
aux_basis_file: basis/def2-universal-JFIT.nw # e.g. auxiliary basis for density_fitting
exchange: eri # source of exact exchange: eri | cosx | numerical
Rcut: 12.0 # Poisson near/far-field cutoff (bohr)
np: 2 # Poisson near-field expansion order
charge_screen: false # subtract free-atom densities before the Poisson solve
method chooses how the Coulomb matrix is built, independently of Hartree–Fock versus DFT: exact integrals (eri), a numerical Poisson solver (poisson, the default for plain DFT energies), a closed-form potential on the grid (analytic), or
density fitting (density_fitting, which needs aux_basis_file). exchange selects the source of exact exchange: integrals, chain-of-spheres cosx, or numerical. Rcut, np and charge_screen tune the Poisson solver.
Job and gradient¶
job:
task: energy # energy | gradient | optimize | frequencies | opt_freq | raman |
# opt_raman | ts | ts_freq | irc | ts_irc | md
gradient:
method: analytic # analytic | numerical
step: 0.002 # displacement (bohr) of numerical gradients
job: task says what to compute: an energy, a gradient, a geometry optimize, frequencies or both (opt_freq), raman and opt_raman, transition states (ts, ts_freq), reaction paths (irc, ts_irc), and molecular dynamics md.
gradient: method is analytic or numerical (central differences with step step).
Optimization¶
optimization:
max_iter: 100 # maximum gradient evaluations
max_force: 4.5e-4 # converged when the largest force (Ha/bohr) is below this ...
rms_force: 3.0e-4 # ... its RMS ...
max_step: 1.8e-3 # ... the largest step component (bohr) ...
rms_step: 1.2e-3 # ... and the RMS step
trust_radius: 0.3 # initial trust radius (bohr)
hessian: lindh # starting Hessian: lindh | unit
coordinates: internal # internal | cartesian
constraints: distance 1 2 0.96 # e.g. distance, angle, dihedral or freeze items, separated by ;
trajectory_file: opt.xyz # e.g. multi-frame XYZ of every accepted geometry
final_geometry_file: geom_final.xyz # XYZ of the final geometry; '' disables
The four convergence criteria (max_force, rms_force, max_step, rms_step, the Gaussian defaults) must all be met, or both force criteria 100 times below threshold. trust_radius is the initial trust radius, hessian the starting Hessian (lindh model or unit), and coordinates selects redundant internal or Cartesian coordinates.
constraints fixes distances, angles, dihedrals or atoms, items separated by ;. The trajectory and final-geometry files are written for plotting and for restarting.
Frequencies¶
frequencies:
temperature: 298.15 # K, for the thermochemistry
pressure: 101325 # Pa
symmetry_number: 1 # rotational symmetry number: not detected, set it (2 for water)
hessian: auto # auto | analytic | numerical
step: 0.005 # displacement (bohr) of numerical Hessians
molden_file: modes.molden # e.g. Molden file of the normal modes, for animation
The temperature and pressure of the thermochemistry, the rotational symmetry_number (not detected automatically: 2 for water; it changes only the rotational entropy and the free energy), the Hessian method (auto uses the analytic Hessian when it is available) and its
numerical step. molden_file writes the normal modes for animation.
Raman¶
raman: # tasks raman and opt_raman
polarizability: auto # auto | analytic | finite_field
mode_step: 0.01 # displacement (bohr) along each normal mode
laser_nm: 532 # excitation wavelength for the relative intensities
min_frequency: 50 # modes below this (cm^-1) are skipped
file: raman.dat # e.g. table: mode, frequency, activity, depolarization, intensity
For raman and opt_raman (see Raman spectra): how the polarizability derivatives are obtained (auto means analytic where supported, else finite fields), the displacement along each mode, the laser wavelength of the relative intensities, the lowest frequency considered, and a table file.
Irc¶
irc: # tasks irc and ts_irc
step: 0.1 # arc length of the (first) step, amu^1/2 bohr
max_points: 20 # points per direction
adaptive: true # adapt the step to the path curvature
optimize_ends: false # minimize both path ends afterwards
trajectory_file: irc.xyz # e.g. multi-frame XYZ of the path
irc: controls reaction paths from a transition state (tasks irc and ts_irc): the (adaptive) step length, the number of points per direction, whether to minimize the path ends (reactant and product), and a trajectory file of the path.
Md¶
md: # task md
method: bomd # bomd | ehrenfest
dt: 20 # time step (a.u.; 1 a.u. = 0.0242 fs)
steps: 100 # number of steps
temperature: 0 # Maxwell-Boltzmann start (K); 0 = at rest
seed: 1 # seed of the random velocities
output: md # prefix of the energy, trajectory and restart files
restart: false # continue from the checkpoint
md: controls dynamics (task: md): method is Born–Oppenheimer (bomd: an SCF and a gradient every step) or ehrenfest; dt is the time step in atomic units (1 a.u. = 0.0242 fs), steps the number of steps, temperature the Maxwell–Boltzmann starting temperature
(0: start at rest), seed the seed of the random velocities, output the prefix of the energy, trajectory and restart files, and restart continues from the checkpoint.
Solvent and relativity¶
solvent:
model: cpcm # cpcm | cosmo | iefpcm
solvent: water # solvent name (sets epsilon), or give epsilon:
epsilon: 10.0 # e.g. 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
relativity:
method: none # none | zora | x2c
c_light: 137.03599967994 # speed of light (a.u.); large = non-relativistic limit
solvent: turns on an implicit solvent: the model (cpcm, cosmo or iefpcm), the solvent by name (which sets the dielectric constant) or epsilon directly, the scale of the van der Waals cavity radii and the Lebedev degree of each atomic sphere (Solvation with a polarizable continuum).
relativity: method is none, scalar zora or spin-free x2c (Relativistic calculations with X2C); c_light set very large gives the non-relativistic limit.
Analysis¶
analysis:
population: none # none | mulliken | lowdin | both | natural | all
orbital_character: none # per-atom and per-shell decomposition of the HOMO
dos: false # density of states, written to DOS.dat
polarizability: false # analytic static polarizability (coupled perturbed)
nmr: false # GIAO NMR shielding tensors
hyperfine: false # Fermi-contact and spin-dipolar hyperfine couplings
gtensor: false # electronic g-tensor
magnetic_anisotropy: false # spin-orbit magnetic anisotropy, D and E
zfs_spin_spin: false # spin-spin zero-field splitting
molden_file: mol.molden # e.g. Molden file with geometry, basis and orbitals
wfx_file: mol.wfx # e.g. wfx file for AIMAll and Multiwfn
Post-SCF properties, each a switch: Mulliken, Löwdin or natural population, the orbital_character of the HOMO, a density of states, the analytic static polarizability (Polarizabilities and hyperpolarizabilities, with SIC), GIAO nmr (NMR shielding tensors and chemical shifts), hyperfine couplings, the gtensor, the spin–orbit magnetic_anisotropy and the spin–spin
zero-field splitting (Magnetic anisotropy and zero-field splitting). molden_file and wfx_file export the wavefunction for Molden, Jmol, Avogadro, AIMAll and Multiwfn.
Cube¶
cube:
quantities: density, mo_alpha:homo # e.g. what to write, see the cube tutorial
prefix: cube # file name prefix
spacing: 0.2 # grid spacing (bohr)
margin: 5.0 # extent beyond the outermost nuclei (bohr)
quantities lists what to write (the density, spin density, ELF, orbitals such as mo_alpha:homo; Cube files: spin density, ELF and density differences), prefix the file name prefix, spacing the grid spacing and margin the extent beyond the outermost nuclei, both in bohr.
Tddft¶
tddft: # linear-response excitations after the SCF
nroots: 10 # number of lowest roots
method: casida # casida | tda
multiplicity: singlet # singlet | triplet (closed shells)
solver: dense # dense | davidson (matrix-free)
coulomb: ri # Hartree part of the response: ri | eri | analytic | poisson
frozen_core: false # freeze the atomic cores of all-electron atoms
Linear-response TDDFT (Excitation energies (linear-response TDDFT)): the number of roots, the method (full casida or the Tamm–Dancoff approximation tda), singlets or triplets, the dense or Davidson solver, the Coulomb treatment of the response (ri is the fastest and needs an auxiliary basis), and
frozen cores.
Rt_tddft¶
rt_tddft: # real-time propagation after the SCF
field: kick # none | kick | gaussian | pulse | cw | pulse2 | static
propagator: expm # expm | magnus | cranknic
dt: 0.05 # time step (a.u.)
steps: 1000 # number of steps
axis: z # x | y | z | xyz
amplitude: 1.0e-3 # field strength (a.u.); static: the finite-field step
tensor: false # static: full alpha, beta, gamma tensors (13 directions)
spectrum: fft # fft | pade
analysis: false # line fit, transition densities, orbital-pair assignment
cap: false # complex absorbing potential (ionization)
sic_potential: kli # with SIC: kli | slater | exact
output: rt # prefix of the dipole and spectrum files
Real-time propagation of the density matrix after the SCF (Optical spectra from real-time TDDFT): field is a delta kick, a laser pulse, a continuous wave, or static for the finite-field scan, with propagator, dt, steps, axis and amplitude. tensor: true gives the full \(\alpha\), \(\beta\),
\(\gamma\) tensors from the finite-field scan. spectrum, analysis, cap and sic_potential choose the post-processing, a complex absorbing potential and the SIC potential; output is the prefix of the files.
Cdft¶
cdft: # constrained DFT
donor_atoms: [1-6] # e.g. atoms of the donor fragment (ranges allowed)
acceptor_atoms: [7-12] # e.g. atoms of the acceptor fragment
constraint: charge # charge | spin
fragment_weights: becke # becke | hirshfeld
values: [0.0, 1.0] # e.g. one constrained state per entry (q_D - q_A)
conv_tol: 1.0e-7 # SCF commutator threshold of each state
cdft: constrains charge or spin on fragments given as atom indices: the donor and acceptor atoms (ranges allowed), the constraint type, how fragments are weighted (Becke or Hirshfeld) and the constrained values, one state per entry.
Pdscf¶
pdscf: # perturbative DeltaSCF excitations
hole: 5 # occupied orbital (default: HOMO)
particle: 6 # virtual orbital (default: LUMO)
spin_purify: true # closed shell: mixed and triplet states, S = 2M - T
spin_correction: both # triplet | raising | ci | both | all
iterate: false # relax the state to convergence by energy minimization
chp: false # constrained hole-particle SCF (charge-transfer states)
Perturbative \(\Delta\)SCF (Charge-transfer excitations: PDSCF and MOM): an excited determinant from the converged ground-state orbitals by a first-order update, with no SCF loop and so no collapse. hole and particle default to the HOMO and the LUMO; choose them yourself for charge-transfer states.
spin_purify and spin_correction handle the singlet–triplet mixing, iterate relaxes the state, and chp runs the constrained hole–particle SCF.
Hubbard¶
hubbard: # DFT+U
reference_basis: basis/minao_ref.nw # e.g. reference minimal basis (required)
elements: [Ti] # e.g. elements with a Hubbard site
l: [2] # e.g. angular momentum of the corrected shell (2 = d)
u: [4.0] # e.g. U per element
j: [0.0] # J per element
units: ev # ev | hartree
hubbard: is DFT+U: a reference minimal basis, the elements with a Hubbard site, the angular momentum of the corrected shell (2 = d), \(U\) and \(J\) per element, and their units.
Neo¶
neo: # quantum nuclei
quantum_atoms: [2, 3] # e.g. 1-based numbers of the quantum nuclei
nuclear_basis: basis/neo-pb4d.nw # e.g. nuclear basis file (required)
epc: epc17-2 # electron-proton correlation: none | epc17-1 | epc17-2 | ...
uncontract_electronic: true # uncontract the electronic basis on the quantum atoms
neo: treats selected nuclei quantum mechanically (nuclear–electronic orbital method): the atoms, a nuclear basis file, the electron–proton correlation functional (epc) and whether to uncontract the electronic basis on those atoms.
Sic: functional, solver, orbitals¶
sic: # self-interaction correction
functional: none # none | pz_sic | lsic
solver: kli # kli | jacobi
orbitals: flo # flo | free | free_complex
coulomb_method: poisson # self-Coulomb of the orbitals: poisson | analytic | density_fitting
oep: kli # local potential of the KLI solver: kli | ceda
Self-interaction correction (Self-interaction correction with FLOSIC, Locally scaled SIC by direct minimization). functional is pz_sic or lsic; solver is the KLI local potential or the self-consistent jacobi solver; orbitals are Fermi–Löwdin orbitals (flo) or free (optionally complex) orbitals minimized over all rotations;
coulomb_method builds the self-Coulomb potential of each orbital; oep is the local-potential approximation of the KLI solver (kli or ceda).
Sic: algorithm, FODs, relaxation¶
scf_algorithm: jacobi # jacobi | direct (minimizes the energy, for open shells)
lsic_consistency: quasi # LSIC with KLI: quasi | full
fod_file: h2o.fod # e.g. FOD positions in bohr, one per orbital and spin
fod_guess_method: thomson # automatic FODs when there is no file: thomson | assembly | centroid
fod_optimization: none # none | energy | foster_boys_spread
relax_method: bfgs # FOD relaxation: bfgs | cg | steepest
relax_force_tol: 1.0e-4 # converged when the largest FOD force (Ha/bohr) is below this
relax_max_iter: 30 # maximum outer iterations (each a full SCF)
orbital_log_file: FLOSIC_ORBITAL_ENERGIES.log # FODs and orbital SIC energies; '' disables
scf_algorithm: direct minimizes the energy at fixed FODs, which is what open shells need when the Jacobi fixed-point iteration does not converge. lsic_consistency chooses the LSIC variant used with KLI. The FODs come from fod_file (bohr, one per orbital and spin) or from the automatic guess (fod_guess_method: thomson,
assembly, centroid), and fod_optimization: energy relaxes them with relax_method, relax_force_tol and relax_max_iter (FOD optimization). orbital_log_file records the FODs and each orbital’s SIC energy.
Atoms¶
atoms:
- element: O # element symbol (required)
position: [0.0, 0.0, 0.117] # x y z in system: units (required)
moment: 0.0 # initial local spin moment (starting guess only)
spin_axis: [0, 0, 1] # local moment direction (noncollinear runs)
core: ALL # ALL = all-electron, or an ECP label
mass: 15.9949 # e.g. atomic mass for frequencies (default: main isotope)
mesh: {nrpt: 90, lm: 29} # e.g. per-atom integration mesh, overrides mesh_default
One record per atom, introduced by -: element and position (required, in the system: units), the initial local spin moment (only the starting guess), its spin_axis in noncollinear runs, core (ALL or an ECP label), mass for frequencies and dynamics, and a per-atom mesh.
With geometry_file the records instead select atoms by index or element to override these properties.
All input keys¶
Every public key by section with its default and description. The key names come from the input parser, the descriptions from the key tables of the User Manual
(docs/DFTSW27_User_Manual.pdf), and for a key that the manual does not tabulate from the source. The complete reference, with the theory, is docs/z_fullM.pdf.
A default shown as 0 or empty often means “chosen automatically”.
system (3 keys)¶
key |
default |
meaning |
|---|---|---|
|
|
Total molecular charge. |
|
|
N_alpha - N_beta of the whole system, rounded to an integer. With moment_mode: variable it is only the starting value. |
|
|
Units of atomic positions: bohr or angstrom (also ang, angs). |
functional (25 keys)¶
key |
default |
meaning |
|---|---|---|
|
|
inhouse (built-in Slater, VWN5, PW92, PBE, SCAN family) or libxc (any libxc functional by its exact name). |
|
|
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. |
|
|
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: 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. |
|
|
Parameter b of the mixing function (tw_t: 1; constant: required). |
|
|
resolved (a_sigma from each spin’s own rho_sigma, tau_sigma) or common (a from the total quantities). Identical for closed shells. |
|
|
Screening threshold of the seminumerical exact-exchange engine; 0 switches screening off. |
|
|
seminumerical (any Coulomb method) or poisson (needs coulomb: method: poisson; 3-5 times slower, no analytic gradient). |
|
|
Factor on the whole semilocal exchange (composed and double hybrids). |
|
|
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’). |
|
|
Factor on the whole semilocal correlation. |
|
|
Global exact-exchange fraction c_x; replaces the value libxc reports. Needs a DFT functional. |
|
|
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. |
|
|
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. |
|
|
ri (density fitting) or conventional (exact ERIs, memory n_ basis^4; small systems only). |
|
|
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. |
|
|
Experimental: allow the PT2 on SIC orbitals (see below). |
|
|
DFT-D3 correction: d3zero (zero damping) or d3bj (Becke-Johnson damping). |
|
|
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. |
|
|
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. |
|
|
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. |
|
|
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. |
|
|
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. |
|
|
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. |
|
|
Lowest occupied orbitals per spin left out of the PT2. |
basis (2 keys)¶
key |
default |
meaning |
|---|---|---|
|
|
Label for printing only. |
|
|
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 |
|---|---|---|
|
|
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 |
|---|---|---|
|
radial points per atom (default mesh for every atom without its own mesh) |
|
|
Lebedev angular order of the default mesh |
|
|
radial mapping scale of the default mesh |
|
|
radial mapping exponent of the default mesh |
mesh (2 keys)¶
key |
default |
meaning |
|---|---|---|
|
|
Fuzzy-cell partitioning of the molecular grid: becke1, becke2, becke3 or franchini. |
|
|
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 |
|---|---|---|
|
|
Maximum SCF iterations. |
|
|
Stability analysis after convergence: auto (open-shell plain HF/DFT with N_alpha!= N_beta), true or false (sec:stability). |
|
|
Maximum number of restarts along unstable modes. |
|
|
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. |
|
|
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. |
|
|
Converged when both the mixing error (DIIS commutator or Broyden residual norm) and /Delta E_ total/ are below this value. |
|
|
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 the energy breakdown every iteration. |
|
|
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. |
|
|
Empty levels per spin listed in that file. |
|
|
Upper limit of grid points per block. Does not change results; rarely needs tuning. |
|
|
Build J/K from the density change on the ERI path (sec:incremental). |
|
|
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. |
|
|
collinear or noncollinear (sec:noncollinear). |
|
|
Spin-orbit coupling in the noncollinear SCF (sec:soc-scf). Needs mode: noncollinear. |
|
|
Factor on the spin-orbit operator. |
|
|
Hold the total moment along this direction with a penalty; zero vector = off (sec:soc-scf). |
|
|
Penalty strength lambda (Ha). |
|
|
>0: also hold the magnitude M_0 (mu_B), penalty lambda/ M-M_0 e/^2. |
|
|
atomic_potential_fit, sad or core_hamiltonian (sec:initial-guess). |
|
|
fixed, variable, fixed_occupation or mom (sec:moment-mode). |
|
|
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). |
|
|
Checkpoint path. By default a name that encodes geometry and basis, in scratch_dir (else DFTSW_SCRATCH, SCRATCH or TMPDIR). |
|
||
|
||
|
|
|
|
|
restart_fock: on read, also seed DIIS with the checkpoint’s last (Fock, density) pair (mod_scf.F90’s scf_warm_start_t%FOCK). |
|
|
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: 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. |
|
|
1-based alpha orbital positions to occupy. Required for fixed_occupation and mom. |
|
|
Same for the beta channel. |
mixing (4 keys)¶
key |
default |
meaning |
|---|---|---|
|
|
diis (Pulay DIIS) or broyden (Johnson’s modified Broyden). DIIS is the best-tested choice. |
|
|
With broyden: hamiltonian (mix the Fock matrix, then diagonalize) or density (diagonalize, then mix the density). |
|
|
Broyden mixing parameter. |
|
|
Broyden history length. |
coulomb (24 keys)¶
key |
default |
meaning |
|---|---|---|
|
|
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. |
|
|
NWChem-format auxiliary basis. Required for density_fitting (and for density-fitted SIC self-Coulomb and TDDFT coulomb: ri). |
|
|
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; |
|
|
Noncollinear runs with density_fitting: spinor RI-K exchange (false: ERI exchange). |
|
|
Poisson radial-solution method. |
|
|
Use the far-field multipole expansion in the Poisson solver. |
|
|
Poisson near-field expansion order. |
|
|
Poisson multipole-moment truncation tolerance. |
|
|
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. |
|
|
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. |
|
|
Poisson expansion order for every atom (0: the coarse order of the built-in table, else the mesh lm). |
|
|
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. |
|
|
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. |
|
|
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). |
|
|
Numerical exchange: skip grid blocks where both orbitals are below this value. |
|
|
COSX integral screening threshold. Looser values make K noisy and stall the SCF; keep the default. |
|
|
COSX overlap fitting (Izsak-Neese). |
|
|
COSX: build K(D_n-D_n-1) and accumulate. |
|
|
COSX: full K build every n iterations. |
|
|
COSX: re-evaluate the exchange energy of the converged density on the larger final grid. |
|
|
COSX SCF grid: Lebedev order and radial points for every atom (0: built-in per-element values). |
|
|
COSX SCF grid: Lebedev order and radial points for every atom (0: built-in per-element values). |
|
|
The same for the final grid. |
|
|
The same for the final grid. |
job (1 keys)¶
key |
default |
meaning |
|---|---|---|
|
|
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 |
|---|---|---|
|
|
analytic / numerical (central differences of the SCF energy). |
|
|
Displacement (bohr), numerical only. |
optimization (16 keys)¶
key |
default |
meaning |
|---|---|---|
|
|
Maximum gradient evaluations. |
|
|
Converged when the largest /dE/dR/ (Ha/bohr)… |
|
|
… its RMS… |
|
|
… the largest component of the next step (bohr)… |
|
|
… and its RMS are all below threshold (Gaussian’s defaults), or both force criteria are 100 times below threshold. |
|
|
Initial trust radius (bohr, length of the whole step). |
|
|
Upper limit of the trust radius. |
|
|
Starting Hessian: lindh (model Hessian) / unit. |
|
|
Multi-frame XYZ file (A) of every accepted geometry with its energy (Molden, Jmol, VMD, ASE). |
|
|
Extended XYZ (ASE, OVITO) of every accepted geometry: positions (A), forces -dE/dR (Ha/bohr), energy (Ha), max and RMS force. ‘’ disables. |
|
|
XYZ file (A) of the final geometry. ‘’ disables. |
|
|
SIC: the FODs at the final geometry (fod_file format). ‘’ disables. |
|
|
internal (redundant internal coordinates) / cartesian. |
|
|
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 search and IRC: Hessian eigenvector (ascending eigenvalue) followed uphill at the start. |
|
|
TS search: recompute the Hessian every N steps (0: only at the start; Bofill updates in between). |
frequencies (6 keys)¶
key |
default |
meaning |
|---|---|---|
|
|
Displacement (bohr) for numerical Hessians. |
|
|
Temperature (K) for the thermochemistry. |
|
|
Pressure (Pa). |
|
|
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 with the normal modes, for animation. |
|
|
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 h (a.u.) of the finite-field polarizability. |
|
|
Displacement (bohr) along each unit-norm normal mode. |
|
|
Excitation wavelength (nm) for the relative intensities. |
|
|
auto (analytic where supported) / analytic / finite_field. |
|
|
Modes below this (cm^-1) are skipped. |
|
|
Table: mode, frequency, activity, depolarization ratio, relative intensity. |
irc (10 keys)¶
key |
default |
meaning |
|---|---|---|
|
|
Arc length of the first (adaptive) or every step, amu^1/2 bohr. |
|
|
Points per direction. |
|
|
Adapt the step to the path curvature and the distance to the minimum. |
|
|
Bounds of the adaptive step. |
|
|
Bounds of the adaptive step. |
|
|
Multi-frame XYZ of the path, backward end -> TS -> forward end. |
|
|
Minimize both path ends afterwards (reactant and product, barrier heights). |
|
|
Reaction-path Hamiltonian along the path: projected frequencies, zero-point energy, adiabatic potential, curvature (an SCF, gradient and Hessian per point). |
|
|
Use every n-th path point (and the ends). |
|
|
Table of s, E, ZPE_, , projected frequencies and curvature couplings. |
md (45 keys)¶
key |
default |
meaning |
|---|---|---|
|
|
Time step (a.u.; 1 a.u. = 0.0242 fs). |
|
|
Number of steps. |
|
|
Maxwell-Boltzmann start at this temperature (K); 0: start at rest. |
|
|
Seed of the random velocities. |
|
|
Initial velocities instead: one line vx vy vz (bohr/a.u.) per atom. |
|
|
Remove the angular momentum (the linear momentum is always removed). |
|
|
Prefix of _energy.dat, _traj.xyz and .mdrestart. |
|
|
Progress line every N steps (the energy file has every step). |
|
|
Write |
|
|
Continue from the checkpoint for steps more steps. |
|
|
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; |
|
|
Ehrenfest: kick excites the electrons at t=0 (delta kick of strength kick along axis or direction: x y z); |
|
|
Ehrenfest: kick excites the electrons at t=0 (delta kick of strength kick along axis or direction: x y z); |
|
ehrenfest: kick / field direction (axis: x/y/z or direction: x y z) |
|
|
|
ehrenfest: pulse / cw amplitude (a.u.) |
|
|
ehrenfest: pulse / cw frequency (a.u.) |
|
|
ehrenfest: pulse centre (a.u.) |
|
|
ehrenfest: pulse width (a.u.) |
|
|
ehrenfest: cw sin^2 switch-on time (a.u.; 0 = sudden) |
|
ehrenfest: second pulse (field: pulse2) |
|
|
||
|
||
|
||
|
||
|
|
Ehrenfest: corrector rounds per electronic step (>=1; one Fock build each plus the predictor’s). |
|
|
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. |
|
|
ehrenfest: electronic propagator ‘expm’ (exact exponential) / ‘cranknic’ (Crank-Nicolson / Cayley) |
|
|
Ehrenfest: write the occupations of the N lowest adiabatic Kohn-Sham orbitals per spin and the number of excited electrons to |
|
|
Ehrenfest with SIC (sic: solver: kli): kli / exact (see below); with solver: jacobi see below (default variational). |
|
|
Ehrenfest: >0 repeats the corrector until the Hamiltonian changes by less than this (at most corrector_iterations rounds); SIC default 1e-8, 30 rounds. |
|
|
ehrenfest with SIC: bohr, central differences of the SIC energy for the SIC force |
|
|
ehrenfest with SIC: ‘analytic’ (PZ, density-fitted self-Coulomb) or ‘fd’ |
|
|
ehrenfest with SIC: ‘adiabatic’ relaxes the FODs to the minimum of E_SIC at the current density |
|
|
ehrenfest with SIC, fod_relax: dynamics: fictitious mass of a FOD (electron masses) |
|
optional: one mass per FOD (alpha FODs, then beta FODs); overrides fod_mass |
|
|
|
FOD dynamics: ‘none’ / ‘friction’ / ‘berendsen’ |
|
|
friction: velocity damping rate gamma (1/fs) |
|
|
berendsen: target FOD temperature (K) |
|
|
berendsen: coupling time (fs) |
|
|
exact SIC: FOD / density passes before the dynamics (0: none) |
|
|
relaxation every N nuclear steps |
|
|
max /dE_SIC/dFOD/ (Ha/bohr) |
|
|
max FOD displacement per relaxation (bohr) |
|
|
max BFGS iterations per relaxation |
|
|
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 |
|---|---|---|
|
|
cpcm / cosmo / iefpcm (integral-equation formalism, K=S-f2piDAS with f=(epsilon-1)/(epsilon+1)). All models work with every feature below. |
|
|
Solvent name giving epsilon: water, methanol, ethanol, acetonitrile, dmso, acetone, dichloromethane, chloroform, thf, toluene, benzene, hexane, cyclohexane. |
|
|
Static dielectric constant; overrides the name. |
|
|
Factor on the vdW radii of the cavity. |
|
|
Lebedev degree per atom sphere (29 = 302 points; 23 = 194, 35 = 590). |
|
|
Dielectric constant of the TDDFT response kernel (fast, electronic response of the solvent). |
|
|
nonequilibrium: kernel with epsilon_optical (vertical excitations, PySCF’s default); equilibrium: kernel with the static epsilon. |
|
|
Multipole far field for the Gaussian-charge kernels of the SCF reaction field and the gradient (large molecules; see below). |
|
|
Expansion order beyond the pair’s own angular momentum. |
|
|
Multipole acceptance (d_B+d_T)/rho. |
|
|
Edge (bohr) of the cells that group primitive pairs and surface points. |
|
|
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 |
|---|---|---|
|
|
none / zora / x2c. |
|
|
Speed of light (a.u.); large values give the non-relativistic limit. |
|
|
With zora: also report the scaled-ZORA energy after the SCF. Not with sic: or noncollinear runs. |
analysis (17 keys)¶
key |
default |
meaning |
|---|---|---|
|
|
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). |
|
|
Same choices as population. Per-atom and per-shell-type decomposition of the HOMO. |
|
|
Total and projected density of states in DOS.dat (weights from orbital_character, Mulliken by default). |
|
|
Isotropic (Fermi-contact) and spin-dipolar hyperfine couplings (s sec:hyperfine, sec:epr). |
|
|
Spin-orbit magnetic anisotropy (Pederson-Khanna): anisotropy tensor, easy axis, D, E (sec:mae). |
|
|
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). |
|
|
perturbative, force_theorem or both (sec:mae). |
|
|
Spin-spin zero-field splitting (sec:epr); with magnetic_anisotropy the total D=D_ SOC+D_ SS is printed. |
|
|
Spin prefactors of D_ SOC: pk, neese or vanwullen (sec:mae). |
|
|
Electronic g-tensor (sec:epr). |
|
|
GIAO NMR shielding tensors (sec:nmr). |
|
|
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.). |
|
|
Gauge origin (bohr) for gtensor; default the nuclear-charge centre. |
|
|
Gaussian broadening (Ha). |
|
|
Number of DOS points. |
|
|
Write geometry, basis and orbitals to this Molden file (for Molden, Jmol, Avogadro, IboView). |
|
|
Write an AIMAll-style .wfx file (for AIMAll, Multiwfn). |
cube (4 keys)¶
key |
default |
meaning |
|---|---|---|
|
|
Comma-separated list, see below. |
|
|
File-name prefix (may include a directory). |
|
|
Grid spacing (bohr). |
|
|
Extent of the grid beyond the outermost nuclei (bohr). |
tddft (24 keys)¶
key |
default |
meaning |
|---|---|---|
|
|
Number of lowest roots. |
|
|
casida (full RPA) / tda. |
|
|
singlet / triplet (closed-shell reference only; triplets have f=0). An open-shell reference is solved spin-blocked and gives all excitations at once. |
|
|
dense (full diagonalization; small systems) / davidson (matrix-free). |
|
|
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. |
|
|
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 of the response: scf (the small SCF grid) / final (the larger final grid; about 50% slower, about 30 times more accurate). |
|
|
Davidson iterations. |
|
|
Davidson residual and /Deltaomega/ (Ha) thresholds. |
|
|
Davidson residual and /Deltaomega/ (Ha) thresholds. |
|
|
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 built-in self-tests and print PASS/FAIL lines. |
|
|
Freeze the atomic cores (all-electron atoms, Z<= 54). |
|
|
Explicit number of frozen occupied orbitals (>= 0 overrides). |
|
|
Keep virtuals with epsilon_a-epsilon_ HOMO<= this value (eV); 0 keeps all. Can change roots by 1e-3 Ha or more. |
|
|
Time the kernel builds for 1, 4 and 16 trial vectors. |
|
|
Use the spin-blocked path for a closed-shell reference (gives singlets and triplets together; a test). |
|
|
Atom indices of two fragments (ranges allowed, e.g. [1-6]); both given switch on the coupling analysis (sec:eet). |
|
|
Atom indices of two fragments (ranges allowed, e.g. [1-6]); both given switch on the coupling analysis (sec:eet). |
|
|
Number of lowest roots used for the couplings. |
|
|
becke / hirshfeld (see cdft). |
|
|
fed (excitation energy transfer) / fcd (charge transfer) / both. |
|
|
Write the singlet transition densities of this (monomer) run for eet_coupling. Closed-shell singlets only. |
|
|
Number of states written; 0 = all nroots. |
rt_tddft (56 keys)¶
key |
default |
meaning |
|---|---|---|
|
|
‘expm’/’magnus’/’cranknic’ |
|
|
time step (a.u.) |
|
|
number of steps |
|
|
BCH commutators (‘magnus’) |
|
|
mid-point Fock matrix by extrapolate-propagate-average (false: extrapolation only) |
|
|
‘none’/’kick’/’pulse’/’cw’ |
|
|
field: static: full tensors alpha, beta, gamma |
|
|
delta-kick strength (a.u.) |
|
||
|
||
|
|
pulse / cw amplitude (a.u.) |
|
|
cw switch-on time (a.u.) |
|
|
complex absorbing potential (ionization) |
|
|
CAP: radius R0 of the absorber-free sphere (bohr) |
|
|
CAP: strength eta (Ha/bohr^2) |
|
second pulse (field: pulse2) |
|
|
second pulse (field: pulse2): frequency (a.u.) |
|
|
second pulse: centre (a.u.) |
|
|
second pulse: width (a.u.) |
|
|
second pulse: direction x/y/z |
|
|
|
pulse / cw frequency (a.u.) |
|
|
pulse centre (a.u.) |
|
|
pulse width (a.u.) |
|
|
progress line every N steps |
|
|
output prefix: |
|
|
spectrum damping exp(-gamma t) (a.u.) |
|
|
upper end of the spectrum (eV) |
|
|
spectrum grid spacing (eV) |
|
|
corrector iterations of the mid-point Fock matrix (2-3: ~1e-11 Ha energy conservation) |
|
|
convergence of the corrector iterations |
|
|
‘fft’/’pade’ |
|
|
samples used by the Pade spectrum |
|
|
Pade denominator order per MO pair |
|
|
line fit + transition densities of a delta-kick run |
|
|
AO cache on the xc grid (GB); 0 = off |
|
|
pack the RI-J tensor (upper triangle of the pair index) |
|
|
RI-J pair screening of the packed 3-index tensor (< 0: keep all pairs) |
|
|
write the propagation checkpoint every N steps (0: never) |
|
checkpoint file (’’ = |
|
|
|
continue a propagation from the checkpoint (steps = additional steps) |
|
|
time-resolved Mulliken/Loewdin charges and ground-state MO occupations |
|
|
population output every N steps (0: print_every) |
|
|
virtual MOs per spin in the MO-occupation output |
|
|
cube of the induced density every N steps (0: none) |
|
|
maximum number of snapshot cubes |
|
|
reuse the last predicted Fock matrix as H(t+dt) (corrector_iterations >= 2) |
|
|
propagate one spin channel when both spin Hamiltonians and densities coincide |
|
|
maximum number of fitted lines |
|
|
stop adding lines when the residual improves by less than this fraction |
|
|
smallest oscillator strength kept |
|
|
transition-density cube files for the strongest lines |
|
|
lower end of the line-fit window (eV) |
|
|
cube grid spacing (bohr) |
|
|
cube margin around the molecule (bohr) |
|
|
‘kli’/’slater’ |
|
|
re-converge the ground state under the time-dependent SIC Hamiltonian first |
cdft (13 keys)¶
key |
default |
meaning |
|---|---|---|
|
|
Fragment atom indices (ranges allowed). |
|
|
Fragment atom indices (ranges allowed). |
|
|
charge: constrain q_D-q_A. spin: constrain M_D-M_A (M=N_alpha-N_beta) and q_D-q_A. |
|
|
becke (atomic Becke cells of the grid) or hirshfeld (free-atom density weights; all-electron atoms only). |
|
|
One state per entry: q_D-q_A (charge) or M_D-M_A (spin). |
|
|
spin only: q_D-q_A of each state (e.g. 2 and -2 for the D^+A^- and D^-A^+ triplet CT states). |
|
|
N_alpha-N_beta of the CDFT states (2 for triplet diabats on a singlet ground state). |
|
|
SCF iterations and commutator threshold. |
|
|
SCF iterations and commutator threshold. |
|
|
Tolerance on /C-C_0/. |
|
|
Bound on the multipliers (Ha). |
|
|
Hellmann-Feynman check dE/dC_0=-V for the first state. |
|
|
Maximum-overlap occupation from iteration 3. A state not converged after 40 aufbau iterations switches to MOM automatically. |
pdscf (29 keys)¶
key |
default |
meaning |
|---|---|---|
|
|
occupied ordinal (0 = HOMO of the hole spin) |
|
|
virtual ordinal (0 = LUMO of the particle spin) |
|
|
‘alpha’/’beta’ |
|
|
‘alpha’ / ‘beta’ |
|
[6>7, 5>7, 6>8] |
|
|
|
scaling of the 2x2 CI coupling (Grimme-style; paper: 0.6 recommended over 1) |
|
|
closed-shell reference: run M (a->a) and T (b->a), report S = 2M - T |
|
|
‘triplet’/’raising’/’ci’/’both’/’all’ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
exact hole/particle block solve (degenerate-safe); false = first-order sums |
|
|
iterate the perturbative state to convergence (Phase 3.3) |
|
|
|
|
|
|
|
|
constrained hole-particle SCF (OCDFT, Phase 4) |
|
|
|
|
|
auto/one_step/rigid |
|
|
|
|
|
collapse guard (0 disables) |
|
|
auto/overlap/aufbau |
|
|
SIC: frozen/relax_final/alternate |
|
|
SIC: move_hole/ground |
|
|
Ha/bohr, frozen-density FOD relaxation |
|
|
alternate: CHP + FOD cycles |
|
|
Ha, alternate: energy change between cycles |
hubbard (7 keys)¶
key |
default |
meaning |
|---|---|---|
|
|
Reference minimal basis in .nw format (required), e.g. basis/minao_ref.nw. |
|
|
Units of u/j: ev / hartree. |
|
|
Elements with a Hubbard site; every atom of the element is a site, e.g. [Ti]. |
|
|
Angular momentum of the corrected shell per element (2 = d, 3 = f, 4 = g). |
|
|
Which reference shell of that l (0 = the last, i.e. valence, shell). |
|
|
U per element. |
|
|
J per element; the energy uses U_ eff=U-J. |
neo (6 keys)¶
key |
default |
meaning |
|---|---|---|
|
|
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 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. |
|
|
Electron-proton correlation: none / epc17-1 / epc17-2 / epc18-1 / epc18-2. The gradient-dependent epc19 is not implemented. |
|
|
Uncontract the electronic basis on the quantum atoms, giving one shell per distinct exponent and angular momentum. The contractions were fitted for point nuclei. |
|
|
Electron-nucleus Coulomb integrals (mu/PQ): computed once and stored (incore), or recomputed in every SCF iteration (direct). Both are exact. |
|
|
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 |
|---|---|---|
|
|
‘none’/’pz_sic’/’lsic’ |
|
|
‘flo’/’free’/’free_complex’ |
|
|
all/valence/core (SOSIC) |
|
|
small/large (SOSIC core table) |
|
|
energy (SOSIC) |
|
|
none/core_valence/core_valence_rot |
|
|
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) |
|
|
‘kli’/’jacobi’ |
|
|
on/off/true/false |
|
|
|
|
|
‘kli’/’ceda’ (solver kli, pz_sic or lsic) |
|
|
‘real’/’two_point’ (complex FLOs, jacobi + pz_sic) |
|
|
‘jacobi’/’direct’ |
|
|
|
|
|
‘lbfgs’/’newton’/’auto’ |
|
|
|
|
|
symmetry-breaking rotation (rad) of the starting orbitals |
|
|
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 |
|
|
multi-start search for the lowest minimum (direct minimization) |
|
|
print the final localized orbitals: e_sic, centroid, spread (direct) |
|
|
‘poisson’/’density_fitting’/’analytic’ |
|
|
‘full’/’quasi’ (lsic only) |
|
|
‘tw_t’/’alpha’ |
|
|
SIC grid radial refinement (jacobi) |
|
|
SIC grid angular order, 0 = SCF mesh (jacobi, kli) |
|
SIC grid pruning: none/nwchem, ‘’ = SCF (jacobi, kli) |
|
|
|
‘broyden’/’legacy’ |
|
|
|
|
|
|
|
|
one-shot LSIC, lsic only |
|
|
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. |
|
|
already SIC-symmetry-broken geometry instead of the bare, spherically-symmetric (hence exactly-degenerate) core-Hamiltonian guess. |
|
|
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). |
|
optional; auto-generated if unset (mod_fod_initial_guess) |
|
|
|
‘thomson’/’quantum_p’/’quantum_d’/’quantum_lp’/’assembly’/’centroid’ |
|
fod_guess_method=’assembly’ database |
|
|
|
fod_guess_method=’assembly’ output |
|
|
|
|
|
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: 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: 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) |
|
|
lewis/linnett |
|
|
|
|
|
|
|
|
centroid/none |
|
|
fod_guess_method=’centroid’ (and the assembly fallback): output file of the Boys-localized orbital centroids (read_fod_file format). |
|
|
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). |
|
|
|
|
|
|
|
|
accept (temperature in bohr^2 of spread), keeps the lowest, and writes the distinct minima to <fod_localize_fb_file>_ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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. |
|
|
|
|
|
core FODs (found as for sic: relax_core_mode, FODs within 0.35 r_cov of a nucleus): ‘free’ or ‘fixed’ |
|
|
‘’ disables; see mod_pzsic_kli.F90 |
|
|
none/energy/foster_boys_spread/ace_surrogate |
|
|
‘bfgs’/’cg’/’steepest’ |
|
|
‘none’/’surrogate’ |
|
|
|
|
|
‘cartesian’/’internal’ |
|
|
free/fixed/rigid |
|
|
Ha; 0 disables (kli) |
|
|
‘wolfe’/’backtracking’ (kli) |
|
|
Ha/Bohr |
|
|
outer (full-SCF) iterations |
|
|
Bohr |
|
|
direct/two-point FOD relaxation restarts |
|
|
bohr |
|
|
|
|
|
|
|
|
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). |
|
|
sic_solver=jacobi + fod_optimization=energy only |
|
|
fod_optimization=energy only |
|
|
|
|
|
|
|
|
|
|
|
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. |
|
|
sic_solver=kli only |
atoms (per atom, 10 keys)¶
key |
meaning |
|---|---|
|
element symbol (or atomic number) |
|
Cartesian position [x, y, z] in system: units |
|
initial local spin moment of the atom (guess / fixed-moment bookkeeping) |
|
local spin quantization axis (noncollinear runs) |
|
all-electron (ALL) or ECP core for this atom |
|
atomic mass for frequencies / IRC (default: most abundant isotope) |
|
|
|
|
|
|
|
per-atom mesh map {nrpt, lm, alp_n, m_n}, overriding mesh_default |