Home
last modified time | relevance | path

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

/petsc/src/ts/tutorials/network/
H A Dpipes.c300 PetscInt i, numkeys = 1, *blocksize, *numselectedvariable, **selectedvariables, n; in PipesView() local
310 …PetscCall(PetscMalloc3(numkeys, &blocksize, numkeys, &numselectedvariable, numkeys, &selectedvaria… in PipesView()
311 for (i = 0; i < numkeys; i++) { in PipesView()
317 …PetscCall(DMNetworkCreateIS(networkdm, numkeys, &KeyPipe, blocksize, numselectedvariable, selected… in PipesView()
339 for (i = 0; i < numkeys; i++) selectedvariables[i][0] = 1; /* h-variable */ in PipesView()
340 …PetscCall(DMNetworkCreateIS(networkdm, numkeys, &KeyPipe, blocksize, numselectedvariable, selected… in PipesView()
353 …for (i = 0; i < numkeys; i++) blocksize[i] = -1; /* select all the variables of the i-th component… in PipesView()
354 PetscCall(DMNetworkCreateIS(networkdm, numkeys, &KeyPipe, blocksize, NULL, NULL, &isfrom)); in PipesView()
356 PetscCall(DMNetworkCreateIS(networkdm, numkeys, &KeyPipe, NULL, NULL, NULL, &isfrom)); in PipesView()
374 for (i = 0; i < numkeys; i++) PetscCall(PetscFree(selectedvariables[i])); in PipesView()
[all …]
/petsc/src/dm/impls/network/
H A Dnetwork.c2986 static inline PetscErrorCode DMISAddSize_private(DM_Network *network, PetscInt p, PetscInt numkeys,… in DMISAddSize_private() argument
2999 for (j = 0; j < numkeys; j++) { in DMISAddSize_private()
3012 static inline PetscErrorCode DMISComputeIdx_private(DM dm, PetscInt p, PetscInt numkeys, PetscInt k… in DMISComputeIdx_private() argument
3026 for (j = 0; j < numkeys; j++) { in DMISComputeIdx_private()
3065 PetscErrorCode DMNetworkCreateIS(DM dm, PetscInt numkeys, PetscInt keys[], PetscInt blocksize[], Pe… in DMNetworkCreateIS() argument
3076 for (i = 0; i < numkeys; i++) { in DMNetworkCreateIS()
3086 …for (p = estart; p < eend; p++) PetscCall(DMISAddSize_private(network, p, numkeys, keys, blocksize… in DMNetworkCreateIS()
3090 PetscCall(DMISAddSize_private(network, p, numkeys, keys, blocksize, nselectedvar, &nidx)); in DMNetworkCreateIS()
3096 …for (p = estart; p < eend; p++) PetscCall(DMISComputeIdx_private(dm, p, numkeys, keys, blocksize, … in DMNetworkCreateIS()
3100 …PetscCall(DMISComputeIdx_private(dm, p, numkeys, keys, blocksize, nselectedvar, selectedvar, &i, i… in DMNetworkCreateIS()
[all …]