gadget-framework / gadget3

TMB-based gadget implemtation
GNU General Public License v2.0
8 stars 6 forks source link

g3a_action_order constant #80

Closed lentinj closed 5 months ago

lentinj commented 2 years ago

Should have an enum-alike rather than magic values.

Would it have to be data though?

lentinj commented 2 years ago
action_order <- list(
  'time' = 0,
  'printing' = 1,
  'migration' = 2,
  'consumption' = 3,
  'natural_mortality' = 4,
  'growth' = 5,
  'spawning' = 6,
  'maturation' = 7,
  'recruitment' = 8,
  'straying' = 9,
  'likelihood' = 10,
  'reporting' = 11,
  'ageing' = 12
)