Searched refs:computejacobian (Results 1 – 8 of 8) sorted by relevance
| /petsc/src/snes/utils/ |
| H A D | dmsnes.c | 40 PetscCall(PetscViewerBinaryRead(viewer, &kdm->ops->computejacobian, 1, NULL, PETSC_FUNCTION)); in DMSNESLoad() 57 PetscCall(PetscFPTFind(kdm->ops->computejacobian, &fname)); in DMSNESView() 68 jacstruct.jac = kdm->ops->computejacobian; in DMSNESView() 151 nkdm->ops->computejacobian = kdm->ops->computejacobian; in DMSNESCopy() 577 if (J) sdm->ops->computejacobian = J; in DMSNESSetJacobian() 655 if (J) *J = sdm->ops->computejacobian; in DMSNESGetJacobian()
|
| H A D | dmdasnes.c | 247 …if (!sdm->ops->computejacobian) { /* Call us for the Jacobian too, can be overridden by the user. … in DMDASNESSetFunctionLocal() 289 …if (!sdm->ops->computejacobian) { /* Call us for the Jacobian too, can be overridden by the user. … in DMDASNESSetFunctionLocalVec()
|
| H A D | dmlocalsnes.c | 259 …if (!sdm->ops->computejacobian) { /* Call us for the Jacobian too, can be overridden by the user. … in DMSNESSetFunctionLocal()
|
| /petsc/include/petsc/private/ |
| H A D | taoimpl.h | 23 PetscErrorCode (*computejacobian)(Tao, Vec, Mat, Mat, void *); member
|
| H A D | snesimpl.h | 187 SNESJacobianFn *computejacobian; member
|
| /petsc/src/tao/interface/ |
| H A D | taosolver_hj.c | 304 …PetscCallBack("Tao callback Jacobian", (*tao->ops->computejacobian)(tao, X, J, Jpre, tao->user_jac… in TaoComputeJacobian() 462 if (func) tao->ops->computejacobian = func; in TaoSetJacobianRoutine()
|
| /petsc/src/snes/interface/ |
| H A D | snes.c | 728 if (!sdm->ops->computejacobian) PetscCall(DMCopyDMSNES(dmsave, snes->dm)); in KSPComputeOperators_SNES() 3308 if (!sdm->ops->computejacobian && snes->jacobian_pre) { in SNESSetDefaultComputeJacobian()
|
| /petsc/doc/faq/ |
| H A D | index.md | 940 `SNESSetJacobian()`. Make sure your provided `computejacobian()` function calls
|