Weak solutions of port-Hamiltonian systems | Synapse