Lines Matching refs:hasPrec
4631 PetscBool hasJac, hasPrec, hasDyn, assembleJac, *isFE, hasFV = PETSC_FALSE; in DMPlexComputeJacobian_Patch_Internal() local
4663 PetscCall(PetscDSHasJacobianPreconditioner(prob, &hasPrec)); in DMPlexComputeJacobian_Patch_Internal()
4665 assembleJac = hasJac && hasPrec && (Jac != JacP) ? PETSC_TRUE : PETSC_FALSE; in DMPlexComputeJacobian_Patch_Internal()
4691 … ? 1 : 0)) * totDim + (dmAux ? 1 : 0) * totDimAux + ((hasJac ? 1 : 0) + (hasPrec ? 1 : 0) + (hasDy… in DMPlexComputeJacobian_Patch_Internal()
4699 elemMatP = hasPrec ? (sz = chunkSize * totDim * totDim, off += sz, work + off - sz) : NULL; in DMPlexComputeJacobian_Patch_Internal()
4752 …if (hasPrec) PetscCall(PetscFEIntegrateJacobian(prob, prob, PETSCFE_JACOBIAN_PRE, key, Ncell, cgeo… in DMPlexComputeJacobian_Patch_Internal()
4767 if (hasPrec) elemMatP[eOffset + i * totDim + i] = 1.0; in DMPlexComputeJacobian_Patch_Internal()
4781 …if (hasPrec) PetscCall(DMPrintCellMatrix(cell, nameP, totDim, totDim, &elemMatP[(c - cStart) * tot… in DMPlexComputeJacobian_Patch_Internal()
4792 …, ((1 + (X_t ? 1 : 0) + (dmAux ? 1 : 0)) * totDim + ((hasJac ? 1 : 0) + (hasPrec ? 1 : 0) + (hasDy… in DMPlexComputeJacobian_Patch_Internal()
5918 PetscBool hasJac = PETSC_FALSE, hasPrec = PETSC_FALSE, transform; in DMPlexComputeBdJacobianSingleByLabel() local
5929 PetscCall(PetscWeakFormHasBdJacobianPreconditioner(wf, &hasPrec)); in DMPlexComputeBdJacobianSingleByLabel()
5930 if (!hasJac && !hasPrec) PetscFunctionReturn(PETSC_SUCCESS); in DMPlexComputeBdJacobianSingleByLabel()
5969 … 0), &u_t, (hasJac ? (size_t)numFaces * totDim * totDim : 0), &elemMat, (hasPrec ? (size_t)numFace… in DMPlexComputeBdJacobianSingleByLabel()
6028 …if (hasPrec) PetscCall(PetscFEIntegrateBdJacobian(ds, wf, PETSCFE_JACOBIAN_PRE, key, Ne, chunkGeom… in DMPlexComputeBdJacobianSingleByLabel()
6035 if (hasPrec) in DMPlexComputeBdJacobianSingleByLabel()
6046 …if (hasPrec && transform) PetscCall(DMPlexBasisTransformPointTensor_Internal(dm, tdm, tv, support[… in DMPlexComputeBdJacobianSingleByLabel()
6047 if (hasPrec) { in DMPlexComputeBdJacobianSingleByLabel()
6186 …PetscBool hasJac = PETSC_FALSE, hasPrec = PETSC_FALSE, hasDyn, hasFV = PETSC_FALSE, transfor… in DMPlexComputeJacobianByKey() local
6213 PetscCall(PetscDSHasJacobianPreconditioner(prob, &hasPrec)); in DMPlexComputeJacobianByKey()
6216 if (hasJac && Jac == JacP) hasPrec = PETSC_FALSE; in DMPlexComputeJacobianByKey()
6219 … 0), &u_t, (hasJac ? (size_t)numCells * totDim * totDim : 0), &elemMat, (hasPrec ? (size_t)numCell… in DMPlexComputeJacobianByKey()
6244 if (hasPrec) PetscCall(PetscArrayzero(elemMatP, numCells * totDim * totDim)); in DMPlexComputeJacobianByKey()
6289 if (hasPrec) { in DMPlexComputeJacobianByKey()
6328 if (hasPrec) { in DMPlexComputeJacobianByKey()
6348 if (hasPrec) { 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
6436 PetscCall(PetscDSHasJacobianPreconditioner(rds, &hasPrec)); in DMPlexComputeJacobianByKeyGeneral()
6439 if (hasJac && Jac == JacP) hasPrec = PETSC_FALSE; in DMPlexComputeJacobianByKeyGeneral()
6442 …0), &u_t, (hasJac ? (size_t)numCells * totDim * ctotDim : 0), &elemMat, (hasPrec ? (size_t)numCell… in DMPlexComputeJacobianByKeyGeneral()
6467 if (hasPrec) PetscCall(PetscArrayzero(elemMatP, numCells * totDim * ctotDim)); in DMPlexComputeJacobianByKeyGeneral()
6512 if (hasPrec) { in DMPlexComputeJacobianByKeyGeneral()
6551 if (hasPrec) { in DMPlexComputeJacobianByKeyGeneral()
6571 if (hasPrec) { in DMPlexComputeJacobianByKeyGeneral()
6593 PetscBool assOp = hasJac && hasPrec ? PETSC_TRUE : PETSC_FALSE, gassOp; in DMPlexComputeJacobianByKeyGeneral()
6597 if (hasJac && hasPrec) { in DMPlexComputeJacobianByKeyGeneral()