Smart mixers and reactors for the production of pharmaceutical nanoparticles: Proof of concept