Home
last modified time | relevance | path

Searched refs:netnum (Results 1 – 2 of 2) sorted by relevance

/petsc/doc/manual/
H A Ddmnetwork.md50 …MNetworkAddSubnetwork(DM dm, const char* name, PetscInt ne, PetscInt edgelist[], PetscInt *netnum);
54 The output `netnum` is the global numbering of the subnetwork in the network.
151 DMNetworkGetSubnetwork(DM dm, PetscInt netnum, PetscInt *nv, PetscInt *ne, const PetscInt **vtx, co…
/petsc/src/dm/impls/network/
H A Dnetwork.c212 …DMNetworkAddSubnetwork(DM dm, const char *name, PetscInt ne, PetscInt edgelist[], PetscInt *netnum) in DMNetworkAddSubnetwork() argument
281 if (netnum) *netnum = network->cloneshared->nsubnet; in DMNetworkAddSubnetwork()
815 PetscErrorCode DMNetworkGetSubnetwork(DM dm, PetscInt netnum, PeOp PetscInt *nv, PeOp PetscInt *ne,… in DMNetworkGetSubnetwork() argument
820netnum < network->cloneshared->Nsubnet, PETSC_COMM_SELF, PETSC_ERR_ARG_OUTOFRANGE, "Subnet index %… in DMNetworkGetSubnetwork()
821 if (nv) *nv = network->cloneshared->subnet[netnum].nvtx; in DMNetworkGetSubnetwork()
822 if (ne) *ne = network->cloneshared->subnet[netnum].nedge; in DMNetworkGetSubnetwork()
823 if (vtx) *vtx = network->cloneshared->subnet[netnum].vertices; in DMNetworkGetSubnetwork()
824 if (edge) *edge = network->cloneshared->subnet[netnum].edges; in DMNetworkGetSubnetwork()