coolfluid/coolfluid3 — pull request #202 by wdeconinck (2012-03-21 08:48:52+00:00)
Title: [ENH] Refactored Mesh parallelization

- Centralized class (mesh::MeshAdaptor) for adapting the mesh, using a centralized location for Table buffers, so that the number of times the buffers must be flushed is reduced.
Operations include:
- add/remove elements
- move elements to other ranks
- grow overlap

- Load balancing now works with any field.
This means it is now possible to
- first read a mesh
- then create spaces and fields of any type
- then load balance
- then create more fields, do calculations
- load balance again

- Note: in order to be working generally for all spaces, shared nodes between ranks are owned by the rank with the lowest pid.
- Future:
- Add function to assign global indices to MeshAdaptor
- Make creation of the graph for mesh-partitioning less intrusive (i.e. renumbering indices)