Lines Matching refs:eOffset
4758 PetscInt eOffset = 0, Nc, fc, foff; in DMPlexComputeJacobian_Patch_Internal() local
4763 for (c = 0; c < chunkSize; ++c, eOffset += totDim * totDim) { in DMPlexComputeJacobian_Patch_Internal()
4766 if (hasJac) elemMat[eOffset + i * totDim + i] = 1.0; in DMPlexComputeJacobian_Patch_Internal()
4767 if (hasPrec) elemMatP[eOffset + i * totDim + i] = 1.0; in DMPlexComputeJacobian_Patch_Internal()
6321 const PetscInt eOffset = cind * totDim * totDim; in DMPlexComputeJacobianByKey() local
6329 if (hasJac) elemMat[eOffset + i * totDim + i] = vol; in DMPlexComputeJacobianByKey()
6330 elemMatP[eOffset + i * totDim + i] = vol; in DMPlexComputeJacobianByKey()
6332 elemMat[eOffset + i * totDim + i] = vol; in DMPlexComputeJacobianByKey()
6544 const PetscInt eOffset = cind * totDim * ctotDim; in DMPlexComputeJacobianByKeyGeneral() local
6552 if (hasJac) elemMat[eOffset + i * ctotDim + i] = vol; in DMPlexComputeJacobianByKeyGeneral()
6553 elemMatP[eOffset + i * ctotDim + i] = vol; in DMPlexComputeJacobianByKeyGeneral()
6555 elemMat[eOffset + i * ctotDim + i] = vol; in DMPlexComputeJacobianByKeyGeneral()