Generalized method calculating the effective diffusion coefficient in periodic channels.

Generalized method calculating the effective diffusion coefficient in periodic channels.