Lines Matching refs:mf_operator
452 if (snes->mf_operator) { in SNESView()
469 } else if (snes->mf && !snes->mf_operator) { in SNESView()
767 if (!snes->jacobian && snes->mf && !snes->mf_operator && !snes->jacobian_pre) { in SNESSetUpMatrices()
776 } else if (snes->mf_operator && !snes->jacobian_pre && !snes->jacobian) { in SNESSetUpMatrices()
1117 …for computing the preconditioner", "SNESSetUseMatrixFree", PETSC_FALSE, &snes->mf_operator, &flg)); in SNESSetFromOptions()
1118 if (flg && snes->mf_operator) { in SNESSetFromOptions()
1119 snes->mf_operator = PETSC_TRUE; in SNESSetFromOptions()
1124 if (!flg && snes->mf_operator) snes->mf = PETSC_TRUE; in SNESSetFromOptions()
1328 PetscErrorCode SNESSetUseMatrixFree(SNES snes, PetscBool mf_operator, PetscBool mf) in SNESSetUseMatrixFree() argument
1332 PetscValidLogicalCollectiveBool(snes, mf_operator, 2); in SNESSetUseMatrixFree()
1334 snes->mf = mf_operator ? PETSC_TRUE : mf; in SNESSetUseMatrixFree()
1335 snes->mf_operator = mf_operator; in SNESSetUseMatrixFree()
1355 PetscErrorCode SNESGetUseMatrixFree(SNES snes, PetscBool *mf_operator, PetscBool *mf) in SNESGetUseMatrixFree() argument
1360 if (mf_operator) *mf_operator = snes->mf_operator; in SNESGetUseMatrixFree()
1884 snes->mf_operator = PETSC_FALSE; in SNESCreate()
3350 PetscBool mf_operator, mf; in SNESSetUp() local
3382 PetscCall(SNESGetUseMatrixFree(snes, &mf_operator, &mf)); in SNESSetUp()
3385 snes->mf_operator = PETSC_FALSE; in SNESSetUp()
3400 PetscCall(SNESSetUseMatrixFree(snes->npc, mf_operator, mf)); in SNESSetUp()
3426 if (snes->mf) PetscCall(SNESSetUpMatrixFree_Private(snes, snes->mf_operator, snes->mf_version)); in SNESSetUp()