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(*args)

Overloaded versions

  • build_distributed_mesh(mesh)

    Build a distributed mesh from a local mesh on process 0

  • build_distributed_mesh(mesh, cell_partition, ghost_mode)

    Build a distributed mesh from a local mesh on process 0, with distribution of cells supplied (destination processes for each cell)

  • build_distributed_mesh(mesh, data, ghost_mode)

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

thisown

The membership flag