Searched refs:subi (Results 1 – 2 of 2) sorted by relevance
913 PetscInt subi = indices[i], lo = 0, hi = size, t; in DMCompositeGetISLocalToGlobalMappings() local916 if (subi < 0) { in DMCompositeGetISLocalToGlobalMappings()917 idx[i] = subi - next->grstarts[rank]; in DMCompositeGetISLocalToGlobalMappings()923 if (suboff[t] > subi) hi = t; in DMCompositeGetISLocalToGlobalMappings()926 idx[i] = subi - suboff[lo] + next->grstarts[lo]; in DMCompositeGetISLocalToGlobalMappings()
586 PetscInt subi = -1; in PetscLagNodeIndicesPushForward() local593 subi = k; in PetscLagNodeIndicesPushForward()597 PetscCheck(subi >= 0, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Did not find matching coordinate"); in PetscLagNodeIndicesPushForward()599 … for (n = 0; n < nNodes; n++) pfNodeIdx[n * nodeIdxDim + i] = nodeIdx[n * subNodeIdxDim + subi]; in PetscLagNodeIndicesPushForward()