Searched refs:callback (Results 1 – 18 of 18) sorted by relevance
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | TAO.pyx | 310 """Set the objective function evaluation callback. 317 The objective function callback. 319 Positional arguments for the callback. 321 Keyword arguments for the callback. 335 """Set the residual evaluation callback for least-squares applications. 342 The residual callback. 346 Positional arguments for the callback. 348 Keyword arguments for the callback. 362 """Set the callback to compute the least-squares residual Jacobian. 369 The Jacobian callback. [all …]
|
| H A D | SNES.pyx | 750 """Set the callback that will be called before applying the linesearch. 757 The callback. 759 Positional arguments for the callback. 761 Keyword arguments for the callback. 775 # FIXME callback 784 """Set the callback to compute the initial guess. 791 The callback. 793 Positional arguments for the callback. 795 Keyword arguments for the callback. 813 """Return the callback to compute the initial guess. [all …]
|
| H A D | KSP.pyx | 755 Positional arguments for callback function ``rhs``. 757 Keyword arguments for callback function ``rhs``. 789 Positional arguments for callback function ``operators``. 791 Keyword arguments for callback function ``operators``. 1028 Positional arguments for callback function. 1030 Keyword arguments for callback function. 1094 Positional arguments for callback function. 1096 Keyword arguments for callback function. 1116 … if oconverged is not None: raise NotImplementedError("converged callback already set or added") 1136 """Call the convergence test callback. [all …]
|
| H A D | DM.pyx | 2312 Positional arguments for the callback. 2314 Keyword arguments for the callback. 2386 The callback. 2388 Positional arguments for the callback. 2390 Keyword arguments for the callback. 2417 The Jacobian callback. 2419 Positional arguments for the callback. 2421 Keyword arguments for the callback. 2443 """Add a callback to be executed when restricting to a coarser grid.
|
| H A D | Object.pyx | 191 """Set the callback for processing extra options. 198 The callback function, called at the end of a ``setFromOptions`` invocation
|
| H A D | Mat.pyx | 6177 """Set the callback to remove the nullspace. 6184 The callback. 6186 Positional arguments for the callback. 6188 Keyword arguments for the callback. 6243 """Return the callback to remove the nullspace.
|
| H A D | TS.pyx | 2497 discontinuities in callback routines (e.g. prestep and poststep
|
| /petsc/doc/developers/ |
| H A D | callbacks.md | 4 require user provided callback functions (and contexts for the 13 case. Rather, the callback functions are attached to an inner nonpublic 18 same callback function or callback context. You can control exactly what 38 To obtain a new DMKSP object for which you can change the callback 56 The `DMKSP` object is essentially the list of callback functions and 84 solver routine for setting a callback a similar routine exists at the 104 function callback and its context into the `DMXXX` object. 206 The `TS` object manages its callback functions in a way similar to
|
| /petsc/src/sys/objects/ |
| H A D | inherit.c | 275 PetscFortranCallback *callback; in PetscObjectSetFortranCallback() local 276 PetscCall(PetscMalloc1(newnum, &callback)); in PetscObjectSetFortranCallback() 277 PetscCall(PetscArraycpy(callback, obj->fortrancallback[cbtype], oldnum)); in PetscObjectSetFortranCallback() 280 obj->fortrancallback[cbtype] = callback; in PetscObjectSetFortranCallback()
|
| /petsc/doc/changes/ |
| H A D | 321.md | 153 …ns type from `PetscScalar[]` to `PetscReal[]` in the user `indicator()` callback set by `TSSetEven… 170 …Add MPI reduction inside `SNESComputeObjective_DMDA()`. No need to call reduction in local callback 189 …)`. Now it accepts a single context and a Boolean indicating to use the objective function callback
|
| H A D | 231.md | 94 - Arguments to DMMGSetKSP() changed. Now the callback which forms
|
| H A D | 32.md | 91 - The source array is marked constant in PFApply and the callback.
|
| /petsc/src/sys/objects/device/interface/ |
| H A D | mark_dcontext.cxx | 391 static PetscErrorCode PetscDeviceContextMapIterVisitor(PetscDeviceContext dctx, T &&callback) noexc… in PetscDeviceContextMapIterVisitor() argument 410 PetscCall(callback(mapit, deps.cbegin(), static_cast<decltype(deps.cend())>(it))); in PetscDeviceContextMapIterVisitor()
|
| /petsc/doc/manual/ |
| H A D | getting_started.md | 1043 … library will call at the appropriate time. The most general way to apply a callback has this form: 1049 where `ObjectCallbackSetter()` is a callback setter such as `SNESSetFunction()`. `callbackfunction(… 1053 … need to be deleted when no longer needed. Here is an example of the use of a full-fledged callback 1064 Occasionally, routines to set callback functions take additional data objects that will be used by … 1074 …by the user, which will be used as work-space by `SNES`. Note that this callback does not provide … 1076 PETSc accepts callback functions in different places in the code.
|
| H A D | fe.md | 42 …each region. The `PetscDS` contains a `PetscWeakForm` object that holds callback function pointers…
|
| H A D | performance.md | 486 provided your own callback routines, e.g. for residual evaluations, 490 instructions on how to optimize your callback functions are difficult;
|
| H A D | snes.md | 169 callback is only invoked if the solver requires it, always
|
| H A D | ksp.md | 629 allow the user to provide a callback function that changes the preconditioner at each Krylov iterat…
|