Non-local variant of the optimised Schwarz method for arbitrary non-overlapping subdomain partitions