idaholab / raven

RAVEN is a flexible and multi-purpose probabilistic risk analysis, validation and uncertainty quantification, parameter optimization, model reduction and data knowledge-discovering framework.
https://raven.inl.gov/
Apache License 2.0
212 stars 131 forks source link

[TASK] Allow implementation of functions in the same module for samplers/optimizers #2300

Closed alfoa closed 2 months ago

alfoa commented 2 months ago

Issue Description

Is your feature request related to a problem? Please describe.

For cases where a lot of variables need to be generated using functions, the current approach is to create a single function python module for each variable. For a lot of variables, this will require the creation of tens of files that are difficult to track and maintain (overall in automated workflows)

Describe the solution you'd like

It would be convenient to allow for the implementation of functions in the same module for samplers/optimizers.

Describe alternatives you've considered

Usage of current approach.


For Change Control Board: Issue Review

This review should occur before any development is performed as a response to this issue.


For Change Control Board: Issue Closure

This review should occur when the issue is imminently going to be closed.

wangcj05 commented 2 months ago

issue closure checklist is good.