Title: A study of the boundary element method in heat conduction, elastostatics and elastodynamics with emphasis on computer implementation and coupling with the finite element method