#include "petscdmnetwork.h" PetscErrorCode DMNetworkSetSizes(DM dm,PetscInt Nsubnet,PetscInt nV[], PetscInt nE[],PetscInt NsubnetCouple,PetscInt nec[])Collective on dm
dm | - the dm object | |
Nsubnet | - global number of subnetworks | |
nV | - number of local vertices for each subnetwork | |
nE | - number of local edges for each subnetwork | |
NsubnetCouple | - global number of coupling subnetworks | |
nec | - number of local edges for each coupling subnetwork |
You cannot change the sizes once they have been set. nV, nE are arrays of length Nsubnet, and nec is array of length NsubnetCouple.