A multi-domain method for the computation of wave loads