sisl.mixing.PulayMixer
- class sisl.mixing.PulayMixer
Bases:
DIISMixerMethods
Calculate coefficients of the Lagrangian
mix(coefficients)Calculate a new variable \(\mathbf f'\) using history and input coefficients
set_history(history)Replace the current history in the mixer with a new one
set_weight(weight)Set a new weight for this mixer
Calculate the coefficients according to Pulay's method, return everything + Lagrange multiplier
Attributes
History object tracked by this mixer
This mixers mixing weight, the weight is the fractional contribution of the derivative
- __call__(f, df, delta=None, append=True)
Append data to the history (omitting None values)!
- coefficients()
Calculate coefficients of the Lagrangian
- Return type:
npt.NDArray[np.float64]
- mix(coefficients)
Calculate a new variable \(\mathbf f'\) using history and input coefficients
- set_history(history)
Replace the current history in the mixer with a new one
- set_weight(weight)
Set a new weight for this mixer