Mixing Calculators
The most general class when all of the calculators has their own weight and returns with the linear combination of calculated values. It can be used when there are different calculators eg. for the different chemical environment or during delta leaning.
- class ase.calculators.mixing.LinearCombinationCalculator(calcs, weights)[source]
Weighted summation of multiple calculators.
Implementation of sum of calculators.
- calcs: list
List of an arbitrary number of
ase.calculators
objects.- weights: list of float
Weights for each calculator in the list.
There are three special variants of LinearCombinationCalculator which are available for specific tasks:
- class ase.calculators.mixing.MixedCalculator(calc1, calc2, weight1, weight2)[source]
Mixing of two calculators with different weights
H = weight1 * H1 + weight2 * H2
Has functionality to get the energy contributions from each calculator
- Parameters:
Implementation of sum of calculators.
- calcs: list
List of an arbitrary number of
ase.calculators
objects.- weights: list of float
Weights for each calculator in the list.
- class ase.calculators.mixing.SumCalculator(calcs)[source]
SumCalculator for combining multiple calculators.
This calculator can be used when there are different calculators for the different chemical environment or for example during delta leaning. It works with a list of arbitrary calculators and evaluates them in sequence when it is required. The supported properties are the intersection of the implemented properties in each calculator.
Implementation of sum of calculators.
- calcs: list
List of an arbitrary number of
ase.calculators
objects.
- class ase.calculators.mixing.AverageCalculator(calcs)[source]
AverageCalculator for equal summation of multiple calculators (for thermodynamic purposes).
Implementation of average of calculators.
- calcs: list
List of an arbitrary number of
ase.calculators
objects.