pymead.core.param.default_upper#

default_upper(value: float)[source]#

Sets the default value for a design variable upper bound based on the design variable’s value. For values close to zero, an offset is used. For other values, a multiplier is used.

Parameters:

value (float) – The value of the design variable

Returns:

The default upper bound to use for the design variable

Return type:

float