Title: Potential and viscous flow problems using the boundary element method