Design of photocatalytic reactors made easy by considering the photons as immaterial reactants.