Searched refs:rhsfunction (Results 1 – 7 of 7) sorted by relevance
| /petsc/src/binding/petsc4py/test/ |
| H A D | test_ts.py | 23 def rhsfunction(self, ts, t, u, F): member in MyODE 99 ts.setRHSFunction(ode.rhsfunction, f) 146 ts.setRHSFunction(ode.rhsfunction, f)
|
| /petsc/src/ts/interface/ftn-custom/ |
| H A D | ztsf.c | 54 PetscFortranCallbackId rhsfunction; member 90 …PetscObjectUseFortranCallback(ts, _cb.rhsfunction, (TS *, PetscReal *, Vec *, Vec *, void *, Petsc… in ourrhsfunction() 187 …etFortranCallback((PetscObject)*ts, PETSC_FORTRAN_CALLBACK_CLASS, &_cb.rhsfunction, (PetscFortranC… in tssetrhsfunction_()
|
| /petsc/src/ts/impls/pseudo/ |
| H A D | posindep.c | 201 TSRHSFunctionFn *rhsfunction; in SNESTSFormFunction_Pseudo() local 217 PetscCall(DMTSGetRHSFunction(dm, &rhsfunction, NULL)); in SNESTSFormFunction_Pseudo() 218 …PetscCheck(rhsfunction || ifunction, PetscObjectComm((PetscObject)ts), PETSC_ERR_USER, "Must call … in SNESTSFormFunction_Pseudo()
|
| /petsc/src/ts/utils/ |
| H A D | dmts.c | 219 nkdm->ops->rhsfunction = kdm->ops->rhsfunction; in DMTSCopy() 710 if (func) tsdm->ops->rhsfunction = func; in DMTSSetRHSFunction() 986 if (func) *func = tsdm->ops->rhsfunction; in DMTSGetRHSFunction()
|
| /petsc/src/ts/interface/ |
| H A D | ts.c | 575 TSRHSFunctionFn *rhsfunction; in TSComputeRHSJacobian() local 583 PetscCall(DMTSGetRHSFunction(dm, &rhsfunction, NULL)); in TSComputeRHSJacobian() 588 … (ts->rhsjacobian.Xid == Uid && ts->rhsjacobian.Xstate == Ustate)) && (rhsfunction != TSComputeRHS… in TSComputeRHSJacobian() 631 TSRHSFunctionFn *rhsfunction; in TSComputeRHSFunction() local 641 PetscCall(DMTSGetRHSFunction(dm, &rhsfunction, &ctx)); in TSComputeRHSFunction() 644 …PetscCheck(rhsfunction || ifunction, PetscObjectComm((PetscObject)ts), PETSC_ERR_USER, "Must call … in TSComputeRHSFunction() 646 if (rhsfunction) { in TSComputeRHSFunction() 649 PetscCallBack("TS callback right-hand-side", (*rhsfunction)(ts, t, U, y, ctx)); in TSComputeRHSFunction() 797 TSRHSFunctionFn *rhsfunction; in TSComputeIFunction() local 809 PetscCall(DMTSGetRHSFunction(dm, &rhsfunction, NULL)); in TSComputeIFunction() [all …]
|
| /petsc/include/petsc/private/ |
| H A D | tsimpl.h | 381 TSRHSFunctionFn *rhsfunction; member
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | libpetsc4py.pyx | 2363 …PetscErrorCode (*rhsfunction)(PetscTS, PetscReal, PetscVec, PetscVec, void*) except PETSC_ERR_PYTH…
|