core
Core recipes for ORCA.
ase_quasi_irc_perturb_job ¶
ase_quasi_irc_perturb_job(
atoms: Atoms,
mode: list[list[float]] | NDArray,
perturb_magnitude: float = 0.6,
direction: Literal["forward", "reverse"] = "forward",
charge: int = 0,
spin_multiplicity: int = 1,
xc: str = "wb97x-d3bj",
basis: str = "def2-tzvp",
orcasimpleinput: list[str] | None = None,
orcablocks: list[str] | None = None,
opt_params: OptParams | None = None,
nprocs: int | Literal["max"] = "max",
copy_files: (
SourceDirectory
| dict[SourceDirectory, Filenames]
| None
) = None,
) -> cclibASEOptSchema
Quasi-IRC to optimize a reaction endpoint from a transition-state with known vibrational frequency modes.
Perturbs the structure of atoms
by a finite amount (0.6 * the normalized mode magnitude) along the specified
vibrational frequency mode (assumed to be the transition mode), and then performs a relax_job
on the perturbed
structure.
Parameters:
-
atoms
(Atoms
) –Atoms object
-
mode
(list[list[float]] | NDArray
) –Transition mode. This should be an Nx3 matrix, where N is the number of atoms in
atoms
. -
perturb_magnitude
(float
, default:0.6
) –Factor to multiply the transition mode. Default is 0.6. In some cases, it may be advisable to increase this factor, perhaps to 1.0 or 1.1. Lowering it is not generally found to be helpful.
-
direction
(Literal['forward', 'reverse']
, default:'forward'
) –Direction of the (Quasi)IRC. Should be "forward" or "reverse".
-
charge
(int
, default:0
) –Charge of the system.
-
spin_multiplicity
(int
, default:1
) –Multiplicity of the system.
-
xc
(str
, default:'wb97x-d3bj'
) –Exchange-correlation functional
-
basis
(str
, default:'def2-tzvp'
) –Basis set.
-
orcasimpleinput
(list[str] | None
, default:None
) –List of
orcasimpleinput
swaps for the calculator. To remove entries from the defaults, put a#
in front of the name. Refer to the ase.calculators.orca.ORCA calculator for details onorcasimpleinput
. -
orcablocks
(list[str] | None
, default:None
) –List of
orcablocks
swaps for the calculator. To remove entries from the defaults, put a#
in front of the name. Refer to the ase.calculators.orca.ORCA calculator for details onorcablocks
. -
nprocs
(int | Literal['max']
, default:'max'
) –Number of processors to use. Defaults to the number of physical cores.
-
copy_files
(SourceDirectory | dict[SourceDirectory, Filenames] | None
, default:None
) –Files to copy (and decompress) from source to the runtime directory.
Returns:
-
cclibASEOptSchema
–Dictionary of results from quacc.schemas.cclib.cclib_summarize_run merged with the results from quacc.schemas.ase.summarize_opt_run. See the type-hint for the data structure.
Source code in quacc/recipes/orca/core.py
291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 |
|
ase_relax_job ¶
ase_relax_job(
atoms: Atoms,
charge: int = 0,
spin_multiplicity: int = 1,
xc: str = "wb97x-d3bj",
basis: str = "def2-tzvp",
orcasimpleinput: list[str] | None = None,
orcablocks: list[str] | None = None,
opt_params: OptParams | None = None,
nprocs: int | Literal["max"] = "max",
copy_files: (
SourceDirectory
| dict[SourceDirectory, Filenames]
| None
) = None,
) -> cclibASEOptSchema
Carry out a geometry optimization.
Parameters:
-
atoms
(Atoms
) –Atoms object
-
charge
(int
, default:0
) –Charge of the system.
-
spin_multiplicity
(int
, default:1
) –Multiplicity of the system.
-
xc
(str
, default:'wb97x-d3bj'
) –Exchange-correlation functional
-
basis
(str
, default:'def2-tzvp'
) –Basis set.
-
orcasimpleinput
(list[str] | None
, default:None
) –List of
orcasimpleinput
swaps for the calculator. To remove entries from the defaults, put a#
in front of the name. Refer to the ase.calculators.orca.ORCA calculator for details onorcasimpleinput
. -
orcablocks
(list[str] | None
, default:None
) –List of
orcablocks
swaps for the calculator. To remove entries from the defaults, put a#
in front of the name. Refer to the ase.calculators.orca.ORCA calculator for details onorcablocks
. -
nprocs
(int | Literal['max']
, default:'max'
) –Number of processors to use. Defaults to the number of physical cores.
-
copy_files
(SourceDirectory | dict[SourceDirectory, Filenames] | None
, default:None
) –Files to copy (and decompress) from source to the runtime directory.
Returns:
-
cclibASEOptSchema
–Dictionary of results from quacc.schemas.cclib.cclib_summarize_run merged with the results from quacc.schemas.ase.summarize_opt_run. See the type-hint for the data structure.
Source code in quacc/recipes/orca/core.py
freq_job ¶
freq_job(
atoms: Atoms,
charge: int = 0,
spin_multiplicity: int = 1,
xc: str = "wb97x-d3bj",
basis: str = "def2-tzvp",
numerical: bool = False,
orcasimpleinput: list[str] | None = None,
orcablocks: list[str] | None = None,
nprocs: int | Literal["max"] = "max",
copy_files: (
SourceDirectory
| dict[SourceDirectory, Filenames]
| None
) = None,
) -> cclibSchema
Carry out a vibrational frequency analysis calculation.
Parameters:
-
atoms
(Atoms
) –Atoms object
-
charge
(int
, default:0
) –Charge of the system.
-
spin_multiplicity
(int
, default:1
) –Multiplicity of the system.
-
xc
(str
, default:'wb97x-d3bj'
) –Exchange-correlation functional
-
basis
(str
, default:'def2-tzvp'
) –Basis set
-
numerical
(bool
, default:False
) –If True (default False), a numeric frequency calculation will be requested
-
orcasimpleinput
(list[str] | None
, default:None
) –List of
orcasimpleinput
swaps for the calculator. To remove entries from the defaults, put a#
in front of the name. Refer to the ase.calculators.orca.ORCA calculator for details onorcasimpleinput
. -
orcablocks
(list[str] | None
, default:None
) –List of
orcablocks
swaps for the calculator. To remove entries from the defaults, put a#
in front of the name. Refer to the ase.calculators.orca.ORCA calculator for details onorcablocks
. -
nprocs
(int | Literal['max']
, default:'max'
) –Number of processors to use. Defaults to the number of physical cores.
-
copy_files
(SourceDirectory | dict[SourceDirectory, Filenames] | None
, default:None
) –Files to copy (and decompress) from source to the runtime directory.
Returns:
-
cclibSchema
–Dictionary of results from quacc.schemas.cclib.cclib_summarize_run. See the type-hint for the data structure.
Source code in quacc/recipes/orca/core.py
relax_job ¶
relax_job(
atoms: Atoms,
charge: int = 0,
spin_multiplicity: int = 1,
xc: str = "wb97x-d3bj",
basis: str = "def2-tzvp",
run_freq: bool = False,
orcasimpleinput: list[str] | None = None,
orcablocks: list[str] | None = None,
nprocs: int | Literal["max"] = "max",
copy_files: (
SourceDirectory
| dict[SourceDirectory, Filenames]
| None
) = None,
) -> cclibSchema
Carry out a geometry optimization.
Parameters:
-
atoms
(Atoms
) –Atoms object
-
charge
(int
, default:0
) –Charge of the system.
-
spin_multiplicity
(int
, default:1
) –Multiplicity of the system.
-
xc
(str
, default:'wb97x-d3bj'
) –Exchange-correlation functional
-
basis
(str
, default:'def2-tzvp'
) –Basis set
-
run_freq
(bool
, default:False
) –If a frequency calculation should be carried out.
-
orcasimpleinput
(list[str] | None
, default:None
) –List of
orcasimpleinput
swaps for the calculator. To remove entries from the defaults, put a#
in front of the name. Refer to the ase.calculators.orca.ORCA calculator for details onorcasimpleinput
. -
orcablocks
(list[str] | None
, default:None
) –List of
orcablocks
swaps for the calculator. To remove entries from the defaults, put a#
in front of the name. Refer to the ase.calculators.orca.ORCA calculator for details onorcablocks
. -
nprocs
(int | Literal['max']
, default:'max'
) –Number of processors to use. Defaults to the number of physical cores.
-
copy_files
(SourceDirectory | dict[SourceDirectory, Filenames] | None
, default:None
) –Files to copy (and decompress) from source to the runtime directory.
Returns:
-
cclibSchema
–Dictionary of results from quacc.schemas.cclib.cclib_summarize_run. See the type-hint for the data structure.
Source code in quacc/recipes/orca/core.py
static_job ¶
static_job(
atoms: Atoms,
charge: int = 0,
spin_multiplicity: int = 1,
xc: str = "wb97x-d3bj",
basis: str = "def2-tzvp",
orcasimpleinput: list[str] | None = None,
orcablocks: list[str] | None = None,
nprocs: int | Literal["max"] = "max",
copy_files: (
SourceDirectory
| dict[SourceDirectory, Filenames]
| None
) = None,
) -> cclibSchema
Carry out a single-point calculation.
Parameters:
-
atoms
(Atoms
) –Atoms object
-
charge
(int
, default:0
) –Charge of the system.
-
spin_multiplicity
(int
, default:1
) –Multiplicity of the system.
-
xc
(str
, default:'wb97x-d3bj'
) –Exchange-correlation functional
-
basis
(str
, default:'def2-tzvp'
) –Basis set
-
orcasimpleinput
(list[str] | None
, default:None
) –List of
orcasimpleinput
swaps for the calculator. To remove entries from the defaults, put a#
in front of the name. Refer to the ase.calculators.orca.ORCA calculator for details onorcasimpleinput
. -
orcablocks
(list[str] | None
, default:None
) –List of
orcablocks
swaps for the calculator. To remove entries from the defaults, put a#
in front of the name. Refer to the ase.calculators.orca.ORCA calculator for details onorcablocks
. -
nprocs
(int | Literal['max']
, default:'max'
) –Number of processors to use. Defaults to the number of physical cores.
-
copy_files
(SourceDirectory | dict[SourceDirectory, Filenames] | None
, default:None
) –Files to copy (and decompress) from source to the runtime directory.
Returns:
-
cclibSchema
–Dictionary of results from quacc.schemas.cclib.cclib_summarize_run. See the type-hint for the data structure.