Consider adding a global switch for vectorization
Right now there's a per-builder switch vectorized=False
. @slavoutich correctly observed that vectorized code is unlikely to be mixed with unvectorized code, so in order to reduce boilerplate and ease the transition to the vectorized format we may instead implement this flag as a global configuration option and instead require that the user calls kwant.enable_vectorization()
.