Automated Generation of High-Performance Computational Fluid Dynamics Codes