desc.objectives.DeflationOperator.compute

DeflationOperator.compute(params, constants=None)Source

Compute deflation error.

Parameters:
  • params (dict) – Dictionary of equilibrium degrees of freedom, eg Equilibrium.params_dict

  • constants (dict) – Dictionary of constant data, eg transforms, profiles etc. Defaults to self.constants. (Deprecated)

Returns:

f (scalar) – Deflation error.