#include "petscdmnetwork.h" PetscErrorCode DMNetworkSetSizes(DM dm, PetscInt nV, PetscInt nE, PetscInt NV, PetscInt NE)Collective on DM
dm | - the dm object | |
nV | - number of local vertices | |
nE | - number of local edges | |
NV | - number of global vertices (or PETSC_DETERMINE) | |
NE | - number of global edges (or PETSC_DETERMINE) |
Notes If one processor calls this with NV (NE) of PETSC_DECIDE then all processors must, otherwise the prgram will hang.
You cannot change the sizes once they have been set
Level:intermediate
Location:src/dm/impls/network/network.c
Index of all DMNetwork routines
Table of Contents for all manual pages
Index of all manual pages