vibeqc.run_periodic_job¶
- vibeqc.run_periodic_job(system, basis, *, method='RHF', functional=None, jk_method='auto', aux_basis=None, output='output', use_diis=True, damping=0.0, fmixing_percent=None, smearing=None, smearing_temperature=0.0, smearing_unit='hartree', smearing_method='fermi-dirac', smearing_metallic=None, smearing_band_gap_hartree=None, diis_start_iter=2, diis_subspace_size=8, max_iter=80, conv_tol_energy=1e-07, initial_guess='SAD', write_molden_file=True, write_density=False, density_spacing_bohr=0.2, write_xyz_file=True, write_poscar_file=True, write_xsf_structure_file=True, write_cif_file=True, write_population_file=True, citations=True, dry_run=False, record_hostname=True, progress=None, verbose=None, dispersion=None, dispersion_backend='auto', dispersion_cutoff_bohr=50.0, ewald_omega=None, ewald_precision=1e-08, use_oda=False, oda_trust_lambda_max=1.0, use_mom=False, level_shift=0.0, kpoints=None, reduce_to_primitive=False, symmetry_precision=0.0001, symmetry=False, symmetry_stabilize=False, symmetry_reduce_fock=False, use_multipole_far_field=False, multipole_l_max=2, optimize=False, optimize_max_iter=30, optimize_conv_tol_grad=0.0001, optimize_cell=False, output_qvf=False, hessian=False, band_structure=None, dft_plus_u=None)[source]¶
Run a periodic SCF job and write the standard output files.
Mirrors
vibeqc.run_job()but for periodic systems. Γ-only RHF/RKS GDF is the default when no k-mesh is specified. Multi-k RHF/RKS GDF and UHF/UKS BIPOLE are available viakpoints.- Parameters:
system (PeriodicSystem) – Periodic system + AO basis.
basis (BasisSet) – Periodic system + AO basis.
method (str) –
"RHF","UHF","RKS"or"UKS". Closed-shell RHF / RKS dispatch through the Γ-only or multi-k GDF path depending onkpoints; open-shell UHF / UKS dispatch through the BIPOLE Γ-only driver and requirekpointsunset (or set to Γ).functional (Optional[str]) – XC functional for
method="RKS"ormethod="UKS".output (Union[str, os.PathLike]) – Path stem; produces
{output}.out,{output}.system,{output}.molden,{output}.xsf(whenwrite_density).band_structure (Optional['BandStructure']) – Optional
BandStructurepre-computed byvibeqc.band_structure()(or_hcore). When given together withoutput_qvf=True, the band structure is embedded in the QVF archive so vibe-view can render an interactive Plotly band-structure plot. Compute it before calling this function — the same workflow used for matplotlib plotting withvibeqc.plot.band_structure_figure().aux_basis (Optional[str]) – Optional auxiliary basis for
jk_method="gdf". If omitted, vibe-qc chooses the current native-GDF default forbasis.name.use_diis (bool)
damping (float)
fmixing_percent (Optional[float])
diis_start_iter (int)
jk_method (Union[str, 'PeriodicJKMethod'])
smearing (Optional[SmearingOptions])
smearing_unit (str)
smearing_method (str)
smearing_metallic (Optional[bool])
smearing_band_gap_hartree (Optional[float])
diis_subspace_size (int)
max_iter (int)
conv_tol_energy (float)
initial_guess (str)
write_molden_file (bool)
write_density (bool)
density_spacing_bohr (float)
write_xyz_file (bool)
write_poscar_file (bool)
write_xsf_structure_file (bool)
write_cif_file (bool)
write_population_file (bool)
citations (bool)
dry_run (bool)
record_hostname (bool)
progress (Union[bool, ProgressLogger, None])
verbose (Optional[int])
dispersion_backend (str)
dispersion_cutoff_bohr (float)
ewald_omega (Optional[float])
ewald_precision (float)
use_oda (bool)
oda_trust_lambda_max (float)
use_mom (bool)
level_shift (float)
reduce_to_primitive (bool)
symmetry_precision (float)
symmetry_stabilize (bool)
symmetry_reduce_fock (bool)
use_multipole_far_field (bool)
multipole_l_max (int)
optimize (bool)
optimize_max_iter (int)
optimize_conv_tol_grad (float)
optimize_cell (bool)
output_qvf (bool)
hessian (bool)
dft_plus_u (Optional[List['HubbardSite']])
:param : :param diis_subspace_size: SCF controls forwarded to the periodic driver.
fmixing_percentmirrors CRYSTAL’sFMIXINGkeyword: the percentage of the previous Fock/KS matrix mixed into the matrix diagonalised on the next cycle. It is separate from density damping.smearingaccepts the newvibeqc.SmearingOptionssurface. The legacysmearing_temperaturemay be a numeric electronick_B T(interpreted viasmearing_unit),"auto","metal","small-gap","debug","none"/"off", orNone. Onlysmearing_method="fermi-dirac"is implemented today.smearing_metallicandsmearing_band_gap_hartreeguide the conservative"auto"guess.- Parameters:
max_iter (int) – SCF controls forwarded to the periodic driver.
fmixing_percentmirrors CRYSTAL’sFMIXINGkeyword: the percentage of the previous Fock/KS matrix mixed into the matrix diagonalised on the next cycle. It is separate from density damping.smearingaccepts the newvibeqc.SmearingOptionssurface. The legacysmearing_temperaturemay be a numeric electronick_B T(interpreted viasmearing_unit),"auto","metal","small-gap","debug","none"/"off", orNone. Onlysmearing_method="fermi-dirac"is implemented today.smearing_metallicandsmearing_band_gap_hartreeguide the conservative"auto"guess.conv_tol_energy (float) – SCF controls forwarded to the periodic driver.
fmixing_percentmirrors CRYSTAL’sFMIXINGkeyword: the percentage of the previous Fock/KS matrix mixed into the matrix diagonalised on the next cycle. It is separate from density damping.smearingaccepts the newvibeqc.SmearingOptionssurface. The legacysmearing_temperaturemay be a numeric electronick_B T(interpreted viasmearing_unit),"auto","metal","small-gap","debug","none"/"off", orNone. Onlysmearing_method="fermi-dirac"is implemented today.smearing_metallicandsmearing_band_gap_hartreeguide the conservative"auto"guess.initial_guess (str) –
"SAD"(default) or"HCORE".write_molden_file (bool) – Emit
{output}.moldenof the Γ-point MOs (using the unit-cell molecule + basis as the molecular target).write_density (bool) – Emit
{output}.xsfwith the SCF density on a primitive-cell grid (XSF works for any lattice; cube is orthorhombic-only).density_spacing_bohr (float) – Grid spacing for the XSF density. Default 0.2 bohr.
hessian (bool) – When True, compute harmonic vibrational frequencies for the unit-cell molecule via finite-difference Hessian. Frequencies and IR intensities printed to .out and embedded in QVF for vibe-view. Default False. Cost: ~6N SCF evaluations for the unit cell.
system (PeriodicSystem)
basis (BasisSet)
method (str)
functional (Optional[str])
jk_method (Union[str, 'PeriodicJKMethod'])
aux_basis (Optional[str])
output (Union[str, os.PathLike])
use_diis (bool)
damping (float)
fmixing_percent (Optional[float])
smearing (Optional[SmearingOptions])
smearing_unit (str)
smearing_method (str)
smearing_metallic (Optional[bool])
smearing_band_gap_hartree (Optional[float])
diis_start_iter (int)
diis_subspace_size (int)
write_xyz_file (bool)
write_poscar_file (bool)
write_xsf_structure_file (bool)
write_cif_file (bool)
write_population_file (bool)
citations (bool)
dry_run (bool)
record_hostname (bool)
progress (Union[bool, ProgressLogger, None])
verbose (Optional[int])
dispersion_backend (str)
dispersion_cutoff_bohr (float)
ewald_omega (Optional[float])
ewald_precision (float)
use_oda (bool)
oda_trust_lambda_max (float)
use_mom (bool)
level_shift (float)
reduce_to_primitive (bool)
symmetry_precision (float)
symmetry_stabilize (bool)
symmetry_reduce_fock (bool)
use_multipole_far_field (bool)
multipole_l_max (int)
optimize (bool)
optimize_max_iter (int)
optimize_conv_tol_grad (float)
optimize_cell (bool)
output_qvf (bool)
band_structure (Optional['BandStructure'])
dft_plus_u (Optional[List['HubbardSite']])