Skip to content

[ENHANCEMENT] Call sweep_callback and region_callback from iterators? #266

@emstoudenmire

Description

@emstoudenmire

We should consider having the default_sweep_callback and default_region_callback be called by iterating the SweepIterator and RegionIterator rather than having sweep_solve be responsible for calling these. (There is already a comment in the code suggesting this.) If we did this, then sweep_solve would just be some loops and little else but that's fine.

A key benefit would be that one could use the iterators outside of the sweep_solve setup and still benefit from the callbacks associated to a problem type and/or have a built-in callback system.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions