desc.objectives.LinearObjectiveFromUser.compute

LinearObjectiveFromUser.compute(params, constants=None)Source

Compute fixed degree of freedom errors.

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

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

Returns:

f (ndarray) – Fixed degree of freedom errors.