On the general boundary element method