Theoretical investigation of the ocean-coast effect at a passive continental margin