Terminates the simulation when a given time is reached.
the concentration type
the position type
the end time at which the simulation should terminate