| /petsc/src/mat/impls/shell/ftn-custom/ |
| H A D | zshellf.c | 214 … = MatShellSetOperation(*mat, *op, (PetscErrorCodeFn *)ourmult); in matshellsetoperation_() 218 … = MatShellSetOperation(*mat, *op, (PetscErrorCodeFn *)ourmultadd); in matshellsetoperation_() 222 … = MatShellSetOperation(*mat, *op, (PetscErrorCodeFn *)ourmulttran… in matshellsetoperation_() 226 … = MatShellSetOperation(*mat, *op, (PetscErrorCodeFn *)ourmultherm… in matshellsetoperation_() 230 … = MatShellSetOperation(*mat, *op, (PetscErrorCodeFn *)ourmulttran… in matshellsetoperation_() 234 … = MatShellSetOperation(*mat, *op, (PetscErrorCodeFn *)ourmultherm… in matshellsetoperation_() 238 … = MatShellSetOperation(*mat, *op, (PetscErrorCodeFn *)oursor); in matshellsetoperation_() 242 … = MatShellSetOperation(*mat, *op, (PetscErrorCodeFn *)ourtranspos… in matshellsetoperation_() 246 … = MatShellSetOperation(*mat, *op, (PetscErrorCodeFn *)ourgetdiago… in matshellsetoperation_() 250 … = MatShellSetOperation(*mat, *op, (PetscErrorCodeFn *)ourdiagonal… in matshellsetoperation_() [all …]
|
| /petsc/src/mat/impls/transpose/ |
| H A D | transm.c | 90 PetscCall(MatShellSetOperation(N, MATOP_SOLVE, (PetscErrorCodeFn *)MatSolve_Transpose_LU)); in MatLUFactor_Transpose() 91 PetscCall(MatShellSetOperation(N, MATOP_SOLVE_ADD, (PetscErrorCodeFn *)MatSolveAdd_Transpose_LU)); in MatLUFactor_Transpose() 92 …PetscCall(MatShellSetOperation(N, MATOP_SOLVE_TRANSPOSE, (PetscErrorCodeFn *)MatSolveTranspose_Tra… in MatLUFactor_Transpose() 93 …PetscCall(MatShellSetOperation(N, MATOP_SOLVE_TRANSPOSE_ADD, (PetscErrorCodeFn *)MatSolveTranspose… in MatLUFactor_Transpose() 94 PetscCall(MatShellSetOperation(N, MATOP_MAT_SOLVE, (PetscErrorCodeFn *)MatMatSolve_Transpose_LU)); in MatLUFactor_Transpose() 95 …PetscCall(MatShellSetOperation(N, MATOP_MAT_SOLVE_TRANSPOSE, (PetscErrorCodeFn *)MatMatSolveTransp… in MatLUFactor_Transpose() 166 PetscCall(MatShellSetOperation(N, MATOP_SOLVE, (PetscErrorCodeFn *)MatSolve_Transpose_Cholesky)); in MatCholeskyFactor_Transpose() 167 …PetscCall(MatShellSetOperation(N, MATOP_SOLVE_ADD, (PetscErrorCodeFn *)MatSolveAdd_Transpose_Chole… in MatCholeskyFactor_Transpose() 168 …PetscCall(MatShellSetOperation(N, MATOP_SOLVE_TRANSPOSE, (PetscErrorCodeFn *)MatSolveTranspose_Tra… in MatCholeskyFactor_Transpose() 169 …PetscCall(MatShellSetOperation(N, MATOP_SOLVE_TRANSPOSE_ADD, (PetscErrorCodeFn *)MatSolveTranspose… in MatCholeskyFactor_Transpose() [all …]
|
| H A D | htransm.c | 295 PetscCall(MatShellSetOperation(N, MATOP_SOLVE, (PetscErrorCodeFn *)MatSolve_HT_LU)); in MatLUFactor_HT() 296 PetscCall(MatShellSetOperation(N, MATOP_SOLVE_ADD, (PetscErrorCodeFn *)MatSolveAdd_HT_LU)); in MatLUFactor_HT() 297 PetscCall(MatShellSetOperation(N, MATOP_MAT_SOLVE, (PetscErrorCodeFn *)MatMatSolve_HT_LU)); in MatLUFactor_HT() 353 PetscCall(MatShellSetOperation(N, MATOP_SOLVE, (PetscErrorCodeFn *)MatSolve_HT_Cholesky)); in MatCholeskyFactor_HT() 354 PetscCall(MatShellSetOperation(N, MATOP_SOLVE_ADD, (PetscErrorCodeFn *)MatSolveAdd_HT_Cholesky)); in MatCholeskyFactor_HT() 355 PetscCall(MatShellSetOperation(N, MATOP_MAT_SOLVE, (PetscErrorCodeFn *)MatMatSolve_HT_Cholesky)); in MatCholeskyFactor_HT() 367 PetscCall(MatShellSetOperation(F, MATOP_SOLVE, (PetscErrorCodeFn *)MatSolve_HT_LU)); in MatLUFactorNumeric_HT() 368 PetscCall(MatShellSetOperation(F, MATOP_SOLVE_ADD, (PetscErrorCodeFn *)MatSolveAdd_HT_LU)); in MatLUFactorNumeric_HT() 369 PetscCall(MatShellSetOperation(F, MATOP_MAT_SOLVE, (PetscErrorCodeFn *)MatMatSolve_HT_LU)); in MatLUFactorNumeric_HT() 381 …PetscCall(MatShellSetOperation(F, MATOP_LUFACTOR_NUMERIC, (PetscErrorCodeFn *)MatLUFactorNumeric_H… in MatLUFactorSymbolic_HT() [all …]
|
| /petsc/src/tao/matrix/ |
| H A D | submatfree.c | 49 PetscCall(MatShellSetOperation(*J, MATOP_MULT, (PetscErrorCodeFn *)MatMult_SMF)); in MatCreateSubMatrixFree() 50 PetscCall(MatShellSetOperation(*J, MATOP_DESTROY, (PetscErrorCodeFn *)MatDestroy_SMF)); in MatCreateSubMatrixFree() 51 PetscCall(MatShellSetOperation(*J, MATOP_VIEW, (PetscErrorCodeFn *)MatView_SMF)); in MatCreateSubMatrixFree() 52 …PetscCall(MatShellSetOperation(*J, MATOP_MULT_TRANSPOSE, (PetscErrorCodeFn *)MatMultTranspose_SMF)… in MatCreateSubMatrixFree() 53 PetscCall(MatShellSetOperation(*J, MATOP_DIAGONAL_SET, (PetscErrorCodeFn *)MatDiagonalSet_SMF)); in MatCreateSubMatrixFree() 54 PetscCall(MatShellSetOperation(*J, MATOP_SHIFT, (PetscErrorCodeFn *)MatShift_SMF)); in MatCreateSubMatrixFree() 55 PetscCall(MatShellSetOperation(*J, MATOP_EQUAL, (PetscErrorCodeFn *)MatEqual_SMF)); in MatCreateSubMatrixFree() 56 PetscCall(MatShellSetOperation(*J, MATOP_SCALE, (PetscErrorCodeFn *)MatScale_SMF)); in MatCreateSubMatrixFree() 57 PetscCall(MatShellSetOperation(*J, MATOP_TRANSPOSE, (PetscErrorCodeFn *)MatTranspose_SMF)); in MatCreateSubMatrixFree() 58 PetscCall(MatShellSetOperation(*J, MATOP_GET_DIAGONAL, (PetscErrorCodeFn *)MatGetDiagonal_SMF)); in MatCreateSubMatrixFree() [all …]
|
| H A D | adamat.c | 386 PetscCall(MatShellSetOperation(*J, MATOP_MULT, (PetscErrorCodeFn *)MatMult_ADA)); in MatCreateADA() 387 PetscCall(MatShellSetOperation(*J, MATOP_DESTROY, (PetscErrorCodeFn *)MatDestroy_ADA)); in MatCreateADA() 388 PetscCall(MatShellSetOperation(*J, MATOP_VIEW, (PetscErrorCodeFn *)MatView_ADA)); in MatCreateADA() 389 …PetscCall(MatShellSetOperation(*J, MATOP_MULT_TRANSPOSE, (PetscErrorCodeFn *)MatMultTranspose_ADA)… in MatCreateADA() 390 PetscCall(MatShellSetOperation(*J, MATOP_DIAGONAL_SET, (PetscErrorCodeFn *)MatDiagonalSet_ADA)); in MatCreateADA() 391 PetscCall(MatShellSetOperation(*J, MATOP_SHIFT, (PetscErrorCodeFn *)MatShift_ADA)); in MatCreateADA() 392 PetscCall(MatShellSetOperation(*J, MATOP_EQUAL, (PetscErrorCodeFn *)MatEqual_ADA)); in MatCreateADA() 393 PetscCall(MatShellSetOperation(*J, MATOP_SCALE, (PetscErrorCodeFn *)MatScale_ADA)); in MatCreateADA() 394 PetscCall(MatShellSetOperation(*J, MATOP_TRANSPOSE, (PetscErrorCodeFn *)MatTranspose_ADA)); in MatCreateADA() 395 PetscCall(MatShellSetOperation(*J, MATOP_GET_DIAGONAL, (PetscErrorCodeFn *)MatGetDiagonal_ADA)); in MatCreateADA() [all …]
|
| /petsc/src/mat/tests/ |
| H A D | ex205.c | 76 PetscCall(MatShellSetOperation(S1, MATOP_MULT, (PetscErrorCodeFn *)MatMult_User)); in main() 77 PetscCall(MatShellSetOperation(S1, MATOP_COPY, (PetscErrorCodeFn *)MatCopy_User)); in main() 78 PetscCall(MatShellSetOperation(S1, MATOP_DESTROY, (PetscErrorCodeFn *)MatDestroy_User)); in main() 81 PetscCall(MatShellSetOperation(S2, MATOP_MULT, (PetscErrorCodeFn *)MatMult_User)); in main() 82 PetscCall(MatShellSetOperation(S2, MATOP_COPY, (PetscErrorCodeFn *)MatCopy_User)); in main() 83 PetscCall(MatShellSetOperation(S2, MATOP_DESTROY, (PetscErrorCodeFn *)MatDestroy_User)); in main()
|
| H A D | ex218.c | 58 PetscCall(MatShellSetOperation(S, MATOP_MULT, (PetscErrorCodeFn *)MatMult_User)); in main() 59 …PetscCall(MatShellSetOperation(S, MATOP_MULT_TRANSPOSE, (PetscErrorCodeFn *)MatMultTranspose_User)… in main()
|
| H A D | ex88.c | 225 PetscCall(MatShellSetOperation(S, MATOP_VIEW, (PetscErrorCodeFn *)MatView_User)); in main() 226 PetscCall(MatShellSetOperation(S, MATOP_MULT, (PetscErrorCodeFn *)MatMult_User)); in main() 227 …PetscCall(MatShellSetOperation(S, MATOP_MULT_TRANSPOSE, (PetscErrorCodeFn *)MatMultTranspose_User)… in main() 228 PetscCall(MatShellSetOperation(S, MATOP_GET_DIAGONAL, (PetscErrorCodeFn *)MatGetDiagonal_User)); in main()
|
| H A D | ex235.c | 76 PetscCall(MatShellSetOperation(A, MATOP_MULT, (PetscErrorCodeFn *)myMult)); in main() 77 PetscCall(MatShellSetOperation(A, MATOP_GET_DIAGONAL, (PetscErrorCodeFn *)myGetDiagonal)); in main()
|
| /petsc/src/sys/tests/ |
| H A D | ex65.c | 57 PetscErrorCodeFn *func; in TestPetscFunctionListFind() 61 …PetscCheck(func == (PetscErrorCodeFn *)all_funcs[i], PETSC_COMM_SELF, PETSC_ERR_PLIB, "PetscFuncti… in TestPetscFunctionListFind() 68 PetscErrorCodeFn *func; in TestPetscFunctionListFind() 71 …PetscCheck(func == (PetscErrorCodeFn *)all_funcs[i], PETSC_COMM_SELF, PETSC_ERR_PLIB, "PetscFuncti… in TestPetscFunctionListFind() 81 PetscErrorCodeFn *fl_func, *fl_dup_func; in TestPetscFunctionListFind() 84 …PetscCheck(fl_func == (PetscErrorCodeFn *)all_funcs[i], PETSC_COMM_SELF, PETSC_ERR_PLIB, "PetscFun… in TestPetscFunctionListFind() 98 PetscErrorCodeFn *fl_dup_func; in TestPetscFunctionListFind() 101 …PetscCheck(fl_dup_func == (PetscErrorCodeFn *)all_funcs[i], PETSC_COMM_SELF, PETSC_ERR_PLIB, "Pets… in TestPetscFunctionListFind()
|
| /petsc/src/mat/impls/normal/ |
| H A D | normmh.c | 308 …PetscCall(MatShellSetOperation(*N, MATOP_DESTROY, (PetscErrorCodeFn *)MatDestroy_NormalHermitian)); in MatCreateNormalHermitian() 309 PetscCall(MatShellSetOperation(*N, MATOP_MULT, (PetscErrorCodeFn *)MatMult_NormalHermitian)); in MatCreateNormalHermitian() 310 …PetscCall(MatShellSetOperation(*N, MATOP_MULT_HERMITIAN_TRANSPOSE, (PetscErrorCodeFn *)MatMult_Nor… in MatCreateNormalHermitian() 312 …PetscCall(MatShellSetOperation(*N, MATOP_MULT_TRANSPOSE, (PetscErrorCodeFn *)MatMult_NormalHermiti… in MatCreateNormalHermitian() 314 …PetscCall(MatShellSetOperation(*N, MATOP_DUPLICATE, (PetscErrorCodeFn *)MatDuplicate_NormalHermiti… in MatCreateNormalHermitian() 315 …PetscCall(MatShellSetOperation(*N, MATOP_GET_DIAGONAL, (PetscErrorCodeFn *)MatGetDiagonal_NormalHe… in MatCreateNormalHermitian() 316 …PetscCall(MatShellSetOperation(*N, MATOP_GET_DIAGONAL_BLOCK, (PetscErrorCodeFn *)MatGetDiagonalBlo… in MatCreateNormalHermitian() 317 PetscCall(MatShellSetOperation(*N, MATOP_COPY, (PetscErrorCodeFn *)MatCopy_NormalHermitian)); in MatCreateNormalHermitian()
|
| H A D | normm.c | 422 PetscCall(MatShellSetOperation(*N, MATOP_DESTROY, (PetscErrorCodeFn *)MatDestroy_Normal)); in MatCreateNormal() 423 PetscCall(MatShellSetOperation(*N, MATOP_MULT, (PetscErrorCodeFn *)MatMult_Normal)); in MatCreateNormal() 424 PetscCall(MatShellSetOperation(*N, MATOP_MULT_TRANSPOSE, (PetscErrorCodeFn *)MatMult_Normal)); in MatCreateNormal() 425 PetscCall(MatShellSetOperation(*N, MATOP_DUPLICATE, (PetscErrorCodeFn *)MatDuplicate_Normal)); in MatCreateNormal() 426 …PetscCall(MatShellSetOperation(*N, MATOP_GET_DIAGONAL, (PetscErrorCodeFn *)MatGetDiagonal_Normal)); in MatCreateNormal() 427 …PetscCall(MatShellSetOperation(*N, MATOP_GET_DIAGONAL_BLOCK, (PetscErrorCodeFn *)MatGetDiagonalBlo… in MatCreateNormal() 428 PetscCall(MatShellSetOperation(*N, MATOP_COPY, (PetscErrorCodeFn *)MatCopy_Normal)); in MatCreateNormal()
|
| /petsc/src/dm/impls/da/ |
| H A D | dadist.c | 24 PetscCall(VecSetOperation(*g, VECOP_VIEW, (PetscErrorCodeFn *)VecView_MPI_DA)); in DMCreateGlobalVector_DA() 25 PetscCall(VecSetOperation(*g, VECOP_LOAD, (PetscErrorCodeFn *)VecLoad_Default_DA)); in DMCreateGlobalVector_DA()
|
| /petsc/doc/changes/ |
| H A D | 324.md | 62 …on()` so that their final argument must be casted with `PetscErrorCodeFn *` and `PetscErrorCodeFn … 88 …on()` so that their final argument must be casted with `PetscErrorCodeFn *` and `PetscErrorCodeFn … 89 …on()` so that their final argument must be casted with `PetscErrorCodeFn *` and `PetscErrorCodeFn …
|
| /petsc/src/mat/impls/composite/ |
| H A D | mcomposite.c | 478 …PetscCall(MatShellSetOperation(mat, MATOP_MULT, (PetscErrorCodeFn *)MatMult_Composite_Multiplicati… in MatCompositeSetType_Composite() 479 …PetscCall(MatShellSetOperation(mat, MATOP_MULT_TRANSPOSE, (PetscErrorCodeFn *)MatMultTranspose_Com… in MatCompositeSetType_Composite() 482 …PetscCall(MatShellSetOperation(mat, MATOP_GET_DIAGONAL, (PetscErrorCodeFn *)MatGetDiagonal_Composi… in MatCompositeSetType_Composite() 483 PetscCall(MatShellSetOperation(mat, MATOP_MULT, (PetscErrorCodeFn *)MatMult_Composite)); in MatCompositeSetType_Composite() 484 …PetscCall(MatShellSetOperation(mat, MATOP_MULT_TRANSPOSE, (PetscErrorCodeFn *)MatMultTranspose_Com… in MatCompositeSetType_Composite() 891 PetscCall(MatShellSetOperation(A, MATOP_DESTROY, (PetscErrorCodeFn *)MatDestroy_Composite)); in MatCreate_Composite() 892 PetscCall(MatShellSetOperation(A, MATOP_MULT, (PetscErrorCodeFn *)MatMult_Composite)); in MatCreate_Composite() 893 …PetscCall(MatShellSetOperation(A, MATOP_MULT_TRANSPOSE, (PetscErrorCodeFn *)MatMultTranspose_Compo… in MatCreate_Composite() 894 …PetscCall(MatShellSetOperation(A, MATOP_GET_DIAGONAL, (PetscErrorCodeFn *)MatGetDiagonal_Composite… in MatCreate_Composite() 895 …PetscCall(MatShellSetOperation(A, MATOP_ASSEMBLY_END, (PetscErrorCodeFn *)MatAssemblyEnd_Composite… in MatCreate_Composite() [all …]
|
| /petsc/src/sys/dll/ |
| H A D | reg.c | 181 PETSC_HASH_MAP(HMapFunc, const char *, PetscErrorCodeFn *, kh_str_hash_func, kh_str_hash_equal, NUL… 238 …cErrorCode PetscHMapFuncInsert_Private(PetscHMapFunc map, const char name[], PetscErrorCodeFn *fnc) in PetscHMapFuncInsert_Private() 304 …Code PetscFunctionListAdd_Private(PetscFunctionList *fl, const char name[], PetscErrorCodeFn *fptr) in PetscFunctionListAdd_Private() 346 PetscErrorCodeFn *PETSC_UNUSED __val_name__; \ 445 …ode PetscFunctionListFind_Private(PetscFunctionList fl, const char name[], PetscErrorCodeFn **fptr) in PetscFunctionListFind_Private()
|
| /petsc/src/snes/impls/shell/ftn-custom/ |
| H A D | zsnesshellf.c | 21 …*ierr = PetscObjectComposeFunction((PetscObject)*snes, "SNESShellSolve_C", (PetscErrorCodeFn *)fun… in snesshellsetsolve_()
|
| /petsc/src/ksp/pc/impls/h2opus/ |
| H A D | pch2opus.c | 191 PetscCall(MatShellSetOperation(AAt, MATOP_MULT, (PetscErrorCodeFn *)MatMult_AAt)); in PCH2OpusSetUpInit() 192 PetscCall(MatShellSetOperation(AAt, MATOP_MULT_TRANSPOSE, (PetscErrorCodeFn *)MatMult_AAt)); in PCH2OpusSetUpInit() 193 PetscCall(MatShellSetOperation(AAt, MATOP_NORM, (PetscErrorCodeFn *)MatNorm_H2OPUS)); in PCH2OpusSetUpInit() 518 PetscCall(MatShellSetOperation(pch2opus->S, MATOP_MULT, (PetscErrorCodeFn *)MatMult_Hyper)); in PCH2OpusSetUpSampler_Private() 519 …PetscCall(MatShellSetOperation(pch2opus->S, MATOP_MULT_TRANSPOSE, (PetscErrorCodeFn *)MatMultTrans… in PCH2OpusSetUpSampler_Private() 523 PetscCall(MatShellSetOperation(pch2opus->S, MATOP_MULT, (PetscErrorCodeFn *)MatMult_NS)); in PCH2OpusSetUpSampler_Private() 524 …PetscCall(MatShellSetOperation(pch2opus->S, MATOP_MULT_TRANSPOSE, (PetscErrorCodeFn *)MatMultTrans… in PCH2OpusSetUpSampler_Private() 553 PetscCall(MatShellSetOperation(pch2opus->T, MATOP_MULT, (PetscErrorCodeFn *)MatMult_MAmI)); in PCSetUp_H2OPUS() 554 …PetscCall(MatShellSetOperation(pch2opus->T, MATOP_MULT_TRANSPOSE, (PetscErrorCodeFn *)MatMultTrans… in PCSetUp_H2OPUS() 555 PetscCall(MatShellSetOperation(pch2opus->T, MATOP_NORM, (PetscErrorCodeFn *)MatNorm_H2OPUS)); in PCSetUp_H2OPUS()
|
| /petsc/src/mat/impls/shell/ |
| H A D | shellcnv.c | 233 PetscCall(MatShellSetOperation(M, MATOP_MULT, (PetscErrorCodeFn *)MatMult_CF)); in MatConvertFrom_Shell() 234 … PetscCall(MatShellSetOperation(M, MATOP_MULT_TRANSPOSE, (PetscErrorCodeFn *)MatMultTranspose_CF)); in MatConvertFrom_Shell() 235 PetscCall(MatShellSetOperation(M, MATOP_GET_DIAGONAL, (PetscErrorCodeFn *)MatGetDiagonal_CF)); in MatConvertFrom_Shell() 236 PetscCall(MatShellSetOperation(M, MATOP_DESTROY, (PetscErrorCodeFn *)MatDestroy_CF)); in MatConvertFrom_Shell()
|
| H A D | shell.c | 1605 static PetscErrorCode MatShellSetOperation_Shell(Mat mat, MatOperation op, PetscErrorCodeFn *f) in MatShellSetOperation_Shell() 1631 (((PetscErrorCodeFn **)mat->ops)[op]) = f; in MatShellSetOperation_Shell() 1679 (((PetscErrorCodeFn **)mat->ops)[op]) = f; in MatShellSetOperation_Shell() 1685 static PetscErrorCode MatShellGetOperation_Shell(Mat mat, MatOperation op, PetscErrorCodeFn **f) in MatShellGetOperation_Shell() 1692 *f = (PetscErrorCodeFn *)shell->ops->destroy; in MatShellGetOperation_Shell() 1695 *f = (PetscErrorCodeFn *)mat->ops->view; in MatShellGetOperation_Shell() 1698 *f = (PetscErrorCodeFn *)shell->ops->copy; in MatShellGetOperation_Shell() 1707 *f = (((PetscErrorCodeFn **)mat->ops)[op]); in MatShellGetOperation_Shell() 1710 if (shell->ops->getdiagonal) *f = (PetscErrorCodeFn *)shell->ops->getdiagonal; in MatShellGetOperation_Shell() 1711 else *f = (((PetscErrorCodeFn **)mat->ops)[op]); in MatShellGetOperation_Shell() [all …]
|
| /petsc/include/petsc/private/ |
| H A D | vecimpl.h | 112 static_assert(offsetof(struct _VecOps, duplicate) == sizeof(PetscErrorCodeFn *) * VECOP_DUPLICATE, … 113 static_assert(offsetof(struct _VecOps, set) == sizeof(PetscErrorCodeFn *) * VECOP_SET, ""); 114 static_assert(offsetof(struct _VecOps, view) == sizeof(PetscErrorCodeFn *) * VECOP_VIEW, ""); 115 static_assert(offsetof(struct _VecOps, load) == sizeof(PetscErrorCodeFn *) * VECOP_LOAD, ""); 116 static_assert(offsetof(struct _VecOps, viewnative) == sizeof(PetscErrorCodeFn *) * VECOP_VIEWNATIVE… 117 static_assert(offsetof(struct _VecOps, loadnative) == sizeof(PetscErrorCodeFn *) * VECOP_LOADNATIVE…
|
| /petsc/src/snes/interface/noise/ |
| H A D | snesmfj2.c | 254 PetscCall(MatShellSetOperation(*J, MATOP_MULT, (PetscErrorCodeFn *)SNESMatrixFreeMult2_Private)); in MatCreateSNESMFMore() 255 …PetscCall(MatShellSetOperation(*J, MATOP_DESTROY, (PetscErrorCodeFn *)SNESMatrixFreeDestroy2_Priva… in MatCreateSNESMFMore() 256 PetscCall(MatShellSetOperation(*J, MATOP_VIEW, (PetscErrorCodeFn *)SNESMatrixFreeView2_Private)); in MatCreateSNESMFMore()
|
| /petsc/src/mat/impls/mffd/ |
| H A D | mffd.c | 147 PetscCall(MatShellSetOperation(mat, MATOP_GET_DIAGONAL, (PetscErrorCodeFn *)MatGetDiagonal_MFFD)); in MatMFFDSetFunctioni_MFFD() 619 PetscCall(MatShellSetOperation(A, MATOP_MULT, (PetscErrorCodeFn *)MatMult_MFFD)); in MatCreate_MFFD() 620 PetscCall(MatShellSetOperation(A, MATOP_DESTROY, (PetscErrorCodeFn *)MatDestroy_MFFD)); in MatCreate_MFFD() 621 PetscCall(MatShellSetOperation(A, MATOP_VIEW, (PetscErrorCodeFn *)MatView_MFFD)); in MatCreate_MFFD() 622 PetscCall(MatShellSetOperation(A, MATOP_ASSEMBLY_END, (PetscErrorCodeFn *)MatAssemblyEnd_MFFD)); in MatCreate_MFFD() 623 …PetscCall(MatShellSetOperation(A, MATOP_SET_FROM_OPTIONS, (PetscErrorCodeFn *)MatSetFromOptions_MF… in MatCreate_MFFD()
|
| /petsc/src/ksp/ksp/tests/ |
| H A D | ex23.c | 35 PetscCall(VecSetOperation(y, VECOP_SET, (PetscErrorCodeFn *)VecSet_Error)); in main()
|
| /petsc/src/tao/pde_constrained/tutorials/ |
| H A D | parabolic.c | 571 PetscCall(MatShellSetOperation(*new_shell, MATOP_MULT, (PetscErrorCodeFn *)StateMatMult)); in StateMatDuplicate() 572 …PetscCall(MatShellSetOperation(*new_shell, MATOP_DUPLICATE, (PetscErrorCodeFn *)StateMatDuplicate)… in StateMatDuplicate() 573 …PetscCall(MatShellSetOperation(*new_shell, MATOP_MULT_TRANSPOSE, (PetscErrorCodeFn *)StateMatMultT… in StateMatDuplicate() 574 …PetscCall(MatShellSetOperation(*new_shell, MATOP_GET_DIAGONAL, (PetscErrorCodeFn *)StateMatGetDiag… in StateMatDuplicate() 919 PetscCall(MatShellSetOperation(user->Js, MATOP_MULT, (PetscErrorCodeFn *)StateMatMult)); in ParabolicInitialize() 920 PetscCall(MatShellSetOperation(user->Js, MATOP_DUPLICATE, (PetscErrorCodeFn *)StateMatDuplicate)); in ParabolicInitialize() 921 …PetscCall(MatShellSetOperation(user->Js, MATOP_MULT_TRANSPOSE, (PetscErrorCodeFn *)StateMatMultTra… in ParabolicInitialize() 922 …PetscCall(MatShellSetOperation(user->Js, MATOP_GET_DIAGONAL, (PetscErrorCodeFn *)StateMatGetDiagon… in ParabolicInitialize() 926 PetscCall(MatShellSetOperation(user->JsBlock, MATOP_MULT, (PetscErrorCodeFn *)StateMatBlockMult)); in ParabolicInitialize() 928 …PetscCall(MatShellSetOperation(user->JsBlock, MATOP_MULT_TRANSPOSE, (PetscErrorCodeFn *)StateMatBl… in ParabolicInitialize() [all …]
|