Lines Matching refs:nidx
2986 …, PetscInt numkeys, PetscInt keys[], PetscInt blocksize[], PetscInt nselectedvar[], PetscInt *nidx) in DMISAddSize_private() argument
3002 *nidx += nvar; in DMISAddSize_private()
3004 *nidx += nselectedvar[j] * nvar / blocksize[j]; in DMISAddSize_private()
3069 PetscInt i, p, estart, eend, vstart, vend, nidx, *idx; in DMNetworkCreateIS() local
3085 nidx = 0; in DMNetworkCreateIS()
3086 …nd; p++) PetscCall(DMISAddSize_private(network, p, numkeys, keys, blocksize, nselectedvar, &nidx)); in DMNetworkCreateIS()
3090 PetscCall(DMISAddSize_private(network, p, numkeys, keys, blocksize, nselectedvar, &nidx)); in DMNetworkCreateIS()
3094 PetscCall(PetscMalloc1(nidx, &idx)); in DMNetworkCreateIS()
3104 PetscCall(ISCreateGeneral(comm, nidx, idx, PETSC_COPY_VALUES, is)); in DMNetworkCreateIS()
3165 PetscInt i, p, pstart, pend, nidx, *idx; in DMNetworkCreateLocalIS() local
3178 nidx = 0; in DMNetworkCreateLocalIS()
3179 …nd; p++) PetscCall(DMISAddSize_private(network, p, numkeys, keys, blocksize, nselectedvar, &nidx)); in DMNetworkCreateLocalIS()
3182 PetscCall(PetscMalloc1(nidx, &idx)); in DMNetworkCreateLocalIS()
3187 PetscCall(ISCreateGeneral(PETSC_COMM_SELF, nidx, idx, PETSC_COPY_VALUES, is)); in DMNetworkCreateLocalIS()