_base
Base jobs for Onetep.
prep_calculator ¶
prep_calculator(
calc_defaults: dict[str, Any] | None = None,
calc_swaps: dict[str, Any] | None = None,
) -> Onetep
Prepare the Onetep calculator.
Parameters:
-
calc_defaults
(dict[str, Any] | None
, default:None
) –The default calculator parameters.
-
calc_swaps
(dict[str, Any] | None
, default:None
) –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:
-
Onetep
–The Onetep calculator.
Source code in quacc/recipes/onetep/_base.py
run_and_summarize ¶
run_and_summarize(
atoms: Atoms,
calc_defaults: dict[str, Any] | None = None,
calc_swaps: dict[str, Any] | None = None,
additional_fields: dict[str, Any] | None = None,
copy_files: (
SourceDirectory
| dict[SourceDirectory, Filenames]
| None
) = None,
) -> RunSchema
Base function to carry out Onetep recipes.
Parameters:
-
atoms
(Atoms
) –Atoms object
-
calc_defaults
(dict[str, Any] | None
, default:None
) –The default calculator parameters.
-
calc_swaps
(dict[str, Any] | None
, default:None
) –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. -
additional_fields
(dict[str, Any] | None
, default:None
) –Any additional fields to supply to the summarizer.
-
copy_files
(SourceDirectory | dict[SourceDirectory, Filenames] | None
, default:None
) –Files to copy (and decompress) from source to the runtime directory.
Returns:
-
RunSchema
–Dictionary of results from quacc.schemas.ase.summarize_run
Source code in quacc/recipes/onetep/_base.py
run_and_summarize_opt ¶
run_and_summarize_opt(
atoms: Atoms,
calc_defaults: dict[str, Any] | None = None,
calc_swaps: dict[str, Any] | None = None,
opt_defaults: dict[str, Any] | None = None,
opt_params: OptParams | None = None,
additional_fields: dict[str, Any] | None = None,
copy_files: (
SourceDirectory
| dict[SourceDirectory, Filenames]
| None
) = None,
) -> RunSchema
Base function to carry out Onetep recipes with ASE optimizers.
Parameters:
-
atoms
(Atoms
) –Atoms object
-
calc_defaults
(dict[str, Any] | None
, default:None
) –The default calculator parameters.
-
calc_swaps
(dict[str, Any] | None
, default:None
) –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. -
opt_defaults
(dict[str, Any] | None
, default:None
) –The default optimization parameters.
-
opt_params
(OptParams | None
, default:None
) –Dictionary of parameters to pass to the optimizer. pass "optimizer" to change the optimizer being used. "fmax" and "max_steps" are commonly used keywords. See the ASE documentation for more information.
-
additional_fields
(dict[str, Any] | None
, default:None
) –Any additional fields to supply to the summarizer.
-
copy_files
(SourceDirectory | dict[SourceDirectory, Filenames] | None
, default:None
) –Files to copy (and decompress) from source to the runtime directory.
Returns:
-
RunSchema
–Dictionary of results from quacc.schemas.ase.summarize_run