Migration plan object: local elements to destinations. More...
Public Member Functions | |
Migration (Mesh *m) | |
must be constructed with a mesh | |
int | count () |
return the number of elements with assigned destinations | |
MeshEntity * | get (int i) |
get the i'th element with an assigned destination | |
bool | has (MeshEntity *e) |
return true if the element has been assigned a destination | |
void | send (MeshEntity *e, int to) |
assign a destination part id to an element | |
int | sending (MeshEntity *e) |
return the destination part id of an element |
Migration plan object: local elements to destinations.
apf::Migration::Migration | ( | Mesh * | m | ) |
must be constructed with a mesh
use (new apf::Migration(mesh)) to make these objects