Dark-ages reionization and galaxy formation simulation – III. Modelling galaxy formation and the epoch of reionization | Synapse