| /petsc/src/tao/matrix/ |
| H A D | submatfree.c | 72 PetscCall(MatShellGetContext(mat, &ctx)); in MatSMFResetRowColumn() 87 PetscCall(MatShellGetContext(mat, &ctx)); in MatMult_SMF() 100 PetscCall(MatShellGetContext(mat, &ctx)); in MatMultTranspose_SMF() 113 PetscCall(MatShellGetContext(M, &ctx)); in MatDiagonalSet_SMF() 123 PetscCall(MatShellGetContext(mat, &ctx)); in MatDestroy_SMF() 137 PetscCall(MatShellGetContext(mat, &ctx)); in MatView_SMF() 147 PetscCall(MatShellGetContext(Y, &ctx)); in MatShift_SMF() 157 PetscCall(MatShellGetContext(mat, &ctx)); in MatDuplicate_SMF() 168 PetscCall(MatShellGetContext(A, &ctx1)); in MatEqual_SMF() 169 PetscCall(MatShellGetContext(B, &ctx2)); in MatEqual_SMF() [all …]
|
| H A D | adamat.c | 22 PetscCall(MatShellGetContext(mat, &ctx)); in MatMult_ADA() 47 PetscCall(MatShellGetContext(M, &ctx)); in MatDiagonalSet_ADA() 61 PetscCall(MatShellGetContext(mat, &ctx)); in MatDestroy_ADA() 83 PetscCall(MatShellGetContext(Y, &ctx)); in MatShift_ADA() 95 PetscCall(MatShellGetContext(mat, &ctx)); in MatDuplicate_ADA() 115 PetscCall(MatShellGetContext(A, &ctx1)); in MatEqual_ADA() 116 PetscCall(MatShellGetContext(B, &ctx2)); in MatEqual_ADA() 128 PetscCall(MatShellGetContext(mat, &ctx)); in MatScale_ADA() 140 PetscCall(MatShellGetContext(mat, &ctx)); in MatTranspose_ADA() 156 PetscCall(MatShellGetContext(mat, &ctx)); in MatADAComputeDiagonal() [all …]
|
| /petsc/src/mat/impls/transpose/ |
| H A D | transm.c | 8 PetscCall(MatShellGetContext(N, &A)); in MatMult_Transpose() 18 PetscCall(MatShellGetContext(N, &A)); in MatMultTranspose_Transpose() 28 PetscCall(MatShellGetContext(N, &A)); in MatSolve_Transpose_LU() 38 PetscCall(MatShellGetContext(N, &A)); in MatSolveAdd_Transpose_LU() 48 PetscCall(MatShellGetContext(N, &A)); in MatSolveTranspose_Transpose_LU() 58 PetscCall(MatShellGetContext(N, &A)); in MatSolveTransposeAdd_Transpose_LU() 68 PetscCall(MatShellGetContext(N, &A)); in MatMatSolve_Transpose_LU() 78 PetscCall(MatShellGetContext(N, &A)); in MatMatSolveTranspose_Transpose_LU() 88 PetscCall(MatShellGetContext(N, &A)); in MatLUFactor_Transpose() 104 PetscCall(MatShellGetContext(N, &A)); in MatSolve_Transpose_Cholesky() [all …]
|
| H A D | htransm.c | 223 PetscCall(MatShellGetContext(N, &A)); in MatMult_HT() 233 PetscCall(MatShellGetContext(N, &A)); in MatMultHermitianTranspose_HT() 244 PetscCall(MatShellGetContext(N, &A)); in MatSolve_HT_LU() 260 PetscCall(MatShellGetContext(N, &A)); in MatSolveAdd_HT_LU() 279 PetscCall(MatShellGetContext(N, &A)); in MatMatSolve_HT_LU() 293 PetscCall(MatShellGetContext(N, &A)); in MatLUFactor_HT() 306 PetscCall(MatShellGetContext(N, &A)); in MatSolve_HT_Cholesky() 317 PetscCall(MatShellGetContext(N, &A)); in MatSolveAdd_HT_Cholesky() 336 PetscCall(MatShellGetContext(N, &A)); in MatMatSolve_HT_Cholesky() 350 PetscCall(MatShellGetContext(N, &A)); in MatCholeskyFactor_HT() [all …]
|
| /petsc/src/mat/tutorials/ |
| H A D | ex20f.F90 | 22 PetscCall(MatShellGetContext(F, ctxF_pt, ierr)) 34 PetscCall(MatShellGetContext(F, ctxF_pt, ierr)) 58 PetscCallA(MatShellGetContext(F, ctxF_pt, ierr)) 62 PetscCallA(MatShellGetContext(Fcopy, ctxFcopy_pt, ierr))
|
| H A D | ex6f.F90 | 36 PetscCallA(MatShellGetContext(F, ctxF_pt, ierr))
|
| /petsc/src/mat/impls/mffd/ |
| H A D | mffd.c | 78 PetscCall(MatShellGetContext(mat, &ctx)); in MatMFFDSetType_MFFD() 134 PetscCall(MatShellGetContext(mat, &ctx)); in MatMFFDSetFunctioniBase_MFFD() 145 PetscCall(MatShellGetContext(mat, &ctx)); in MatMFFDSetFunctioni_MFFD() 156 PetscCall(MatShellGetContext(mat, &ctx)); in MatMFFDGetH_MFFD() 166 PetscCall(MatShellGetContext(J, &ctx)); in MatMFFDResetHHistory_MFFD() 208 PetscCall(MatShellGetContext(mat, &ctx)); in MatDestroy_MFFD() 243 PetscCall(MatShellGetContext(J, &ctx)); in MatView_MFFD() 290 PetscCall(MatShellGetContext(J, &j)); in MatAssemblyEnd_MFFD() 311 PetscCall(MatShellGetContext(mat, &ctx)); in MatMult_MFFD() 394 PetscCall(MatShellGetContext(mat, &ctx)); in MatGetDiagonal_MFFD() [all …]
|
| /petsc/src/mat/impls/normal/ |
| H A D | normmh.c | 20 PetscCall(MatShellGetContext(mat, &a)); in MatCreateSubMatrices_NormalHermitian() 50 PetscCall(MatShellGetContext(A, &a)); in MatPermute_NormalHermitian() 69 PetscCall(MatShellGetContext(A, &a)); in MatDuplicate_NormalHermitian() 82 PetscCall(MatShellGetContext(A, &a)); in MatCopy_NormalHermitian() 83 PetscCall(MatShellGetContext(B, &b)); in MatCopy_NormalHermitian() 93 PetscCall(MatShellGetContext(N, &Na)); in MatMult_NormalHermitian() 104 PetscCall(MatShellGetContext(N, &Na)); in MatDestroy_NormalHermitian() 135 PetscCall(MatShellGetContext(N, &Na)); in MatGetDiagonal_NormalHermitian() 161 PetscCall(MatShellGetContext(N, &Na)); in MatGetDiagonalBlock_NormalHermitian() 174 PetscCall(MatShellGetContext(A, &Aa)); in MatNormalHermitianGetMat_NormalHermitian() [all …]
|
| H A D | normm.c | 16 PetscCall(MatShellGetContext(A, &a)); in MatIncreaseOverlap_Normal() 37 PetscCall(MatShellGetContext(mat, &a)); in MatCreateSubMatrices_Normal() 67 PetscCall(MatShellGetContext(A, &a)); in MatPermute_Normal() 86 PetscCall(MatShellGetContext(A, &a)); in MatDuplicate_Normal() 99 PetscCall(MatShellGetContext(A, &a)); in MatCopy_Normal() 100 PetscCall(MatShellGetContext(B, &b)); in MatCopy_Normal() 110 PetscCall(MatShellGetContext(N, &Na)); in MatMult_Normal() 121 PetscCall(MatShellGetContext(N, &Na)); in MatDestroy_Normal() 151 PetscCall(MatShellGetContext(N, &Na)); in MatGetDiagonal_Normal() 177 PetscCall(MatShellGetContext(N, &Na)); in MatGetDiagonalBlock_Normal() [all …]
|
| /petsc/src/mat/impls/composite/ |
| H A D | mcomposite.c | 38 PetscCall(MatShellGetContext(mat, &shell)); in MatDestroy_Composite() 80 PetscCall(MatShellGetContext(A, &shell)); in MatMult_Composite_Multiplicative() 108 PetscCall(MatShellGetContext(A, &shell)); in MatMultTranspose_Composite_Multiplicative() 142 PetscCall(MatShellGetContext(mat, &shell)); in MatMult_Composite() 282 PetscCall(MatShellGetContext(A, &shell)); in MatMultTranspose_Composite() 310 PetscCall(MatShellGetContext(A, &shell)); in MatGetDiagonal_Composite() 330 PetscCall(MatShellGetContext(Y, &shell)); in MatAssemblyEnd_Composite() 341 PetscCall(MatShellGetContext(A, &a)); in MatSetFromOptions_Composite() 409 PetscCall(MatShellGetContext(mat, &shell)); in MatCompositeAddMat_Composite() 474 PetscCall(MatShellGetContext(mat, &b)); in MatCompositeSetType_Composite() [all …]
|
| /petsc/src/mat/impls/shell/ |
| H A D | shellcnv.c | 89 PetscCall(MatShellGetContext(A, &B)); in MatGetDiagonal_CF() 100 PetscCall(MatShellGetContext(A, &B)); in MatMult_CF() 111 PetscCall(MatShellGetContext(A, &B)); in MatMultTranspose_CF() 122 PetscCall(MatShellGetContext(A, &B)); in MatDestroy_CF() 161 PetscCall(MatShellGetContext(A, &C->product->A)); in MatProductNumericPhase_CF() 173 PetscCall(MatShellGetContext(A, &C->product->A)); in MatProductSymbolicPhase_CF() 209 if (Af == MatProductSetFromOptions_CF) PetscCall(MatShellGetContext(A, &Ain)); in MatProductSetFromOptions_CF()
|
| /petsc/src/snes/mf/ |
| H A D | snesmfj.c | 70 PetscCall(MatShellGetContext(J, &j)); in MatSNESMFGetSNES() 89 PetscCall(MatShellGetContext(J, &j)); in MatAssemblyEnd_SNESMF() 120 PetscCall(MatShellGetContext(J, &j)); in MatAssemblyEnd_SNESMF_UseBase() 280 PetscCall(MatShellGetContext(*J, &mf)); in MatCreateSNESMF()
|
| /petsc/src/mat/tests/ |
| H A D | ex205.c | 15 PetscCall(MatShellGetContext(A, &user)); in MatMult_User() 25 PetscCall(MatShellGetContext(A, &userA)); in MatCopy_User() 39 PetscCall(MatShellGetContext(A, &user)); in MatDestroy_User()
|
| H A D | ex218.c | 15 PetscCall(MatShellGetContext(A, &user)); in MatMult_User() 25 PetscCall(MatShellGetContext(A, &user)); in MatMultTranspose_User()
|
| H A D | ex88.c | 15 PetscCall(MatShellGetContext(A, &user)); in MatView_User() 25 PetscCall(MatShellGetContext(A, &user)); in MatMult_User() 35 PetscCall(MatShellGetContext(A, &user)); in MatMultTranspose_User() 45 PetscCall(MatShellGetContext(A, &user)); in MatGetDiagonal_User()
|
| H A D | ex235.c | 10 PetscCall(MatShellGetContext(S, &A)); in myMult() 20 PetscCall(MatShellGetContext(S, &A)); in myGetDiagonal()
|
| H A D | ex221.c | 15 PetscCall(MatShellGetContext(A, &user)); in MatGetDiagonal_User() 25 PetscCall(MatShellGetContext(A, &user)); in MatMult_User() 35 PetscCall(MatShellGetContext(A, &user)); in MatMultTranspose_User() 45 PetscCall(MatShellGetContext(A, &user)); in MatCopy_User() 46 PetscCall(MatShellGetContext(X, &userX)); in MatCopy_User() 57 PetscCall(MatShellGetContext(A, &user)); in MatDestroy_User()
|
| H A D | ex69.c | 11 PetscCall(MatShellGetContext(S, &A)); in MatMult_S() 23 PetscCall(MatShellGetContext(S, &A)); in MatMultTranspose_S()
|
| H A D | ex203.c | 15 PetscCall(MatShellGetContext(A, &user)); in MatGetDiagonal_User()
|
| /petsc/src/snes/interface/noise/ |
| H A D | snesmfj2.c | 32 PetscCall(MatShellGetContext(mat, &ctx)); in SNESMatrixFreeDestroy2_Private() 49 PetscCall(MatShellGetContext(J, &ctx)); in SNESMatrixFreeView2_Private() 88 PetscCall(MatShellGetContext(mat, &ctx)); in SNESMatrixFreeMult2_Private() 291 PetscCall(MatShellGetContext(mat, &ctx)); in MatSNESMFMoreSetParameters() 310 PetscCall(MatShellGetContext(mat, &ctx)); in SNESUnSetMatrixFreeParameter()
|
| /petsc/src/mat/impls/htool/ |
| H A D | htool.cxx | 40 PetscCall(MatShellGetContext(A, &a)); in MatGetDiagonal_Htool() 59 PetscCall(MatShellGetContext(A, &a)); in MatGetDiagonalBlock_Htool() 89 PetscCall(MatShellGetContext(A, &a)); in MatMult_Htool() 106 PetscCall(MatShellGetContext(A, &a)); in MatMultTranspose_Htool() 170 PetscCall(MatShellGetContext(A, &a)); in MatCreateSubMatrices_Htool() 267 PetscCall(MatShellGetContext(A, &a)); in MatDestroy_Htool() 303 PetscCall(MatShellGetContext(A, &a)); in MatView_Htool() 354 PetscCall(MatShellGetContext(A, &a)); in MatGetRow_Htool() 388 PetscCall(MatShellGetContext(A, &a)); in MatSetFromOptions_Htool() 422 PetscCall(MatShellGetContext(A, &a)); in MatAssemblyEnd_Htool() [all …]
|
| /petsc/src/binding/petsc4py/demo/legacy/poisson3d/ |
| H A D | del2mat.h | 32 PetscCall(MatShellGetContext(A,&ctx)); in Del2Mat_mult()
|
| /petsc/src/ts/tutorials/autodiff/adolc-utils/ |
| H A D | matfree.cxx | 42 PetscCall(MatShellGetContext(A_shell, &mctx)); in PetscAdolcIJacobianVectorProduct() 124 PetscCall(MatShellGetContext(A_shell, &mctx)); in PetscAdolcIJacobianVectorProductIDMass() 192 PetscCall(MatShellGetContext(A_shell, &mctx)); in PetscAdolcIJacobianTransposeVectorProduct() 278 PetscCall(MatShellGetContext(A_shell, &mctx)); in PetscAdolcIJacobianTransposeVectorProductIDMass()
|
| /petsc/src/ts/tutorials/advection-diffusion-reaction/ |
| H A D | ex5adj_mf.c | 70 PetscCall(MatShellGetContext(A_shell, &mctx)); in MyRHSMatMultTranspose() 129 PetscCall(MatShellGetContext(A_shell, &mctx)); in MyIMatMultTranspose() 190 PetscCall(MatShellGetContext(A_shell, &mctx)); in MyIMatMult() 393 PetscCall(MatShellGetContext(A, &mctx)); in RHSJacobianShell() 403 PetscCall(MatShellGetContext(A, &mctx)); in IJacobianShell()
|
| /petsc/src/ksp/pc/impls/h2opus/ |
| H A D | pch2opus.c | 167 PetscCall(MatShellGetContext(A, &aat)); in MatMult_AAt() 260 PetscCall(MatShellGetContext(M, &pc)); in MatMultKernel_MAmI() 314 PetscCall(MatShellGetContext(M, &pc)); in MatMultKernel_Hyper() 368 PetscCall(MatShellGetContext(M, &pc)); in MatMatMultKernel_Hyper() 424 PetscCall(MatShellGetContext(M, &pc)); in MatMultKernel_NS() 466 PetscCall(MatShellGetContext(M, &pc)); in MatMatMultKernel_NS()
|