Theory and Implementation of Coupled Port-Hamiltonian Continuum and Lumped Parameter Models