A 3D non-local density functional theory for any pore geometry. (1st June 2020)