Adaptive Methods for the Simulation of Diffusion in Complex Geometries