Takes deterministic recruitment from sim_det_recruitment, multiplies it
by the year's lognormal deviations from draw_sim_rec_devs, apportions it
across sexes and seasons, and writes it into the age-one slot of
sim_env$NAA, with NAA0 synchronized to match. A Rec_input
covering year y overrides the draw entirely.
Arguments
- y
Integer. Year index.
- sim
Integer. Simulation replicate index.
- sim_env
Simulation environment from
Setup_sim_env, modified in place:$ln_RecDevs,$Rec,$NAAand$NAA0.- seas
Integer. Season this recruitment first enters in, through
rec_seas_prop[p, seas, sim]. Default1, the classicrec_lag >= 1case where the whole year's recruitment is known before season one.rec_lag = 0instead calls this withseas = spawn_seas, the earliest season this year's own SSB is knowable. Seeapply_pop_dy.