The Hydrodynamics of Active Particles Inside of a Porous Container and the Galerkin Boundary Element Discretization of Stokes Flow