| /petsc/src/vec/vec/impls/mpi/mpiviennacl/ |
| H A D | mpiviennacl.cxx | 121 (*v)->ops[0] = win->ops[0]; in VecDuplicate_MPIViennaCL() 127 vw->localrep->ops[0] = w->localrep->ops[0]; in VecDuplicate_MPIViennaCL() 167 vv->ops->dotnorm2 = NULL; in VecBindToCPU_MPIViennaCL() 168 vv->ops->waxpy = VecWAXPY_Seq; in VecBindToCPU_MPIViennaCL() 169 vv->ops->dot = VecDot_MPI; in VecBindToCPU_MPIViennaCL() 170 vv->ops->mdot = VecMDot_MPI; in VecBindToCPU_MPIViennaCL() 171 vv->ops->tdot = VecTDot_MPI; in VecBindToCPU_MPIViennaCL() 172 vv->ops->norm = VecNorm_MPI; in VecBindToCPU_MPIViennaCL() 173 vv->ops->scale = VecScale_Seq; in VecBindToCPU_MPIViennaCL() 174 vv->ops->copy = VecCopy_Seq; in VecBindToCPU_MPIViennaCL() [all …]
|
| /petsc/src/dm/impls/patch/ |
| H A D | patchcreate.c | 27 dm->ops->view = DMView_Patch; in DMInitialize_Patch() 28 dm->ops->setfromoptions = DMSetFromOptions_Patch; in DMInitialize_Patch() 29 dm->ops->setup = DMSetUp_Patch; in DMInitialize_Patch() 30 dm->ops->createglobalvector = DMCreateGlobalVector_Patch; in DMInitialize_Patch() 31 dm->ops->createlocalvector = DMCreateLocalVector_Patch; in DMInitialize_Patch() 32 dm->ops->getlocaltoglobalmapping = NULL; in DMInitialize_Patch() 33 dm->ops->createfieldis = NULL; in DMInitialize_Patch() 34 dm->ops->getcoloring = NULL; in DMInitialize_Patch() 35 dm->ops->creatematrix = NULL; in DMInitialize_Patch() 36 dm->ops->createinterpolation = NULL; in DMInitialize_Patch() [all …]
|
| /petsc/src/mat/impls/baij/seq/ |
| H A D | baijfact3.c | 16 fact->ops->lufactornumeric = MatLUFactorNumeric_SeqBAIJ_1; in MatSeqBAIJSetNumericFactorization() 19 fact->ops->lufactornumeric = MatLUFactorNumeric_SeqBAIJ_2_NaturalOrdering; in MatSeqBAIJSetNumericFactorization() 22 fact->ops->lufactornumeric = MatLUFactorNumeric_SeqBAIJ_3_NaturalOrdering; in MatSeqBAIJSetNumericFactorization() 25 fact->ops->lufactornumeric = MatLUFactorNumeric_SeqBAIJ_4_NaturalOrdering; in MatSeqBAIJSetNumericFactorization() 28 fact->ops->lufactornumeric = MatLUFactorNumeric_SeqBAIJ_5_NaturalOrdering; in MatSeqBAIJSetNumericFactorization() 31 fact->ops->lufactornumeric = MatLUFactorNumeric_SeqBAIJ_6_NaturalOrdering; in MatSeqBAIJSetNumericFactorization() 34 fact->ops->lufactornumeric = MatLUFactorNumeric_SeqBAIJ_7_NaturalOrdering; in MatSeqBAIJSetNumericFactorization() 38 fact->ops->lufactornumeric = MatLUFactorNumeric_SeqBAIJ_9_NaturalOrdering; in MatSeqBAIJSetNumericFactorization() 40 fact->ops->lufactornumeric = MatLUFactorNumeric_SeqBAIJ_N; in MatSeqBAIJSetNumericFactorization() 44 fact->ops->lufactornumeric = MatLUFactorNumeric_SeqBAIJ_15_NaturalOrdering; in MatSeqBAIJSetNumericFactorization() [all …]
|
| /petsc/src/vec/vec/impls/mpi/kokkos/ |
| H A D | mpikok.kokkos.cxx | 80 const MPI_Op ops[] = {MPIU_MAXLOC, MPIU_MAX}; in VecMax_MPIKokkos() local 83 PetscCall(VecMinMax_MPI_Default(xin, idx, z, VecMax_SeqKokkos, ops)); in VecMax_MPIKokkos() 89 const MPI_Op ops[] = {MPIU_MINLOC, MPIU_MIN}; in VecMin_MPIKokkos() local 92 PetscCall(VecMinMax_MPI_Default(xin, idx, z, VecMin_SeqKokkos, ops)); in VecMin_MPIKokkos() 113 v->ops[0] = win->ops[0]; // always follow ops[] in win in VecDuplicate_MPIKokkos() 207 v->ops->abs = VecAbs_SeqKokkos; in VecCreate_MPIKokkos_Common() 208 v->ops->reciprocal = VecReciprocal_SeqKokkos; in VecCreate_MPIKokkos_Common() 209 v->ops->pointwisemult = VecPointwiseMult_SeqKokkos; in VecCreate_MPIKokkos_Common() 210 v->ops->setrandom = VecSetRandom_SeqKokkos; in VecCreate_MPIKokkos_Common() 211 v->ops->dotnorm2 = VecDotNorm2_MPIKokkos; in VecCreate_MPIKokkos_Common() [all …]
|
| /petsc/src/snes/linesearch/impls/cp/ |
| H A D | linesearchcp.c | 29 if (linesearch->ops->vidirderiv) { in SNESLineSearchApply_CP() 30 PetscCall((*linesearch->ops->vidirderiv)(snes, F, X, Y, &fty_old)); in SNESLineSearchApply_CP() 48 if (linesearch->ops->viproject) PetscCall((*linesearch->ops->viproject)(snes, W)); in SNESLineSearchApply_CP() 49 PetscCall((*linesearch->ops->snesfunc)(snes, W, F)); in SNESLineSearchApply_CP() 50 if (linesearch->ops->vidirderiv) { in SNESLineSearchApply_CP() 51 PetscCall((*linesearch->ops->vidirderiv)(snes, F, W, Y, &fty)); in SNESLineSearchApply_CP() 103 if (linesearch->ops->viproject) PetscCall((*linesearch->ops->viproject)(snes, W)); in SNESLineSearchApply_CP() 104 PetscCall((*linesearch->ops->snesfunc)(snes, W, F)); in SNESLineSearchApply_CP() 105 if (linesearch->ops->vidirderiv) { in SNESLineSearchApply_CP() 106 PetscCall((*linesearch->ops->vidirderiv)(snes, F, W, Y, &fty_mid1)); in SNESLineSearchApply_CP() [all …]
|
| /petsc/src/vec/is/sf/impls/basic/gather/ |
| H A D | sfgather.c | 46 sf->ops->BcastBegin = PetscSFBcastBegin_Basic; in PetscSFCreate_Gather() 47 sf->ops->BcastEnd = PetscSFBcastEnd_Basic; in PetscSFCreate_Gather() 48 sf->ops->ReduceBegin = PetscSFReduceBegin_Basic; in PetscSFCreate_Gather() 49 sf->ops->ReduceEnd = PetscSFReduceEnd_Basic; in PetscSFCreate_Gather() 52 sf->ops->Reset = PetscSFReset_Allgatherv; in PetscSFCreate_Gather() 53 sf->ops->Destroy = PetscSFDestroy_Allgatherv; in PetscSFCreate_Gather() 54 sf->ops->GetGraph = PetscSFGetGraph_Allgatherv; in PetscSFCreate_Gather() 55 sf->ops->GetRootRanks = PetscSFGetRootRanks_Allgatherv; in PetscSFCreate_Gather() 56 sf->ops->GetLeafRanks = PetscSFGetLeafRanks_Allgatherv; in PetscSFCreate_Gather() 57 sf->ops->FetchAndOpEnd = PetscSFFetchAndOpEnd_Allgatherv; in PetscSFCreate_Gather() [all …]
|
| /petsc/src/snes/linesearch/impls/basic/ |
| H A D | linesearchbasic.c | 23 if (linesearch->ops->viproject) PetscCall((*linesearch->ops->viproject)(snes, W)); in SNESLineSearchApply_Basic() 29 if (linesearch->ops->viproject) PetscCall((*linesearch->ops->viproject)(snes, W)); in SNESLineSearchApply_Basic() 32 PetscCall((*linesearch->ops->snesfunc)(snes, W, F)); in SNESLineSearchApply_Basic() 42 if (linesearch->ops->vinorm) { in SNESLineSearchApply_Basic() 45 PetscCall((*linesearch->ops->vinorm)(snes, F, W, &linesearch->fnorm)); in SNESLineSearchApply_Basic() 77 linesearch->ops->apply = SNESLineSearchApply_Basic; in SNESLineSearchCreate_Basic() 78 linesearch->ops->destroy = NULL; in SNESLineSearchCreate_Basic() 79 linesearch->ops->setfromoptions = NULL; in SNESLineSearchCreate_Basic() 80 linesearch->ops->reset = NULL; in SNESLineSearchCreate_Basic() 81 linesearch->ops->view = NULL; in SNESLineSearchCreate_Basic() [all …]
|
| /petsc/src/ksp/pc/impls/none/ |
| H A D | none.c | 36 pc->ops->apply = PCApply_None; in PCCreate_None() 37 pc->ops->matapply = PCMatApply_None; in PCCreate_None() 38 pc->ops->applytranspose = PCApply_None; in PCCreate_None() 39 pc->ops->matapplytranspose = PCMatApply_None; in PCCreate_None() 40 pc->ops->destroy = NULL; in PCCreate_None() 41 pc->ops->setup = NULL; in PCCreate_None() 42 pc->ops->view = NULL; in PCCreate_None() 43 pc->ops->applysymmetricleft = PCApply_None; in PCCreate_None() 44 pc->ops->applysymmetricright = PCApply_None; in PCCreate_None()
|
| /petsc/src/vec/is/sf/impls/basic/gatherv/ |
| H A D | sfgatherv.c | 58 sf->ops->BcastBegin = PetscSFBcastBegin_Basic; in PetscSFCreate_Gatherv() 59 sf->ops->BcastEnd = PetscSFBcastEnd_Basic; in PetscSFCreate_Gatherv() 60 sf->ops->ReduceBegin = PetscSFReduceBegin_Basic; in PetscSFCreate_Gatherv() 61 sf->ops->ReduceEnd = PetscSFReduceEnd_Basic; in PetscSFCreate_Gatherv() 64 sf->ops->SetUp = PetscSFSetUp_Allgatherv; in PetscSFCreate_Gatherv() 65 sf->ops->Reset = PetscSFReset_Allgatherv; in PetscSFCreate_Gatherv() 66 sf->ops->Destroy = PetscSFDestroy_Allgatherv; in PetscSFCreate_Gatherv() 67 sf->ops->GetGraph = PetscSFGetGraph_Allgatherv; in PetscSFCreate_Gatherv() 68 sf->ops->GetLeafRanks = PetscSFGetLeafRanks_Allgatherv; in PetscSFCreate_Gatherv() 69 sf->ops->GetRootRanks = PetscSFGetRootRanks_Allgatherv; in PetscSFCreate_Gatherv() [all …]
|
| /petsc/src/ts/utils/ |
| H A D | dmts.c | 75 PetscCall(PetscViewerBinaryRead(viewer, &kdm->ops->ifunction, 1, NULL, PETSC_FUNCTION)); in DMTSLoad() 76 PetscCall(PetscViewerBinaryRead(viewer, &kdm->ops->ifunctionview, 1, NULL, PETSC_FUNCTION)); in DMTSLoad() 77 PetscCall(PetscViewerBinaryRead(viewer, &kdm->ops->ifunctionload, 1, NULL, PETSC_FUNCTION)); in DMTSLoad() 78 if (kdm->ops->ifunctionload) { in DMTSLoad() 82 PetscCall((*kdm->ops->ifunctionload)(&ctx, viewer)); in DMTSLoad() 84 PetscCall(PetscViewerBinaryRead(viewer, &kdm->ops->ijacobian, 1, NULL, PETSC_FUNCTION)); in DMTSLoad() 85 PetscCall(PetscViewerBinaryRead(viewer, &kdm->ops->ijacobianview, 1, NULL, PETSC_FUNCTION)); in DMTSLoad() 86 PetscCall(PetscViewerBinaryRead(viewer, &kdm->ops->ijacobianload, 1, NULL, PETSC_FUNCTION)); in DMTSLoad() 87 if (kdm->ops->ijacobianload) { in DMTSLoad() 91 PetscCall((*kdm->ops->ijacobianload)(&ctx, viewer)); in DMTSLoad() [all …]
|
| /petsc/src/mat/impls/cdiagonal/ |
| H A D | cdiagonal.c | 380 A->ops->mult = MatMult_ConstantDiagonal; in MatCreate_ConstantDiagonal() 381 A->ops->multadd = MatMultAdd_ConstantDiagonal; in MatCreate_ConstantDiagonal() 382 A->ops->multtranspose = MatMult_ConstantDiagonal; in MatCreate_ConstantDiagonal() 383 A->ops->multtransposeadd = MatMultAdd_ConstantDiagonal; in MatCreate_ConstantDiagonal() 384 A->ops->multhermitiantranspose = MatMultHermitianTranspose_ConstantDiagonal; in MatCreate_ConstantDiagonal() 385 A->ops->multhermitiantransposeadd = MatMultHermitianTransposeAdd_ConstantDiagonal; in MatCreate_ConstantDiagonal() 386 A->ops->solve = MatSolve_ConstantDiagonal; in MatCreate_ConstantDiagonal() 387 A->ops->solvetranspose = MatSolve_ConstantDiagonal; in MatCreate_ConstantDiagonal() 388 A->ops->norm = MatNorm_ConstantDiagonal; in MatCreate_ConstantDiagonal() 389 A->ops->createsubmatrices = MatCreateSubMatrices_ConstantDiagonal; in MatCreate_ConstantDiagonal() [all …]
|
| /petsc/src/mat/impls/baij/seq/baijmkl/ |
| H A D | baijmkl.c | 53 B->ops->duplicate = MatDuplicate_SeqBAIJ; in MatConvert_SeqBAIJMKL_SeqBAIJ() 54 B->ops->assemblyend = MatAssemblyEnd_SeqBAIJ; in MatConvert_SeqBAIJMKL_SeqBAIJ() 55 B->ops->destroy = MatDestroy_SeqBAIJ; in MatConvert_SeqBAIJMKL_SeqBAIJ() 56 B->ops->multtranspose = MatMultTranspose_SeqBAIJ; in MatConvert_SeqBAIJMKL_SeqBAIJ() 57 B->ops->multtransposeadd = MatMultTransposeAdd_SeqBAIJ; in MatConvert_SeqBAIJMKL_SeqBAIJ() 58 B->ops->scale = MatScale_SeqBAIJ; in MatConvert_SeqBAIJMKL_SeqBAIJ() 59 B->ops->diagonalscale = MatDiagonalScale_SeqBAIJ; in MatConvert_SeqBAIJMKL_SeqBAIJ() 60 B->ops->axpy = MatAXPY_SeqBAIJ; in MatConvert_SeqBAIJMKL_SeqBAIJ() 64 B->ops->mult = MatMult_SeqBAIJ_1; in MatConvert_SeqBAIJMKL_SeqBAIJ() 65 B->ops->multadd = MatMultAdd_SeqBAIJ_1; in MatConvert_SeqBAIJMKL_SeqBAIJ() [all …]
|
| /petsc/src/snes/linesearch/impls/bisection/ |
| H A D | linesearchbisection.c | 35 if (linesearch->ops->vidirderiv) { in SNESLineSearchApply_Bisection() 36 PetscCall((*linesearch->ops->vidirderiv)(snes, F, X, Y, &fty_left)); in SNESLineSearchApply_Bisection() 44 if (linesearch->ops->viproject) PetscCall((*linesearch->ops->viproject)(snes, W)); in SNESLineSearchApply_Bisection() 45 PetscCall((*linesearch->ops->snesfunc)(snes, W, G)); in SNESLineSearchApply_Bisection() 52 if (linesearch->ops->vidirderiv) { in SNESLineSearchApply_Bisection() 53 PetscCall((*linesearch->ops->vidirderiv)(snes, G, W, Y, &fty)); in SNESLineSearchApply_Bisection() 145 if (linesearch->ops->viproject) PetscCall((*linesearch->ops->viproject)(snes, W)); in SNESLineSearchApply_Bisection() 146 PetscCall((*linesearch->ops->snesfunc)(snes, W, G)); in SNESLineSearchApply_Bisection() 153 if (linesearch->ops->vidirderiv) { in SNESLineSearchApply_Bisection() 154 PetscCall((*linesearch->ops->vidirderiv)(snes, G, W, Y, &fty)); in SNESLineSearchApply_Bisection() [all …]
|
| /petsc/src/snes/utils/ |
| H A D | dmsnes.c | 39 PetscCall(PetscViewerBinaryRead(viewer, &kdm->ops->computefunction, 1, NULL, PETSC_FUNCTION)); in DMSNESLoad() 40 PetscCall(PetscViewerBinaryRead(viewer, &kdm->ops->computejacobian, 1, NULL, PETSC_FUNCTION)); in DMSNESLoad() 55 PetscCall(PetscFPTFind(kdm->ops->computefunction, &fname)); in DMSNESView() 57 PetscCall(PetscFPTFind(kdm->ops->computejacobian, &fname)); in DMSNESView() 67 funcstruct.func = kdm->ops->computefunction; in DMSNESView() 68 jacstruct.jac = kdm->ops->computejacobian; in DMSNESView() 150 nkdm->ops->computefunction = kdm->ops->computefunction; in DMSNESCopy() 151 nkdm->ops->computejacobian = kdm->ops->computejacobian; in DMSNESCopy() 152 nkdm->ops->computegs = kdm->ops->computegs; in DMSNESCopy() 153 nkdm->ops->computeobjective = kdm->ops->computeobjective; in DMSNESCopy() [all …]
|
| /petsc/src/snes/linesearch/impls/secant/ |
| H A D | linesearchsecant.c | 50 if (linesearch->ops->viproject) PetscCall((*linesearch->ops->viproject)(snes, W)); in SNESLineSearchApply_Secant() 53 PetscCall((*linesearch->ops->snesfunc)(snes, W, F)); in SNESLineSearchApply_Secant() 54 if (linesearch->ops->vinorm) { in SNESLineSearchApply_Secant() 56 PetscCall((*linesearch->ops->vinorm)(snes, F, W, &fnrm_mid)); in SNESLineSearchApply_Secant() 63 if (linesearch->ops->viproject) PetscCall((*linesearch->ops->viproject)(snes, W)); in SNESLineSearchApply_Secant() 64 PetscCall((*linesearch->ops->snesfunc)(snes, W, F)); in SNESLineSearchApply_Secant() 65 if (linesearch->ops->vinorm) { in SNESLineSearchApply_Secant() 67 PetscCall((*linesearch->ops->vinorm)(snes, F, W, &fnrm)); in SNESLineSearchApply_Secant() 195 if (linesearch->ops->viproject) PetscCall((*linesearch->ops->viproject)(snes, W)); in SNESLineSearchApply_Secant() 202 if (linesearch->ops->viproject) PetscCall((*linesearch->ops->viproject)(snes, W)); in SNESLineSearchApply_Secant() [all …]
|
| /petsc/src/ksp/ksp/interface/ |
| H A D | dmksp.c | 14 if ((*kdm)->ops->destroy) PetscCall(((*kdm)->ops->destroy)(kdm)); in DMKSPDestroy() 65 nkdm->ops->computeoperators = kdm->ops->computeoperators; in DMKSPCopy() 66 nkdm->ops->computerhs = kdm->ops->computerhs; in DMKSPCopy() 67 nkdm->ops->computeinitialguess = kdm->ops->computeinitialguess; in DMKSPCopy() 68 nkdm->ops->destroy = kdm->ops->destroy; in DMKSPCopy() 69 nkdm->ops->duplicate = kdm->ops->duplicate; in DMKSPCopy() 214 if (func) kdm->ops->computeoperators = func; in DMKSPSetComputeOperators() 242 if (func) *func = kdm->ops->computeoperators; in DMKSPGetComputeOperators() 276 if (func) kdm->ops->computerhs = func; in DMKSPSetComputeRHS() 306 if (func) kdm->ops->computeinitialguess = func; in DMKSPSetComputeInitialGuess() [all …]
|
| /petsc/src/vec/pf/interface/ |
| H A D | pf.c | 32 pf->ops->destroy = destroy; in PFSet() 33 pf->ops->apply = apply; in PFSet() 34 pf->ops->applyvec = applyvec; in PFSet() 35 pf->ops->view = view; in PFSet() 62 if ((*pf)->ops->destroy) PetscCall((*(*pf)->ops->destroy)((*pf)->data)); in PFDestroy() 95 newpf->ops->destroy = NULL; in PFCreate() 96 newpf->ops->apply = NULL; in PFCreate() 97 newpf->ops->applyvec = NULL; in PFCreate() 98 newpf->ops->view = NULL; in PFCreate() 153 …if (pf->ops->applyvec) PetscCallBack("PF callback apply to vector", (*pf->ops->applyvec)(pf->data,… in PFApplyVec() [all …]
|
| /petsc/src/mat/impls/maij/ |
| H A D | maij.c | 156 PetscCall(PetscMemzero(A->ops, sizeof(struct _MatOps))); in MatCreate_MAIJ() 158 A->ops->setup = MatSetUp_MAIJ; in MatCreate_MAIJ() 477 PetscCall((*b->AIJ->ops->mult)(b->AIJ, xx, yy)); in MatMult_MPIMAIJ_dof() 479 PetscCall((*b->OAIJ->ops->multadd)(b->OAIJ, b->w, yy, yy)); in MatMult_MPIMAIJ_dof() 488 PetscCall((*b->OAIJ->ops->multtranspose)(b->OAIJ, xx, b->w)); in MatMultTranspose_MPIMAIJ_dof() 489 PetscCall((*b->AIJ->ops->multtranspose)(b->AIJ, xx, yy)); in MatMultTranspose_MPIMAIJ_dof() 502 PetscCall((*b->AIJ->ops->multadd)(b->AIJ, xx, yy, zz)); in MatMultAdd_MPIMAIJ_dof() 504 PetscCall((*b->OAIJ->ops->multadd)(b->OAIJ, b->w, zz, zz)); in MatMultAdd_MPIMAIJ_dof() 513 PetscCall((*b->OAIJ->ops->multtranspose)(b->OAIJ, xx, b->w)); in MatMultTransposeAdd_MPIMAIJ_dof() 514 PetscCall((*b->AIJ->ops->multtransposeadd)(b->AIJ, xx, yy, zz)); in MatMultTransposeAdd_MPIMAIJ_dof() [all …]
|
| /petsc/src/vec/vec/impls/nest/ |
| H A D | vecnest.c | 744 static PetscErrorCode VecNestSetOps_Private(struct _VecOps *ops) in VecNestSetOps_Private() argument 747 ops->duplicate = VecDuplicate_Nest; in VecNestSetOps_Private() 748 ops->duplicatevecs = VecDuplicateVecs_Default; in VecNestSetOps_Private() 749 ops->destroyvecs = VecDestroyVecs_Default; in VecNestSetOps_Private() 750 ops->dot = VecDot_Nest; in VecNestSetOps_Private() 751 ops->mdot = VecMDot_Nest; in VecNestSetOps_Private() 752 ops->norm = VecNorm_Nest; in VecNestSetOps_Private() 753 ops->tdot = VecTDot_Nest; in VecNestSetOps_Private() 754 ops->mtdot = VecMTDot_Nest; in VecNestSetOps_Private() 755 ops->scale = VecScale_Nest; in VecNestSetOps_Private() [all …]
|
| /petsc/src/mat/impls/aij/seq/aijsell/ |
| H A D | aijsell.c | 28 B->ops->duplicate = MatDuplicate_SeqAIJ; in MatConvert_SeqAIJSELL_SeqAIJ() 29 B->ops->assemblyend = MatAssemblyEnd_SeqAIJ; in MatConvert_SeqAIJSELL_SeqAIJ() 30 B->ops->destroy = MatDestroy_SeqAIJ; in MatConvert_SeqAIJSELL_SeqAIJ() 31 B->ops->mult = MatMult_SeqAIJ; in MatConvert_SeqAIJSELL_SeqAIJ() 32 B->ops->multtranspose = MatMultTranspose_SeqAIJ; in MatConvert_SeqAIJSELL_SeqAIJ() 33 B->ops->multadd = MatMultAdd_SeqAIJ; in MatConvert_SeqAIJSELL_SeqAIJ() 34 B->ops->multtransposeadd = MatMultTransposeAdd_SeqAIJ; in MatConvert_SeqAIJSELL_SeqAIJ() 35 B->ops->sor = MatSOR_SeqAIJ; in MatConvert_SeqAIJSELL_SeqAIJ() 226 B->ops->duplicate = MatDuplicate_SeqAIJSELL; in MatConvert_SeqAIJ_SeqAIJSELL() 227 B->ops->assemblyend = MatAssemblyEnd_SeqAIJSELL; in MatConvert_SeqAIJ_SeqAIJSELL() [all …]
|
| /petsc/src/tao/interface/ |
| H A D | taosolver_fg.c | 138 if (tao->ops->computegradient) { in TaoComputeGradient() 140 … PetscCallBack("Tao callback gradient", (*tao->ops->computegradient)(tao, X, G, tao->user_gradP)); in TaoComputeGradient() 143 } else if (tao->ops->computeobjectiveandgradient) { in TaoComputeGradient() 145 …PetscCallBack("Tao callback objective/gradient", (*tao->ops->computeobjectiveandgradient)(tao, X, … in TaoComputeGradient() 184 if (tao->ops->computeobjective) { in TaoComputeObjective() 186 … PetscCallBack("Tao callback objective", (*tao->ops->computeobjective)(tao, X, f, tao->user_objP)); in TaoComputeObjective() 189 } else if (tao->ops->computeobjectiveandgradient) { in TaoComputeObjective() 193 …PetscCallBack("Tao callback objective/gradient", (*tao->ops->computeobjectiveandgradient)(tao, X, … in TaoComputeObjective() 233 if (tao->ops->computeobjectiveandgradient) { in TaoComputeObjectiveAndGradient() 235 if (tao->ops->computegradient == TaoDefaultComputeGradient) { in TaoComputeObjectiveAndGradient() [all …]
|
| /petsc/src/dm/dt/dualspace/impls/simple/ |
| H A D | dspacesimple.c | 140 sp->ops->setup = PetscDualSpaceSetUp_Simple; in PetscDualSpaceInitialize_Simple() 141 sp->ops->view = NULL; in PetscDualSpaceInitialize_Simple() 142 sp->ops->destroy = PetscDualSpaceDestroy_Simple; in PetscDualSpaceInitialize_Simple() 143 sp->ops->duplicate = PetscDualSpaceDuplicate_Simple; in PetscDualSpaceInitialize_Simple() 144 sp->ops->createheightsubspace = NULL; in PetscDualSpaceInitialize_Simple() 145 sp->ops->createpointsubspace = NULL; in PetscDualSpaceInitialize_Simple() 146 sp->ops->getsymmetries = NULL; in PetscDualSpaceInitialize_Simple() 147 sp->ops->apply = PetscDualSpaceApplyDefault; in PetscDualSpaceInitialize_Simple() 148 sp->ops->applyall = PetscDualSpaceApplyAllDefault; in PetscDualSpaceInitialize_Simple() 149 sp->ops->applyint = PetscDualSpaceApplyInteriorDefault; in PetscDualSpaceInitialize_Simple() [all …]
|
| /petsc/src/ksp/pc/impls/rowscalingviennacl/ |
| H A D | rowscalingviennacl.cxx | 182 pc->ops->apply = PCApply_ROWSCALINGVIENNACL; in PCCreate_ROWSCALINGVIENNACL() 183 pc->ops->applytranspose = 0; in PCCreate_ROWSCALINGVIENNACL() 184 pc->ops->setup = PCSetUp_ROWSCALINGVIENNACL; in PCCreate_ROWSCALINGVIENNACL() 185 pc->ops->destroy = PCDestroy_ROWSCALINGVIENNACL; in PCCreate_ROWSCALINGVIENNACL() 186 pc->ops->setfromoptions = PCSetFromOptions_ROWSCALINGVIENNACL; in PCCreate_ROWSCALINGVIENNACL() 187 pc->ops->view = 0; in PCCreate_ROWSCALINGVIENNACL() 188 pc->ops->applyrichardson = 0; in PCCreate_ROWSCALINGVIENNACL() 189 pc->ops->applysymmetricleft = 0; in PCCreate_ROWSCALINGVIENNACL() 190 pc->ops->applysymmetricright = 0; in PCCreate_ROWSCALINGVIENNACL()
|
| /petsc/src/ksp/pc/impls/chowiluviennacl/ |
| H A D | chowiluviennacl.cxx | 174 pc->ops->apply = PCApply_CHOWILUVIENNACL; in PCCreate_CHOWILUVIENNACL() 175 pc->ops->applytranspose = 0; in PCCreate_CHOWILUVIENNACL() 176 pc->ops->setup = PCSetUp_CHOWILUVIENNACL; in PCCreate_CHOWILUVIENNACL() 177 pc->ops->destroy = PCDestroy_CHOWILUVIENNACL; in PCCreate_CHOWILUVIENNACL() 178 pc->ops->setfromoptions = PCSetFromOptions_CHOWILUVIENNACL; in PCCreate_CHOWILUVIENNACL() 179 pc->ops->view = 0; in PCCreate_CHOWILUVIENNACL() 180 pc->ops->applyrichardson = 0; in PCCreate_CHOWILUVIENNACL() 181 pc->ops->applysymmetricleft = 0; in PCCreate_CHOWILUVIENNACL() 182 pc->ops->applysymmetricright = 0; in PCCreate_CHOWILUVIENNACL()
|
| /petsc/src/dm/impls/shell/ |
| H A D | dmshell.c | 377 dm->ops->creatematrix = func; in DMShellSetCreateMatrix() 469 dm->ops->createglobalvector = func; in DMShellSetCreateGlobalVector() 534 dm->ops->createlocalvector = func; in DMShellSetCreateLocalVector() 560 dm->ops->globaltolocalbegin = begin; in DMShellSetGlobalToLocal() 561 dm->ops->globaltolocalend = end; in DMShellSetGlobalToLocal() 587 dm->ops->localtoglobalbegin = begin; in DMShellSetLocalToGlobal() 588 dm->ops->localtoglobalend = end; in DMShellSetLocalToGlobal() 614 dm->ops->localtolocalbegin = begin; in DMShellSetLocalToLocal() 615 dm->ops->localtolocalend = end; in DMShellSetLocalToLocal() 718 dm->ops->coarsen = coarsen; in DMShellSetCoarsen() [all …]
|