Structure of the scrape-off layer and particle fluxes in a limiter tokamak