gcc has a pb because the template mesh<Variable,Opt> has the name same as the gf mesh method (!). Clang is fine however on this... Solution : rename the template mesh<...> to gf_mesh... Not very elegant, but ok.
simplify : mesh was a impl trait, make it the class itself. corrected the gf, tests and the cython.
- cosmetic : for clarity of the code.