# 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. 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 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 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 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 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 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 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) constrain_axis: [0, 0, 0] # hold the total moment along a direction; zero = off mixing: method: diis # diis (the best-tested choice) | broyden broyden_alpha: 0.15 # Broyden mixing parameter broyden_max_vecs: 8 # Broyden history length 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 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 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 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 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 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 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 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 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 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) 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 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 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 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) 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 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 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 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 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