| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | petsctao.pxi | 274 cdef PetscErrorCode TAO_Objective(PetscTAO _tao, 288 cdef PetscErrorCode TAO_Residual(PetscTAO _tao, 302 cdef PetscErrorCode TAO_Gradient(PetscTAO _tao, 316 cdef PetscErrorCode TAO_ObjGrad(PetscTAO _tao, 332 cdef PetscErrorCode TAO_BRGNRegObjGrad(PetscTAO _tao, 347 cdef PetscErrorCode TAO_Constraints(PetscTAO _tao, 379 void* ctx) except PETSC_ERR_PYTHON with gil: 394 void* ctx) except PETSC_ERR_PYTHON with gil: 409 void* ctx) except PETSC_ERR_PYTHON with gil: 425 void* ctx) except PETSC_ERR_PYTHON with gil: [all …]
|
| H A D | petscsnes.pxi | 303 cdef PetscErrorCode SNES_InitialGuess( 319 cdef PetscErrorCode SNES_PreCheck( 342 cdef PetscErrorCode SNES_Function( 373 cdef PetscErrorCode SNES_Jacobian( 393 cdef PetscErrorCode SNES_Objective( 411 cdef PetscErrorCode SNES_NGS( 429 cdef PetscErrorCode SNES_Converged( 456 cdef PetscErrorCode SNES_Monitor( 473 cdef PetscErrorCode SNES_NewtonALFunction(
|
| H A D | petscksp.pxi | 251 cdef PetscErrorCode KSP_Converged( 269 cdef PetscErrorCode KSP_Monitor( 284 cdef PetscErrorCode KSP_ComputeRHS( 320 void* ctx, 336 void* ctx,
|
| H A D | petscts.pxi | 367 cdef PetscErrorCode TS_RHSFunction( 384 cdef PetscErrorCode TS_RHSJacobian( 403 cdef PetscErrorCode TS_RHSJacobianP( 422 cdef PetscErrorCode TS_IFunction( 441 cdef PetscErrorCode TS_IJacobian( 463 cdef PetscErrorCode TS_IJacobianP( 483 cdef PetscErrorCode TS_I2Function( 504 cdef PetscErrorCode TS_I2Jacobian( 531 cdef PetscErrorCode TS_Monitor( 548 cdef PetscErrorCode TS_Indicator( [all …]
|
| /petsc/src/tao/matrix/ |
| H A D | submatfree.c | 31 MatSubMatFreeCtx ctx; in MatCreateSubMatrixFree() local 69 MatSubMatFreeCtx ctx; in MatSMFResetRowColumn() local 84 MatSubMatFreeCtx ctx; in MatMult_SMF() local 97 MatSubMatFreeCtx ctx; in MatMultTranspose_SMF() local 110 MatSubMatFreeCtx ctx; in MatDiagonalSet_SMF() local 120 MatSubMatFreeCtx ctx; in MatDestroy_SMF() local 134 MatSubMatFreeCtx ctx; in MatView_SMF() local 144 MatSubMatFreeCtx ctx; in MatShift_SMF() local 154 MatSubMatFreeCtx ctx; in MatDuplicate_SMF() local 187 MatSubMatFreeCtx ctx; in MatScale_SMF() local [all …]
|
| /petsc/src/snes/tutorials/ |
| H A D | ex5f90.F90 | 69 subroutine FormFunction(snes, X, F, ctx, ierr) argument 184 subroutine InitialGuessLocal(ctx, x, ierr) argument 186 type(AppCtx) ctx local 231 subroutine FormFunctionLocal(x, f, ctx, ierr) argument 233 type(AppCtx) ctx local 310 subroutine FormJacobian(snes, X, jac, jac_prec, ctx, ierr) argument 397 subroutine FormJacobianLocal(x, jac_prec, ctx, ierr) argument 399 type(AppCtx) ctx local
|
| H A D | ex5f90t.F90 | 69 subroutine FormFunction(snesIn, X, F, ctx, ierr) argument 174 subroutine InitialGuessLocal(ctx, x, ierr) argument 176 type(AppCtx) ctx local 221 subroutine FormFunctionLocal(x, f, ctx, ierr) argument 223 type(AppCtx) ctx local 302 subroutine FormJacobian(mysnes, X, jac, jac_prec, ctx, ierr) argument 307 type(AppCtx) ctx local 386 subroutine FormJacobianLocal(x, jac_prec, ctx, ierr) argument 388 type(AppCtx) ctx local
|
| /petsc/src/ksp/pc/impls/lmvm/ |
| H A D | lmvmpc.c | 36 PC_LMVM *ctx; in PCLMVMSetUpdateVec() local 65 PC_LMVM *ctx; in PCLMVMSetMatLMVM() local 97 PC_LMVM *ctx; in PCLMVMGetMatLMVM() local 143 PC_LMVM *ctx; in PCLMVMSetIS() local 170 PC_LMVM *ctx; in PCLMVMClearIS() local 184 PC_LMVM *ctx = (PC_LMVM *)pc->data; in PCApply_LMVM() local 209 PC_LMVM *ctx = (PC_LMVM *)pc->data; in PCReset_LMVM() local 222 PC_LMVM *ctx = (PC_LMVM *)pc->data; in PCSetUp_LMVM() local 246 PC_LMVM *ctx = (PC_LMVM *)pc->data; in PCView_LMVM() local 261 PC_LMVM *ctx = (PC_LMVM *)pc->data; in PCSetFromOptions_LMVM() local [all …]
|
| /petsc/src/mat/impls/diagonal/ |
| H A D | diagonal.c | 15 Mat_Diagonal *ctx = (Mat_Diagonal *)A->data; in MatDiagonalSetUpDiagonal() local 29 Mat_Diagonal *ctx = (Mat_Diagonal *)A->data; in MatDiagonalSetUpInverseDiagonal() local 81 Mat_Diagonal *ctx = (Mat_Diagonal *)A->data; in MatMult_Diagonal() local 91 Mat_Diagonal *ctx = (Mat_Diagonal *)mat->data; in MatMultAdd_Diagonal() local 110 Mat_Diagonal *ctx = (Mat_Diagonal *)A->data; in MatNorm_Diagonal() local 176 Mat_Diagonal *ctx = (Mat_Diagonal *)A->data; in MatDiagonalGetDiagonal_Diagonal() local 211 Mat_Diagonal *ctx = (Mat_Diagonal *)A->data; in MatDiagonalRestoreDiagonal_Diagonal() local 259 Mat_Diagonal *ctx = (Mat_Diagonal *)A->data; in MatDiagonalGetInverseDiagonal_Diagonal() local 291 Mat_Diagonal *ctx = (Mat_Diagonal *)A->data; in MatDiagonalRestoreInverseDiagonal_Diagonal() local 308 Mat_Diagonal *ctx = (Mat_Diagonal *)A->data; in MatPermute_Diagonal() local [all …]
|
| /petsc/src/tao/interface/ |
| H A D | taosolver_bounds.c | 56 …BoundsRoutine(Tao tao, PetscErrorCode (*func)(Tao tao, Vec xl, Vec xu, PetscCtx ctx), PetscCtx ctx) in TaoSetVariableBoundsRoutine() 230 …sRoutine(Tao tao, Vec c, PetscErrorCode (*func)(Tao tao, Vec x, Vec c, PetscCtx ctx), PetscCtx ctx) in TaoSetConstraintsRoutine() 329 …outine(Tao tao, Vec ce, PetscErrorCode (*func)(Tao tao, Vec x, Vec ce, PetscCtx ctx), PetscCtx ctx) in TaoSetEqualityConstraintsRoutine() 366 …ne(Tao tao, Vec *ci, PetscErrorCode (**func)(Tao tao, Vec x, Vec ci, PetscCtx ctx), PetscCtxRt ctx) in TaoGetEqualityConstraintsRoutine() 397 …outine(Tao tao, Vec ci, PetscErrorCode (*func)(Tao tao, Vec x, Vec ci, PetscCtx ctx), PetscCtx ctx) in TaoSetInequalityConstraintsRoutine() 434 …ne(Tao tao, Vec *ci, PetscErrorCode (**func)(Tao tao, Vec x, Vec ci, PetscCtx ctx), PetscCtxRt ctx) in TaoGetInequalityConstraintsRoutine()
|
| H A D | taosolver_hj.c | 27 …t H, Mat Hpre, PetscErrorCode (*func)(Tao tao, Vec x, Mat H, Mat Hpre, PetscCtx ctx), PetscCtx ctx) in TaoSetHessian() 79 … Mat *Hpre, PetscErrorCode (**func)(Tao tao, Vec x, Mat H, Mat Hpre, PetscCtx ctx), PetscCtxRt ctx) in TaoGetHessian() 449 …t J, Mat Jpre, PetscErrorCode (*func)(Tao tao, Vec x, Mat J, Mat Jpre, PetscCtx ctx), PetscCtx ctx) in TaoSetJacobianRoutine() 501 …t J, Mat Jpre, PetscErrorCode (*func)(Tao tao, Vec x, Mat J, Mat Jpre, PetscCtx ctx), PetscCtx ctx) in TaoSetJacobianResidualRoutine() 556 …inv, PetscErrorCode (*func)(Tao tao, Vec x, Mat J, Mat Jpre, Mat Jinv, PetscCtx ctx), PetscCtx ctx) in TaoSetJacobianStateRoutine() 616 …nRoutine(Tao tao, Mat J, PetscErrorCode (*func)(Tao tao, Vec x, Mat J, PetscCtx ctx), PetscCtx ctx) in TaoSetJacobianDesignRoutine() 762 …t J, Mat Jpre, PetscErrorCode (*func)(Tao tao, Vec x, Mat J, Mat Jpre, PetscCtx ctx), PetscCtx ctx) in TaoSetJacobianEqualityRoutine() 814 … Mat *Jpre, PetscErrorCode (**func)(Tao tao, Vec x, Mat J, Mat Jpre, PetscCtx ctx), PetscCtxRt ctx) in TaoGetJacobianEqualityRoutine() 851 …t J, Mat Jpre, PetscErrorCode (*func)(Tao tao, Vec x, Mat J, Mat Jpre, PetscCtx ctx), PetscCtx ctx) in TaoSetJacobianInequalityRoutine() 903 … Mat *Jpre, PetscErrorCode (**func)(Tao tao, Vec x, Mat J, Mat Jpre, PetscCtx ctx), PetscCtxRt ctx) in TaoGetJacobianInequalityRoutine()
|
| H A D | taosolver_fg.c | 279 …bjective(Tao tao, PetscErrorCode (*func)(Tao tao, Vec x, PetscReal *f, PetscCtx ctx), PetscCtx ctx) in TaoSetObjective() 310 …ctive(Tao tao, PetscErrorCode (**func)(Tao tao, Vec x, PetscReal *f, PetscCtx ctx), PetscCtxRt ctx) in TaoGetObjective() 341 …tine(Tao tao, Vec res, PetscErrorCode (*func)(Tao tao, Vec x, Vec res, PetscCtx ctx), PetscCtx ctx) in TaoSetResidualRoutine() 467 …Gradient(Tao tao, Vec g, PetscErrorCode (*func)(Tao tao, Vec x, Vec g, PetscCtx ctx), PetscCtx ctx) in TaoSetGradient() 506 …ient(Tao tao, Vec *g, PetscErrorCode (**func)(Tao tao, Vec x, Vec g, PetscCtx ctx), PetscCtxRt ctx) in TaoGetGradient() 542 …ao, Vec g, PetscErrorCode (*func)(Tao tao, Vec x, PetscReal *f, Vec g, PetscCtx ctx), PetscCtx ctx) in TaoSetObjectiveAndGradient() 582 …Vec *g, PetscErrorCode (**func)(Tao tao, Vec x, PetscReal *f, Vec g, PetscCtx ctx), PetscCtxRt ctx) in TaoGetObjectiveAndGradient()
|
| /petsc/include/ |
| H A D | petsctao_deprecations.h | 33 …ableObjectiveRoutine(Tao tao, Vec res, PetscErrorCode (*func)(Tao, Vec, Vec, void *), PetscCtx ctx) in TaoSetSeparableObjectiveRoutine() 45 …orCode TaoSetMonitor(Tao tao, PetscErrorCode (*monitor)(Tao, void *), PetscCtx ctx, PetscCtxDestro… in TaoSetMonitor() 53 …, 0, "TaoMonitorDefault()", ) static inline PetscErrorCode TaoDefaultMonitor(Tao tao, PetscCtx ctx) in TaoDefaultMonitor() 57 …, 0, "TaoMonitorGlobalization()", ) static inline PetscErrorCode TaoGMonitor(Tao tao, PetscCtx ctx) in TaoGMonitor() 61 …1, 0, "TaoMonitorDefaultShort()", ) static inline PetscErrorCode TaoSMonitor(Tao tao, PetscCtx ctx) in TaoSMonitor() 65 … 0, "TaoMonitorConstraintNorm()", ) static inline PetscErrorCode TaoCMonitor(Tao tao, PetscCtx ctx) in TaoCMonitor() 69 …0, "TaoMonitorSolution()", ) static inline PetscErrorCode TaoSolutionMonitor(Tao tao, PetscCtx ctx) in TaoSolutionMonitor() 73 …0, "TaoMonitorGradient()", ) static inline PetscErrorCode TaoGradientMonitor(Tao tao, PetscCtx ctx) in TaoGradientMonitor() 77 …0, "TaoMonitorResidual()", ) static inline PetscErrorCode TaoResidualMonitor(Tao tao, PetscCtx ctx) in TaoResidualMonitor() 81 …, "TaoMonitorStep()", ) static inline PetscErrorCode TaoStepDirectionMonitor(Tao tao, PetscCtx ctx) in TaoStepDirectionMonitor() [all …]
|
| /petsc/src/ts/utils/ |
| H A D | dmts.c | 79 PetscCtx ctx; in DMTSLoad() local 88 PetscCtx ctx; in DMTSLoad() local 139 PetscCtx ctx; in DMTSView() local 151 PetscCtx ctx; in DMTSView() local 171 static PetscErrorCode DMCoarsenHook_DMTS(DM dm, DM dmc, PetscCtx ctx) in DMCoarsenHook_DMTS() 180 …tscErrorCode DMRestrictHook_DMTS(DM dm, Mat Restrict, Vec rscale, Mat Inject, DM dmc, PetscCtx ctx) in DMRestrictHook_DMTS() 186 static PetscErrorCode DMSubDomainHook_DMTS(DM dm, DM subdm, PetscCtx ctx) in DMSubDomainHook_DMTS() 195 …ode DMSubDomainRestrictHook_DMTS(DM dm, VecScatter gscat, VecScatter lscat, DM subdm, PetscCtx ctx) in DMSubDomainRestrictHook_DMTS() 374 PetscErrorCode DMTSSetIFunction(DM dm, TSIFunctionFn *func, PetscCtx ctx) in DMTSSetIFunction() 448 PetscErrorCode DMTSGetIFunction(DM dm, TSIFunctionFn **func, PetscCtxRt ctx) in DMTSGetIFunction() [all …]
|
| /petsc/src/snes/utils/ |
| H A D | dmsnes.c | 86 static PetscErrorCode DMCoarsenHook_DMSNES(DM dm, DM dmc, PetscCtx ctx) in DMCoarsenHook_DMSNES() 95 …cErrorCode DMRestrictHook_DMSNES(DM dm, Mat Restrict, Vec rscale, Mat Inject, DM dmc, PetscCtx ctx) in DMRestrictHook_DMSNES() 102 static PetscErrorCode DMSubDomainHook_DMSNES(DM dm, DM subdm, PetscCtx ctx) in DMSubDomainHook_DMSNES() 111 …e DMSubDomainRestrictHook_DMSNES(DM dm, VecScatter gscat, VecScatter lscat, DM subdm, PetscCtx ctx) in DMSubDomainRestrictHook_DMSNES() 117 static PetscErrorCode DMRefineHook_DMSNES(DM dm, DM dmf, PetscCtx ctx) in DMRefineHook_DMSNES() 126 static PetscErrorCode DMInterpolateHook_DMSNES(DM dm, Mat Interp, DM dmf, PetscCtx ctx) in DMInterpolateHook_DMSNES() 302 PetscErrorCode DMSNESSetFunction(DM dm, SNESFunctionFn *f, PetscCtx ctx) in DMSNESSetFunction() 373 PetscErrorCode DMSNESSetMFFunction(DM dm, SNESFunctionFn *func, PetscCtx ctx) in DMSNESSetMFFunction() 405 PetscErrorCode DMSNESGetFunction(DM dm, SNESFunctionFn **f, PetscCtxRt ctx) in DMSNESGetFunction() 434 PetscErrorCode DMSNESSetObjective(DM dm, SNESObjectiveFn *obj, PetscCtx ctx) in DMSNESSetObjective() [all …]
|
| H A D | dmlocalsnes.c | 48 static PetscErrorCode SNESComputeObjective_DMLocal(SNES snes, Vec X, PetscReal *obj, PetscCtx ctx) in SNESComputeObjective_DMLocal() 76 static PetscErrorCode SNESComputeFunction_DMLocal(SNES snes, Vec X, Vec F, PetscCtx ctx) in SNESComputeFunction_DMLocal() 127 static PetscErrorCode SNESComputeJacobian_DMLocal(SNES snes, Vec X, Mat A, Mat B, PetscCtx ctx) in SNESComputeJacobian_DMLocal() 206 … DMSNESSetObjectiveLocal(DM dm, PetscErrorCode (*func)(DM, Vec, PetscReal *, void *), PetscCtx ctx) in DMSNESSetObjectiveLocal() 245 …NESSetFunctionLocal(DM dm, PetscErrorCode (*func)(DM dm, Vec x, Vec f, PetscCtx ctx), PetscCtx ctx) in DMSNESSetFunctionLocal() 284 PetscErrorCode DMSNESSetBoundaryLocal(DM dm, PetscErrorCode (*func)(DM dm, Vec X, PetscCtx ctx), Pe… in DMSNESSetBoundaryLocal() 320 …cobianLocal(DM dm, PetscErrorCode (*func)(DM dm, Vec X, Mat J, Mat Jp, PetscCtx ctx), PetscCtx ctx) in DMSNESSetJacobianLocal() 353 …SNESGetObjectiveLocal(DM dm, PetscErrorCode (**func)(DM, Vec, PetscReal *, void *), PetscCtxRt ctx) in DMSNESGetObjectiveLocal() 383 …orCode DMSNESGetFunctionLocal(DM dm, PetscErrorCode (**func)(DM, Vec, Vec, void *), PetscCtxRt ctx) in DMSNESGetFunctionLocal() 413 …scErrorCode DMSNESGetBoundaryLocal(DM dm, PetscErrorCode (**func)(DM, Vec, void *), PetscCtxRt ctx) in DMSNESGetBoundaryLocal() [all …]
|
| H A D | dmdasnes.c | 57 static PetscErrorCode SNESComputeFunction_DMDA(SNES snes, Vec X, Vec F, PetscCtx ctx) in SNESComputeFunction_DMDA() 116 static PetscErrorCode SNESComputeObjective_DMDA(SNES snes, Vec X, PetscReal *ob, PetscCtx ctx) in SNESComputeObjective_DMDA() 147 PETSC_EXTERN PetscErrorCode SNESComputeJacobian_DMDA(SNES snes, Vec X, Mat A, Mat B, PetscCtx ctx) in SNESComputeJacobian_DMDA() 232 …e imode, PetscErrorCode (*func)(DMDALocalInfo *info, void *x, void *f, PetscCtx ctx), PetscCtx ctx) in DMDASNESSetFunctionLocal() 274 …tMode imode, PetscErrorCode (*func)(DMDALocalInfo *info, Vec x, Vec f, PetscCtx ctx), PetscCtx ctx) in DMDASNESSetFunctionLocalVec() 319 …dm, PetscErrorCode (*func)(DMDALocalInfo *info, void *x, Mat J, Mat M, PetscCtx ctx), PetscCtx ctx) in DMDASNESSetJacobianLocal() 357 …lVec(DM dm, PetscErrorCode (*func)(DMDALocalInfo *info, Vec x, Mat J, Mat M, void *), PetscCtx ctx) in DMDASNESSetJacobianLocalVec() 394 …(DM dm, PetscErrorCode (*func)(DMDALocalInfo *info, void *x, PetscReal *obj, void *), PetscCtx ctx) in DMDASNESSetObjectiveLocal() 431 …ec(DM dm, PetscErrorCode (*func)(DMDALocalInfo *info, Vec x, PetscReal *obj, void *), PetscCtx ctx) in DMDASNESSetObjectiveLocalVec() 448 static PetscErrorCode SNESComputePicard_DMDA(SNES snes, Vec X, Vec F, PetscCtx ctx) in SNESComputePicard_DMDA() [all …]
|
| /petsc/src/tao/interface/ftn-custom/ |
| H A D | ztaosolverf.c | 72 static PetscErrorCode ourtaoobjectiveroutine(Tao tao, Vec x, PetscReal *f, PetscCtx ctx) in ourtaoobjectiveroutine() 77 static PetscErrorCode ourtaogradientroutine(Tao tao, Vec x, Vec g, PetscCtx ctx) in ourtaogradientroutine() 82 …PetscErrorCode ourtaoobjectiveandgradientroutine(Tao tao, Vec x, PetscReal *f, Vec g, PetscCtx ctx) in ourtaoobjectiveandgradientroutine() 87 static PetscErrorCode ourtaohessianroutine(Tao tao, Vec x, Mat H, Mat Hpre, PetscCtx ctx) in ourtaohessianroutine() 92 static PetscErrorCode ourtaojacobianroutine(Tao tao, Vec x, Mat H, Mat Hpre, PetscCtx ctx) in ourtaojacobianroutine() 97 … PetscErrorCode ourtaojacobianstateroutine(Tao tao, Vec x, Mat H, Mat Hpre, Mat Hinv, PetscCtx ctx) in ourtaojacobianstateroutine() 102 static PetscErrorCode ourtaojacobiandesignroutine(Tao tao, Vec x, Mat H, PetscCtx ctx) in ourtaojacobiandesignroutine() 107 static PetscErrorCode ourtaoboundsroutine(Tao tao, Vec xl, Vec xu, PetscCtx ctx) in ourtaoboundsroutine() 111 static PetscErrorCode ourtaoresidualroutine(Tao tao, Vec x, Vec f, PetscCtx ctx) in ourtaoresidualroutine() 116 static PetscErrorCode ourtaojacobianresidualroutine(Tao tao, Vec x, Mat J, Mat Jpre, PetscCtx ctx) in ourtaojacobianresidualroutine() [all …]
|
| /petsc/src/dm/impls/swarm/ |
| H A D | swarmpic_sort.c | 19 static PetscErrorCode DMSwarmSortApplyCellIndexSort(DMSwarmSort ctx) in DMSwarmSortApplyCellIndexSort() 28 DMSwarmSort ctx; in DMSwarmSortCreate() local 41 static PetscErrorCode DMSwarmSortSetup(DMSwarmSort ctx, DM dm, PetscInt ncells) in DMSwarmSortSetup() 96 PetscErrorCode DMSwarmSortDestroy(DMSwarmSort *ctx) in DMSwarmSortDestroy() 133 DMSwarmSort ctx; in DMSwarmSortGetNumberOfPointsPerCell() local 168 DMSwarmSort ctx; in DMSwarmSortGetPointsPerCell() local 252 DMSwarmSort ctx; in DMSwarmSortGetAccess() local 314 DMSwarmSort ctx; in DMSwarmSortRestoreAccess() local 343 DMSwarmSort ctx; in DMSwarmSortGetIsValid() local 375 DMSwarmSort ctx; in DMSwarmSortGetSizes() local
|
| /petsc/src/ksp/ksp/interface/ |
| H A D | dmksp.c | 30 static PetscErrorCode DMCoarsenHook_DMKSP(DM dm, DM dmc, PetscCtx ctx) in DMCoarsenHook_DMKSP() 40 static PetscErrorCode DMRefineHook_DMKSP(DM dm, DM dmc, PetscCtx ctx) in DMRefineHook_DMKSP() 207 PetscErrorCode DMKSPSetComputeOperators(DM dm, KSPComputeOperatorsFn *func, PetscCtx ctx) in DMKSPSetComputeOperators() 235 PetscErrorCode DMKSPGetComputeOperators(DM dm, KSPComputeOperatorsFn **func, PetscCtx ctx) in DMKSPGetComputeOperators() 269 PetscErrorCode DMKSPSetComputeRHS(DM dm, KSPComputeRHSFn *func, PetscCtx ctx) in DMKSPSetComputeRHS() 299 PetscErrorCode DMKSPSetComputeInitialGuess(DM dm, KSPComputeInitialGuessFn *func, PetscCtx ctx) in DMKSPSetComputeInitialGuess() 327 PetscErrorCode DMKSPGetComputeRHS(DM dm, KSPComputeRHSFn **func, PetscCtx ctx) in DMKSPGetComputeRHS() 355 PetscErrorCode DMKSPGetComputeInitialGuess(DM dm, KSPComputeInitialGuessFn **func, PetscCtx ctx) in DMKSPGetComputeInitialGuess()
|
| /petsc/src/mat/impls/mffd/ |
| H A D | wp.c | 50 static PetscErrorCode MatMFFDCompute_WP(MatMFFD ctx, Vec U, Vec a, PetscScalar *h, PetscBool *zeroa) in MatMFFDCompute_WP() 85 static PetscErrorCode MatMFFDView_WP(MatMFFD ctx, PetscViewer viewer) in MatMFFDView_WP() 110 static PetscErrorCode MatMFFDSetFromOptions_WP(MatMFFD ctx, PetscOptionItems PetscOptionsObject) in MatMFFDSetFromOptions_WP() 121 static PetscErrorCode MatMFFDDestroy_WP(MatMFFD ctx) in MatMFFDDestroy_WP() 131 MatMFFD ctx = (MatMFFD)mat->data; in MatMFFDWPSetComputeNormU_P() local 176 PETSC_EXTERN PetscErrorCode MatCreateMFFD_WP(MatMFFD ctx) in MatCreateMFFD_WP()
|
| H A D | mffddef.c | 47 static PetscErrorCode MatMFFDCompute_DS(MatMFFD ctx, Vec U, Vec a, PetscScalar *h, PetscBool *zeroa) in MatMFFDCompute_DS() 87 static PetscErrorCode MatMFFDView_DS(MatMFFD ctx, PetscViewer viewer) in MatMFFDView_DS() 103 static PetscErrorCode MatMFFDSetFromOptions_DS(MatMFFD ctx, PetscOptionItems PetscOptionsObject) in MatMFFDSetFromOptions_DS() 114 static PetscErrorCode MatMFFDDestroy_DS(MatMFFD ctx) in MatMFFDDestroy_DS() 127 MatMFFD ctx = NULL; in MatMFFDDSSetUmin_DS() local 188 PETSC_EXTERN PetscErrorCode MatCreateMFFD_DS(MatMFFD ctx) in MatCreateMFFD_DS()
|
| /petsc/src/ksp/ksp/impls/gcr/ |
| H A D | gcr.c | 18 KSP_GCR *ctx = (KSP_GCR *)ksp->data; in KSPSolve_GCR_cycle() local 85 KSP_GCR *ctx = (KSP_GCR *)ksp->data; in KSPSolve_GCR() local 122 KSP_GCR *ctx = (KSP_GCR *)ksp->data; in KSPView_GCR() local 136 KSP_GCR *ctx = (KSP_GCR *)ksp->data; in KSPSetUp_GCR() local 155 KSP_GCR *ctx = (KSP_GCR *)ksp->data; in KSPReset_GCR() local 179 KSP_GCR *ctx = (KSP_GCR *)ksp->data; in KSPSetFromOptions_GCR() local 191 … KSPFlexibleSetModifyPC_GCR(KSP ksp, KSPFlexibleModifyPCFn *function, PetscCtx ctx, PetscCtxDestro… in KSPFlexibleSetModifyPC_GCR() 205 KSP_GCR *ctx; in KSPGCRSetRestart_GCR() local 215 KSP_GCR *ctx; in KSPGCRGetRestart_GCR() local 291 KSP_GCR *ctx; in KSPBuildResidual_GCR() local [all …]
|
| /petsc/src/mat/impls/cdiagonal/ |
| H A D | cdiagonal.c | 29 Mat_ConstantDiagonal *ctx = (Mat_ConstantDiagonal *)A->data; in MatGetRow_ConstantDiagonal() local 54 Mat_ConstantDiagonal *ctx = (Mat_ConstantDiagonal *)mat->data; in MatMultAdd_ConstantDiagonal() local 67 Mat_ConstantDiagonal *ctx = (Mat_ConstantDiagonal *)mat->data; in MatMultHermitianTransposeAdd_ConstantDiagonal() local 80 Mat_ConstantDiagonal *ctx = (Mat_ConstantDiagonal *)A->data; in MatNorm_ConstantDiagonal() local 127 Mat_ConstantDiagonal *ctx = (Mat_ConstantDiagonal *)J->data; in MatView_ConstantDiagonal() local 148 Mat_ConstantDiagonal *ctx = (Mat_ConstantDiagonal *)J->data; in MatMult_ConstantDiagonal() local 157 Mat_ConstantDiagonal *ctx = (Mat_ConstantDiagonal *)J->data; in MatMultHermitianTranspose_ConstantDiagonal() local 166 Mat_ConstantDiagonal *ctx = (Mat_ConstantDiagonal *)J->data; in MatGetDiagonal_ConstantDiagonal() local 175 Mat_ConstantDiagonal *ctx = (Mat_ConstantDiagonal *)Y->data; in MatShift_ConstantDiagonal() local 184 Mat_ConstantDiagonal *ctx = (Mat_ConstantDiagonal *)Y->data; in MatScale_ConstantDiagonal() local [all …]
|
| /petsc/src/tao/tutorials/ |
| H A D | ex4.c | 38 static PetscErrorCode CreateRHS(UserCtx ctx) in CreateRHS() 49 static PetscErrorCode CreateMatrix(UserCtx ctx) in CreateMatrix() 101 static PetscErrorCode SetupWorkspace(UserCtx ctx) in SetupWorkspace() 112 static PetscErrorCode ConfigureContext(UserCtx ctx) in ConfigureContext() 158 static PetscErrorCode DestroyContext(UserCtx *ctx) in DestroyContext() 178 UserCtx ctx = (UserCtx)_ctx; in ObjectiveMisfit() local 193 UserCtx ctx = (UserCtx)_ctx; in GradientMisfit() local 209 UserCtx ctx = (UserCtx)_ctx; in HessianMisfit() local 221 UserCtx ctx = (UserCtx)_ctx; in ObjectiveMisfitADMM() local 245 UserCtx ctx = (UserCtx)_ctx; in GradientMisfitADMM() local [all …]
|