In discussion under #1470, @d7919 suggested
I wonder if it would be worth introducing a free function communicate(Field3D &var) { var.getMesh()->communicate(var); return;}
I like the idea. Could tidy up user code, reduce uses of global mesh pointer, and allow handling of fields with different meshes in the same call (i.e. if f and g have different fieldmeshes, communicate(f, g) could handle calling communicate from each mesh).
In discussion under #1470, @d7919 suggested
I like the idea. Could tidy up user code, reduce uses of global mesh pointer, and allow handling of fields with different meshes in the same call (i.e. if f and g have different fieldmeshes, communicate(f, g) could handle calling communicate from each mesh).