Computation of topological sensitivities in fluid dynamics: Cost function versatility