multiscale / muscle3

The third major version of the MUltiScale Coupling Library and Environment
Apache License 2.0
25 stars 13 forks source link

Settings should be iterable #170

Closed LourensVeen closed 1 year ago

LourensVeen commented 1 year ago

Given an Instance, it should be possible to iterate through the names of the settings, so that a component can flexibly interpret them. Probably not needed for models, but for special components it could be useful. For example, a UQ component could iterate and detect settings of the form par.<name>.mean and par.<name>.stddev and generate samples for <name> accordingly. Another use case would be some kind of connector that automatically passes through all settings.

Maybe just have a function that returns all the setting names as a list of strings?

LourensVeen commented 1 year ago

Released in 0.7.0.