Considerable progress in the understanding of thin film flow over surfaces has been achieved thanks to lubrication theory which enables the governing Navier-Stokes equations to be reduced to a more tractable form, namely a coupled set of partial differential equations. These are solved numerically since the flows of interest involve substrates containing heterogeneities in the form of wetting patterns and/or topography. An efficient and accurate numerical method is described and used to solve two classes of problem: droplet spreading in the presence of wetting and topographic heterogeneities; gravity-driven flow of continuous thin liquid films down an inclined surface containing well defined topographic features. The method developed, emplo...