Computation of the separatrix of basins of attraction in a non-smooth dynamical system