Distribute sequential mesh and function

See for instance: Gather solutions in parallel in FEniCSX - #2 by dokken