The design of a formula 40 catamaran