core
Core recipes for Onetep.
BASE_SET
module-attribute
¶
BASE_SET = {
"keywords": {
"output_detail": "verbose",
"do_properties": True,
"cutoff_energy": "600 eV",
"task": "SinglePoint",
}
}
ase_relax_job ¶
ase_relax_job(
atoms: Atoms,
relax_cell: bool = False,
opt_params: OptParams | None = None,
copy_files: (
SourceDirectory
| dict[SourceDirectory, Filenames]
| None
) = None,
**calc_kwargs
) -> RunSchema
Function to carry out a structure relaxation with ONETEP using ASE external optimizers.
Parameters:
-
atoms
(Atoms
) –The Atoms object.
-
relax_cell
(bool
, default:False
) –True if a volume relaxation should be performed. False if only the positions should be updated.
-
opt_params
(OptParams | None
, default:None
) –Dictionary of custom kwargs for the optimization process. For a list of available keys, refer to quacc.runners.ase.run_opt.
-
copy_files
(SourceDirectory | dict[SourceDirectory, Filenames] | None
, default:None
) –Files to copy (and decompress) from source to the runtime directory.
-
**calc_kwargs
–Additional keyword arguments to pass to the ONETEP calculator.
Returns:
-
RunSchema
–Dictionary of results from quacc.schemas.ase.summarize_run. See the type-hint for the data structure.
Source code in quacc/recipes/onetep/core.py
static_job ¶
static_job(
atoms: Atoms,
copy_files: (
SourceDirectory
| dict[SourceDirectory, Filenames]
| None
) = None,
**calc_kwargs
) -> RunSchema
Function to carry out a basic SCF calculation with ONETEP.
Parameters:
-
atoms
(Atoms
) –The Atoms object.
-
copy_files
(SourceDirectory | dict[SourceDirectory, Filenames] | None
, default:None
) –Files to copy (and decompress) from source to the runtime directory.
-
**calc_kwargs
–Custom kwargs for the ONETEP calculator. Set a value to
quacc.Remove
to remove a pre-existing key entirely. For a list of available keys, refer to the ase.calculators.onetep.Onetep calculator.
Returns:
-
RunSchema
–Dictionary of results, specified in quacc.schemas.ase.summarize_run. See the type-hint for the data structure.