Use getters when acessing mesh_func values.
A minor leftover from latest mesh-func migration : accessing directly to f
should be kept for inside the .c source file.
I didn't thoroughly checked if there is no other places like this one. I was helped by a compiler warning for this one.