Enumerations | |
enum | action { advance, takeshot, restore, firsturn, youturn, terminate, error } |
Through an encoding of its return value REVOLVE asks the calling program to perform one of these 'actions', which we will refer to as 'advance', 'takeshot', 'restore', 'firsturn' and 'youturn' . More... |
enum ACTION::action |
Through an encoding of its return value REVOLVE asks the calling program to perform one of these 'actions', which we will refer to as 'advance', 'takeshot', 'restore', 'firsturn' and 'youturn' .
There are two other return values, namely 'terminate' and 'error' which indicate a regular or faulty termination of the calls to REVOLVE. The action 'firsturn' includes a 'youturn', in that it requires -advancing through the last time-step with recording of intermediates -initializing the adjoint values (possibly after performing some IO) -reversing the last time step using the record just written The action 'firsturn' is obtained when the difference FINE-CAPO has been reduced to 1 for the first time.