Rewrite of GERRRIS flow solver