atomistics.calculators.ase.optimize_positions_and_volume_with_ase#
- atomistics.calculators.ase.optimize_positions_and_volume_with_ase(structure: ~ase.atoms.Atoms, ase_calculator: ~ase.calculators.calculator.Calculator, ase_optimizer: ~collections.abc.Callable[[~typing.Any], ~ase.optimize.optimize.Optimizer], ase_optimizer_kwargs: dict, filter_class: ~collections.abc.Callable[[...], ~typing.Any] = <class 'ase.filters.UnitCellFilter'>) Atoms[source]#
Optimize the atomic positions and cell volume of the structure using ASE optimizer.
- Parameters:
structure (Atoms) – The ASE structure object.
ase_calculator (ASECalculator) – The ASE calculator object.
ase_optimizer (Optimizer) – The ASE optimizer object.
ase_optimizer_kwargs (dict) – Keyword arguments for the ASE optimizer.
filter_class (Filter) – The ASE filter class to use for filtering during structure optimization.
- Returns:
The optimized structure.
- Return type:
Atoms