mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
This guarantees, under the assumption that the group tree does not have cycles, that we do not accumulate group-level guide rate values until all of its children are fully evaluated. We use an iterative depth-first post-order tree traversal with an explicit stack instead of a recursive implementation. The previous implementation, which tried to do the same kind of child-to-parent accumulation, might visit a parent group multiple times which in turn might lead to losing updates. This is a more formalised approach to the value accumulation than was originally employed. |
||
---|---|---|
.. | ||
core/props | ||
simulators |