local_delta_value#
- ClusterExpansion.local_delta_value(
- self: ClusterExpansion,
- key: str,
- linear_site_index: SupportsInt,
- new_value: Annotated[numpy.typing.ArrayLike, numpy.float64, '[m, 1]'],
Calculate the change in cluster expansion value due to a change in a local DoF value
- Parameters:
key (str) – The type of local DoF that is changed.
linear_site_index (int) – Linear site index where a local DoF value is changed.
new_value (array_like) – The value the local DoF is changed to, in the prim basis.