#include "petscdmnetwork.h" PetscErrorCode DMNetworkGetSubnetwork(DM dm,PetscInt netnum,PetscInt *nv,PetscInt *ne,const PetscInt **vtx,const PetscInt **edge)Not collective
| dm | - the DM object | |
| netnum | - the global index of the subnetwork |
| nv | - number of vertices (local) | |
| ne | - number of edges (local) | |
| vtx | - local vertices of the subnetwork | |
| edge | - local edges of the subnetwork |
The local vertices returned on each rank are determined by DMNetwork. The user does not have any control over what vertices are local.