Rigorous theory of the diaphragm cell when the diffusion coefficient depends upon concentration