smash.Model.get_serr_sigma_parameters_bounds#

Model.get_serr_sigma_parameters_bounds()[source]#

Get the boundary condition for the Model structural error sigma parameters.

Returns:
boundsdict[str, tuple[float, float]]

A dictionary representing the boundary condition for each structural error sigma parameter.

Examples

>>> from smash.factory import load_dataset
>>> setup, mesh = load_dataset("cance")
>>> model = smash.Model(setup, mesh)
>>> model.get_serr_sigma_parameters_bounds()
{'sg0': (1e-06, 1000.0), 'sg1': (1e-06, 10.0)}

Note

This method allows you to find out the default bounds for the structural error sigma parameters. These bounds are used during optimization if they are not modified in the optimization method argument.