Join GitHub today
[DataUpdate] ADD: necessary State Setting mechanisms #823
This PR sets up a Component State Checking mechanism that allows to know if a call to init / reinit is necessary, and whether or not the component took into account any change applied to its data fields.
The idea is that Each component's state can be:
Because I don't trust programmes to implement the mechanism in their own components, and because it would require all already-implemented component to perform checks in order to get a consistent idea of what's happening, I decided to (try to) embed the state setting mechanisms inside the simulation:
@damienmarchal do you see a non-intrusive solution to the reinit() problem...?
Reviewers will merge only if all these checks are true.