Skip to content
Snippets Groups Projects
Commit bb04f575 authored by Andrew Heather's avatar Andrew Heather Committed by Mark OLESEN
Browse files

ENH: runTimeControl - enable resetting the trigger to an earlier instant

The runTimeControl function object can activate further function objects using
triggers. Previously the trigger index could only advance; this change set
allows users to set smaller values to enable function object recycling, e.g.

Repeat for N cycles:
1. average the pressure at a point in space
2. when the average stabilises, run for a further 100 iterations
3. set a new patch inlet velocity
  - back to (1)

- Removes old default behaviour that only permitted an increase in the
  trigger level. This type of 'ratcheting' mechanism (if required) is
  now the responsibility of the derived function object.
parent 53c2eae5
No related branches found
No related tags found
1 merge request!523ENH: runTimeControl - enable resetting the trigger to an earlier instant
Showing
with 147 additions and 63 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment