desc.objectives.FixPressure.compute
- FixPressure.compute(params, constants=None)Source
Compute fixed pressure profile errors.
- 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
- Returns:
f (ndarray) – Fixed profile errors.