Lines Matching refs:hasJac

4631   PetscBool       hasJac, hasPrec, hasDyn, assembleJac, *isFE, hasFV = PETSC_FALSE;  in DMPlexComputeJacobian_Patch_Internal()  local
4662 PetscCall(PetscDSHasJacobian(prob, &hasJac)); in DMPlexComputeJacobian_Patch_Internal()
4665 assembleJac = hasJac && hasPrec && (Jac != JacP) ? PETSC_TRUE : PETSC_FALSE; in DMPlexComputeJacobian_Patch_Internal()
4691 …wsz = (((X ? 1 : 0) + (X_t ? 1 : 0)) * totDim + (dmAux ? 1 : 0) * totDimAux + ((hasJac ? 1 : 0) + … in DMPlexComputeJacobian_Patch_Internal()
4698 elemMat = hasJac ? (sz = chunkSize * totDim * totDim, off += sz, work + off - sz) : NULL; in DMPlexComputeJacobian_Patch_Internal()
4751 …if (hasJac) PetscCall(PetscFEIntegrateJacobian(prob, prob, PETSCFE_JACOBIAN, key, Ncell, cgeomFEM,… in DMPlexComputeJacobian_Patch_Internal()
4766 if (hasJac) elemMat[eOffset + i * totDim + i] = 1.0; in DMPlexComputeJacobian_Patch_Internal()
4780 …if (hasJac) PetscCall(DMPrintCellMatrix(cell, name, totDim, totDim, &elemMat[(c - cStart) * totDim… in DMPlexComputeJacobian_Patch_Internal()
4792 …PetscCall(DMRestoreWorkArray(dm, ((1 + (X_t ? 1 : 0) + (dmAux ? 1 : 0)) * totDim + ((hasJac ? 1 : … in DMPlexComputeJacobian_Patch_Internal()
5918 PetscBool hasJac = PETSC_FALSE, hasPrec = PETSC_FALSE, transform; in DMPlexComputeBdJacobianSingleByLabel() local
5928 PetscCall(PetscWeakFormHasBdJacobian(wf, &hasJac)); in DMPlexComputeBdJacobianSingleByLabel()
5930 if (!hasJac && !hasPrec) PetscFunctionReturn(PETSC_SUCCESS); in DMPlexComputeBdJacobianSingleByLabel()
5969 …(numFaces * totDim, &u, (locX_t ? (size_t)numFaces * totDim : 0), &u_t, (hasJac ? (size_t)numFaces… in DMPlexComputeBdJacobianSingleByLabel()
6027 …if (hasJac) PetscCall(PetscFEIntegrateBdJacobian(ds, wf, PETSCFE_JACOBIAN, key, Ne, chunkGeom, u, … in DMPlexComputeBdJacobianSingleByLabel()
6033 if (hasJac) in DMPlexComputeBdJacobianSingleByLabel()
6045 …if (hasJac && transform) PetscCall(DMPlexBasisTransformPointTensor_Internal(dm, tdm, tv, support[0… in DMPlexComputeBdJacobianSingleByLabel()
6048 if (hasJac) { in DMPlexComputeBdJacobianSingleByLabel()
6055 if (hasJac) { in DMPlexComputeBdJacobianSingleByLabel()
6186 …PetscBool hasJac = PETSC_FALSE, hasPrec = PETSC_FALSE, hasDyn, hasFV = PETSC_FALSE, transfor… in DMPlexComputeJacobianByKey() local
6212 PetscCall(PetscDSHasJacobian(prob, &hasJac)); in DMPlexComputeJacobianByKey()
6216 if (hasJac && Jac == JacP) hasPrec = PETSC_FALSE; in DMPlexComputeJacobianByKey()
6219 …(numCells * totDim, &u, (locX_t ? (size_t)numCells * totDim : 0), &u_t, (hasJac ? (size_t)numCells… in DMPlexComputeJacobianByKey()
6243 if (hasJac) PetscCall(PetscArrayzero(elemMat, numCells * totDim * totDim)); in DMPlexComputeJacobianByKey()
6285 if (hasJac) { in DMPlexComputeJacobianByKey()
6329 if (hasJac) elemMat[eOffset + i * totDim + i] = vol; in DMPlexComputeJacobianByKey()
6349 if (hasJac) { in DMPlexComputeJacobianByKey()
6356 if (hasJac) { in DMPlexComputeJacobianByKey()
6370 PetscBool assOp = hasJac && hasPrec ? PETSC_TRUE : PETSC_FALSE, gassOp; in DMPlexComputeJacobianByKey()
6374 if (hasJac && hasPrec) { in DMPlexComputeJacobianByKey()
6401 …PetscBool hasJac = PETSC_FALSE, hasPrec = PETSC_FALSE, hasDyn, hasFV = PETSC_FALSE, transfor… in DMPlexComputeJacobianByKeyGeneral() local
6435 PetscCall(PetscDSHasJacobian(rds, &hasJac)); in DMPlexComputeJacobianByKeyGeneral()
6439 if (hasJac && Jac == JacP) hasPrec = PETSC_FALSE; in DMPlexComputeJacobianByKeyGeneral()
6442 …(numCells * totDim, &u, (locX_t ? (size_t)numCells * totDim : 0), &u_t, (hasJac ? (size_t)numCells… in DMPlexComputeJacobianByKeyGeneral()
6466 if (hasJac) PetscCall(PetscArrayzero(elemMat, numCells * totDim * ctotDim)); in DMPlexComputeJacobianByKeyGeneral()
6508 if (hasJac) { in DMPlexComputeJacobianByKeyGeneral()
6552 if (hasJac) elemMat[eOffset + i * ctotDim + i] = vol; in DMPlexComputeJacobianByKeyGeneral()
6572 if (hasJac) { in DMPlexComputeJacobianByKeyGeneral()
6579 if (hasJac) { in DMPlexComputeJacobianByKeyGeneral()
6593 PetscBool assOp = hasJac && hasPrec ? PETSC_TRUE : PETSC_FALSE, gassOp; in DMPlexComputeJacobianByKeyGeneral()
6597 if (hasJac && hasPrec) { in DMPlexComputeJacobianByKeyGeneral()