Applies the instantaneous changes specified by a rescomp_event
object to the full set of state variables (species and resources).
apply_event(event_obj, species, resources, params, time)
A vector of state variables, species concentrations followed by resource concentrations.
This function is normally only for internal use, but is exported to aid users in debugging their created rescomp_event
objects.
# TODO