MeshPartitioning

class dolfin.cpp.mesh.MeshPartitioning

Bases: object

This class partitions and distributes a mesh based on partitioned local mesh data.The local mesh data will also be repartitioned and redistributed during the computation of the mesh partitioning. After partitioning, each process has a local mesh and some data that couples the meshes together.

static build_distributed_mesh()

Build a distributed mesh from ‘local mesh data’ that is distributed across processes

Parameters:
  • & mesh (Mesh) –
  • LocalMeshData & data (const) –
  • std::string ghost_mode (const) –
Return type:

void

thisown

The membership flag