Home
last modified time | relevance | path

Searched defs:ts (Results 1 – 25 of 243) sorted by relevance

12345678910

/petsc/src/ts/interface/
H A Dts.c89 PetscErrorCode TSSetFromOptions(TS ts) in TSSetFromOptions()
463 PetscErrorCode TSGetTrajectory(TS ts, TSTrajectory *tr) in TSGetTrajectory()
493 PetscErrorCode TSSetSaveTrajectory(TS ts) in TSSetSaveTrajectory()
513 PetscErrorCode TSResetTrajectory(TS ts) in TSResetTrajectory()
536 PetscErrorCode TSRemoveTrajectory(TS ts) in TSRemoveTrajectory()
567 PetscErrorCode TSComputeRHSJacobian(TS ts, PetscReal t, Vec U, Mat A, Mat B) in TSComputeRHSJacobian()
629 PetscErrorCode TSComputeRHSFunction(TS ts, PetscReal t, Vec U, Vec y) in TSComputeRHSFunction()
673 PetscErrorCode TSComputeSolutionFunction(TS ts, PetscReal t, Vec U) in TSComputeSolutionFunction()
703 PetscErrorCode TSComputeForcingFunction(TS ts, PetscReal t, Vec U) in TSComputeForcingFunction()
719 PetscErrorCode TSGetRHSMats_Private(TS ts, Mat *Arhs, Mat *Brhs) in TSGetRHSMats_Private()
[all …]
H A Dtsrhssplit.c3 static PetscErrorCode TSRHSSplitGetRHSSplit(TS ts, const char splitname[], TS_RHSSplitLink *isplit) in TSRHSSplitGetRHSSplit()
32 PetscErrorCode TSRHSSplitSetIS(TS ts, const char splitname[], IS is) in TSRHSSplitSetIS()
80 PetscErrorCode TSRHSSplitGetIS(TS ts, const char splitname[], IS *is) in TSRHSSplitGetIS()
109 PetscErrorCode TSRHSSplitSetRHSFunction(TS ts, const char splitname[], Vec r, TSRHSFunctionFn *rhsf… in TSRHSSplitSetRHSFunction()
162 PetscErrorCode TSRHSSplitSetIFunction(TS ts, const char splitname[], Vec r, TSIFunctionFn *ifunc, P… in TSRHSSplitSetIFunction()
216 PetscErrorCode TSRHSSplitSetIJacobian(TS ts, const char splitname[], Mat Amat, Mat Pmat, TSIJacobia… in TSRHSSplitSetIJacobian()
263 PetscErrorCode TSRHSSplitGetSubTS(TS ts, const char splitname[], TS *subts) in TSRHSSplitGetSubTS()
297 PetscErrorCode TSRHSSplitGetSubTSs(TS ts, PetscInt *n, TS *subts[]) in TSRHSSplitGetSubTSs()
334 PetscErrorCode TSRHSSplitGetSNES(TS ts, SNES *snes) in TSRHSSplitGetSNES()
367 PetscErrorCode TSRHSSplitSetSNES(TS ts, SNES snes) in TSRHSSplitSetSNES()
/petsc/src/ts/interface/sensitivity/
H A Dtssen.c28 PetscErrorCode TSSetRHSJacobianP(TS ts, Mat Amat, TSRHSJacobianPFn *func, PetscCtx ctx) in TSSetRHSJacobianP()
64 PetscErrorCode TSGetRHSJacobianP(TS ts, Mat *Amat, TSRHSJacobianPFn **func, PetscCtxRt ctx) in TSGetRHSJacobianP()
90 PetscErrorCode TSComputeRHSJacobianP(TS ts, PetscReal t, Vec U, Mat Amat) in TSComputeRHSJacobianP()
137 PetscErrorCode TSSetIJacobianP(TS ts, Mat Amat, PetscErrorCode (*func)(TS ts, PetscReal t, Vec U, V… in TSSetIJacobianP()
182 PetscErrorCode TSGetIJacobianP(TS ts, Mat *Amat, PetscErrorCode (**func)(TS ts, PetscReal t, Vec U,… in TSGetIJacobianP()
213 PetscErrorCode TSComputeIJacobianP(TS ts, PetscReal t, Vec U, Vec Udot, PetscReal shift, Mat Amat, … in TSComputeIJacobianP()
295TS ts, PetscInt numcost, Vec costintegral, PetscErrorCode (*rf)(TS ts, PetscReal t, Vec U, Vec F, … in TSSetCostIntegrand()
343 PetscErrorCode TSGetCostIntegral(TS ts, Vec *v) in TSGetCostIntegral()
374 PetscErrorCode TSComputeCostIntegrand(TS ts, PetscReal t, Vec U, Vec Q) in TSComputeCostIntegrand()
395 PetscErrorCode TSComputeDRDUFunction(TS ts, PetscReal t, Vec U, Vec *DRDU) in TSComputeDRDUFunction()
[all …]
/petsc/src/ts/impls/explicit/ssp/
H A Dssp.c18 static PetscErrorCode TSSSPGetWorkVectors(TS ts, PetscInt n, Vec **work) in TSSSPGetWorkVectors()
34 static PetscErrorCode TSSSPRestoreWorkVectors(TS ts, PetscInt n, Vec **work) in TSSSPRestoreWorkVectors()
53 static PetscErrorCode TSSSPStep_RK_2(TS ts, PetscReal t0, PetscReal dt, Vec sol) in TSSSPStep_RK_2()
85 static PetscErrorCode TSSSPStep_RK_3(TS ts, PetscReal t0, PetscReal dt, Vec sol) in TSSSPStep_RK_3()
144 static PetscErrorCode TSSSPStep_RK_10_4(TS ts, PetscReal t0, PetscReal dt, Vec sol) in TSSSPStep_RK_10_4()
178 static PetscErrorCode TSSetUp_SSP(TS ts) in TSSetUp_SSP()
187 static PetscErrorCode TSStep_SSP(TS ts) in TSStep_SSP()
214 static PetscErrorCode TSReset_SSP(TS ts) in TSReset_SSP()
225 static PetscErrorCode TSDestroy_SSP(TS ts) in TSDestroy_SSP()
257 PetscErrorCode TSSSPSetType(TS ts, TSSSPType ssptype) in TSSSPSetType()
[all …]
/petsc/src/ts/impls/implicit/theta/
H A Dtheta.c45 static PetscErrorCode TSThetaGetX0AndXdot(TS ts, DM dm, Vec *X0, Vec *Xdot) in TSThetaGetX0AndXdot()
61 static PetscErrorCode TSThetaRestoreX0AndXdot(TS ts, DM dm, Vec *X0, Vec *Xdot) in TSThetaRestoreX0AndXdot()
81 TS ts = (TS)ctx; in DMRestrictHook_TSTheta() local
104 TS ts = (TS)ctx; in DMSubDomainRestrictHook_TSTheta() local
122 static PetscErrorCode TSThetaEvaluateCostIntegral(TS ts) in TSThetaEvaluateCostIntegral()
143 static PetscErrorCode TSForwardCostIntegral_Theta(TS ts) in TSForwardCostIntegral_Theta()
155 static PetscErrorCode TSAdjointCostIntegral_Theta(TS ts) in TSAdjointCostIntegral_Theta()
167 static PetscErrorCode TSTheta_SNESSolve(TS ts, Vec b, Vec x) in TSTheta_SNESSolve()
180 static PetscErrorCode TSResizeRegister_Theta(TS ts, PetscBool reg) in TSResizeRegister_Theta()
197 static PetscErrorCode TSStep_Theta(TS ts) in TSStep_Theta()
[all …]
/petsc/src/ts/impls/explicit/euler/
H A Deuler.c10 static PetscErrorCode TSStep_Euler(TS ts) in TSStep_Euler()
45 static PetscErrorCode TSSetUp_Euler(TS ts) in TSSetUp_Euler()
57 static PetscErrorCode TSReset_Euler(TS ts) in TSReset_Euler()
66 static PetscErrorCode TSDestroy_Euler(TS ts) in TSDestroy_Euler()
74 static PetscErrorCode TSSetFromOptions_Euler(TS ts, PetscOptionItems PetscOptionsObject) in TSSetFromOptions_Euler()
80 static PetscErrorCode TSView_Euler(TS ts, PetscViewer viewer) in TSView_Euler()
86 static PetscErrorCode TSInterpolate_Euler(TS ts, PetscReal t, Vec X) in TSInterpolate_Euler()
98 static PetscErrorCode TSComputeLinearStability_Euler(TS ts, PetscReal xr, PetscReal xi, PetscReal *… in TSComputeLinearStability_Euler()
113 PETSC_EXTERN PetscErrorCode TSCreate_Euler(TS ts) in TSCreate_Euler()
/petsc/src/ts/impls/implicit/sundials/
H A Dsundials.c16 TS ts = (TS)P_data; in TSPrecond_Sundials_Petsc() local
51 TS ts = (TS)P_data; in TSPSolve_Sundials_Petsc() local
83 TS ts = (TS)ctx; in TSFunction_Sundials() local
119 static PetscErrorCode TSStep_Sundials(TS ts) in TSStep_Sundials()
212 static PetscErrorCode TSInterpolate_Sundials(TS ts, PetscReal t, Vec X) in TSInterpolate_Sundials()
243 static PetscErrorCode TSReset_Sundials(TS ts) in TSReset_Sundials()
256 static PetscErrorCode TSDestroy_Sundials(TS ts) in TSDestroy_Sundials()
278 static PetscErrorCode TSSetUp_Sundials(TS ts) in TSSetUp_Sundials()
382 static PetscErrorCode TSSetFromOptions_Sundials(TS ts, PetscOptionItems PetscOptionsObject) in TSSetFromOptions_Sundials()
410 static PetscErrorCode TSView_Sundials(TS ts, PetscViewer viewer) in TSView_Sundials()
[all …]
/petsc/src/ts/impls/pseudo/
H A Dposindep.c59 PetscErrorCode TSPseudoComputeFunction(TS ts, Vec solution, Vec *residual, PetscReal *fnorm) in TSPseudoComputeFunction()
82 static PetscErrorCode TSStep_Pseudo(TS ts) in TSStep_Pseudo()
145 static PetscErrorCode TSReset_Pseudo(TS ts) in TSReset_Pseudo()
155 static PetscErrorCode TSDestroy_Pseudo(TS ts) in TSDestroy_Pseudo()
168 static PetscErrorCode TSPseudoGetXdot(TS ts, Vec X, Vec *Xdot) in TSPseudoGetXdot()
198 static PetscErrorCode SNESTSFormFunction_Pseudo(SNES snes, Vec X, Vec Y, TS ts) in SNESTSFormFunction_Pseudo()
243 static PetscErrorCode SNESTSFormJacobian_Pseudo(SNES snes, Vec X, Mat AA, Mat BB, TS ts) in SNESTSFormJacobian_Pseudo()
254 static PetscErrorCode TSSetUp_Pseudo(TS ts) in TSSetUp_Pseudo()
264 static PetscErrorCode TSPseudoMonitorDefault(TS ts, PetscInt step, PetscReal ptime, Vec v, void *du… in TSPseudoMonitorDefault()
277 static PetscErrorCode TSSetFromOptions_Pseudo(TS ts, PetscOptionItems PetscOptionsObject) in TSSetFromOptions_Pseudo()
[all …]
/petsc/src/binding/petsc4py/src/petsc4py/PETSc/
H A Dpetscts.pxi359 cdef inline TS ref_TS(PetscTS ts):
368 PetscTS ts,
385 PetscTS ts,
404 PetscTS ts,
423 PetscTS ts,
442 PetscTS ts,
464 PetscTS ts,
484 PetscTS ts,
505 PetscTS ts,
532 PetscTS ts,
[all …]
/petsc/src/ts/impls/implicit/discgrad/
H A Dtsdiscgrad.c29 static PetscErrorCode TSDiscGradGetX0AndXdot(TS ts, DM dm, Vec *X0, Vec *Xdot) in TSDiscGradGetX0AndXdot()
45 static PetscErrorCode TSDiscGradRestoreX0AndXdot(TS ts, DM dm, Vec *X0, Vec *Xdot) in TSDiscGradRestoreX0AndXdot()
65 TS ts = (TS)ctx; in DMRestrictHook_TSDiscGrad() local
88 TS ts = (TS)ctx; in DMSubDomainRestrictHook_TSDiscGrad() local
106 static PetscErrorCode TSSetUp_DiscGrad(TS ts) in TSSetUp_DiscGrad()
122 static PetscErrorCode TSSetFromOptions_DiscGrad(TS ts, PetscOptionItems PetscOptionsObject) in TSSetFromOptions_DiscGrad()
135 static PetscErrorCode TSView_DiscGrad(TS ts, PetscViewer viewer) in TSView_DiscGrad()
145 static PetscErrorCode TSDiscGradGetType_DiscGrad(TS ts, TSDGType *dgtype) in TSDiscGradGetType_DiscGrad()
154 static PetscErrorCode TSDiscGradSetType_DiscGrad(TS ts, TSDGType dgtype) in TSDiscGradSetType_DiscGrad()
163 static PetscErrorCode TSReset_DiscGrad(TS ts) in TSReset_DiscGrad()
[all …]
/petsc/src/ts/impls/mimex/
H A Dmimex.c15 static PetscErrorCode TSMimexGetX0AndXdot(TS ts, DM dm, Vec *X0, Vec *Xdot) in TSMimexGetX0AndXdot()
31 static PetscErrorCode TSMimexRestoreX0AndXdot(TS ts, DM dm, Vec *X0, Vec *Xdot) in TSMimexRestoreX0AndXdot()
41 static PetscErrorCode TSMimexGetXstarAndG(TS ts, DM dm, Vec *Xstar, Vec *G) in TSMimexGetXstarAndG()
49 static PetscErrorCode TSMimexRestoreXstarAndG(TS ts, DM dm, Vec *Xstar, Vec *G) in TSMimexRestoreXstarAndG()
61 static PetscErrorCode SNESTSFormFunction_Mimex(SNES snes, Vec x, Vec y, TS ts) in SNESTSFormFunction_Mimex()
122 static PetscErrorCode SNESTSFormJacobian_Mimex(SNES snes, Vec x, Mat A, Mat B, TS ts) in SNESTSFormJacobian_Mimex()
143 static PetscErrorCode TSStep_Mimex_Split(TS ts) in TSStep_Mimex_Split()
213 static PetscErrorCode TSStep_Mimex_Implicit(TS ts) in TSStep_Mimex_Implicit()
231 static PetscErrorCode TSStep_Mimex(TS ts) in TSStep_Mimex()
249 static PetscErrorCode TSSetUp_Mimex(TS ts) in TSSetUp_Mimex()
[all …]
/petsc/src/ts/impls/implicit/alpha/
H A Dalpha1.c37 static PetscErrorCode TSResizeRegister_Alpha(TS ts, PetscBool reg) in TSResizeRegister_Alpha()
54 static PetscErrorCode TSAlpha_StageTime(TS ts) in TSAlpha_StageTime()
70 static PetscErrorCode TSAlpha_StageVecs(TS ts, Vec X) in TSAlpha_StageVecs()
94 static PetscErrorCode TSAlpha_SNESSolve(TS ts, Vec b, Vec x) in TSAlpha_SNESSolve()
113 static PetscErrorCode TSAlpha_Restart(TS ts, PetscBool *initok) in TSAlpha_Restart()
179 static PetscErrorCode TSStep_Alpha(TS ts) in TSStep_Alpha()
235 static PetscErrorCode TSEvaluateWLTE_Alpha(TS ts, NormType wnormtype, PetscInt *order, PetscReal *w… in TSEvaluateWLTE_Alpha()
274 static PetscErrorCode TSInterpolate_Alpha(TS ts, PetscReal t, Vec X) in TSInterpolate_Alpha()
291 static PetscErrorCode SNESTSFormFunction_Alpha(PETSC_UNUSED SNES snes, Vec X, Vec F, TS ts) in SNESTSFormFunction_Alpha()
305 …ErrorCode SNESTSFormJacobian_Alpha(PETSC_UNUSED SNES snes, PETSC_UNUSED Vec X, Mat J, Mat P, TS ts) in SNESTSFormJacobian_Alpha()
[all …]
H A Dalpha2.c65 PetscErrorCode TSAlpha2SetPredictor(TS ts, TSAlpha2PredictorFn *predictor, PetscCtx ctx) in TSAlpha2SetPredictor()
75 static PetscErrorCode TSAlpha_ApplyPredictor(TS ts, Vec X1) in TSAlpha_ApplyPredictor()
86 static PetscErrorCode TSAlpha_StageTime(TS ts) in TSAlpha_StageTime()
104 static PetscErrorCode TSAlpha_StageVecs(TS ts, Vec X) in TSAlpha_StageVecs()
136 static PetscErrorCode TSAlpha_SNESSolve(TS ts, Vec b, Vec x) in TSAlpha_SNESSolve()
155 static PetscErrorCode TSAlpha_Restart(TS ts, PetscBool *initok) in TSAlpha_Restart()
235 static PetscErrorCode TSStep_Alpha(TS ts) in TSStep_Alpha()
295 static PetscErrorCode TSEvaluateWLTE_Alpha(TS ts, NormType wnormtype, PetscInt *order, PetscReal *w… in TSEvaluateWLTE_Alpha()
354 static PetscErrorCode TSRollBack_Alpha(TS ts) in TSRollBack_Alpha()
382 static PetscErrorCode SNESTSFormFunction_Alpha(PETSC_UNUSED SNES snes, Vec X, Vec F, TS ts) in SNESTSFormFunction_Alpha()
[all …]
/petsc/src/ts/impls/bdf/
H A Dbdf.c55 static PetscErrorCode TSBDF_GetVecs(TS ts, DM dm, Vec *Xdot, Vec *Ydot) in TSBDF_GetVecs()
70 static PetscErrorCode TSBDF_RestoreVecs(TS ts, DM dm, Vec *Xdot, Vec *Ydot) in TSBDF_RestoreVecs()
95 TS ts = (TS)ctx; in DMRestrictHook_TSBDF() local
111 static PetscErrorCode TSBDF_Advance(TS ts, PetscReal t, Vec X) in TSBDF_Advance()
132 static PetscErrorCode TSBDF_VecLTE(TS ts, PetscInt order, Vec lte) in TSBDF_VecLTE()
150 static PetscErrorCode TSBDF_Extrapolate(TS ts, PetscInt order, PetscReal t, Vec X) in TSBDF_Extrapolate()
166 static PetscErrorCode TSBDF_Interpolate(TS ts, PetscInt order, PetscReal t, Vec X) in TSBDF_Interpolate()
185 static PetscErrorCode TSBDF_PreSolve(TS ts) in TSBDF_PreSolve()
204 static PetscErrorCode TSBDF_SNESSolve(TS ts, Vec b, Vec x) in TSBDF_SNESSolve()
218 static PetscErrorCode TSBDF_Restart(TS ts, PetscBool *accept) in TSBDF_Restart()
[all …]
/petsc/src/ts/impls/eimex/
H A Deimex.c32 static PetscErrorCode TSEvaluateStep_EIMEX(TS ts, PetscInt order, Vec X, PetscBool *done) in TSEvaluateStep_EIMEX()
42 static PetscErrorCode TSStage_EIMEX(TS ts, PetscInt istage) in TSStage_EIMEX()
73 static PetscErrorCode TSStep_EIMEX(TS ts) in TSStep_EIMEX()
149 static PetscErrorCode TSInterpolate_EIMEX(TS ts, PetscReal itime, Vec X) in TSInterpolate_EIMEX()
174 static PetscErrorCode TSReset_EIMEX(TS ts) in TSReset_EIMEX()
192 static PetscErrorCode TSDestroy_EIMEX(TS ts) in TSDestroy_EIMEX()
203 static PetscErrorCode TSEIMEXGetVecs(TS ts, DM dm, Vec *Z, Vec *Ydot, Vec *YdotI, Vec *YdotRHS) in TSEIMEXGetVecs()
227 static PetscErrorCode TSEIMEXRestoreVecs(TS ts, DM dm, Vec *Z, Vec *Ydot, Vec *YdotI, Vec *YdotRHS) in TSEIMEXRestoreVecs()
251 static PetscErrorCode SNESTSFormFunction_EIMEX(SNES snes, Vec X, Vec G, TS ts) in SNESTSFormFunction_EIMEX()
276 static PetscErrorCode SNESTSFormJacobian_EIMEX(SNES snes, Vec X, Mat A, Mat B, TS ts) in SNESTSFormJacobian_EIMEX()
[all …]
/petsc/src/ts/impls/explicit/rk/
H A Drk.c485 static PetscErrorCode TSRKGetTableau_RK(TS ts, PetscInt *s, const PetscReal **A, const PetscReal **… in TSRKGetTableau_RK()
524 PetscErrorCode TSRKGetTableau(TS ts, PetscInt *s, const PetscReal **A, const PetscReal **b, const P… in TSRKGetTableau()
548 static PetscErrorCode TSEvaluateStep_RK(TS ts, PetscInt order, Vec X, PetscBool *done) in TSEvaluateStep_RK()
596 static PetscErrorCode TSForwardCostIntegral_RK(TS ts) in TSForwardCostIntegral_RK()
616 static PetscErrorCode TSAdjointCostIntegral_RK(TS ts) in TSAdjointCostIntegral_RK()
635 static PetscErrorCode TSRollBack_RK(TS ts) in TSRollBack_RK()
671 static PetscErrorCode TSForwardStep_RK(TS ts) in TSForwardStep_RK()
724 static PetscErrorCode TSForwardGetStages_RK(TS ts, PetscInt *ns, Mat **stagesensip) in TSForwardGetStages_RK()
735 static PetscErrorCode TSForwardSetUp_RK(TS ts) in TSForwardSetUp_RK()
755 static PetscErrorCode TSForwardReset_RK(TS ts) in TSForwardReset_RK()
[all …]
/petsc/src/ts/event/tests/
H A Dex1.c19 TS ts; in main() local
139 PetscErrorCode RHSFunction(TS ts, PetscReal t, Vec x, Vec f, PetscCtx ctx) in RHSFunction()
146 PetscErrorCode RHSJacobian(TS ts, PetscReal t, Vec x, Mat A, Mat B, PetscCtx ctx) in RHSJacobian()
154 PetscErrorCode PreStep(TS ts) in PreStep()
173 PetscErrorCode PostStep(TS ts) in PostStep()
190 PetscErrorCode Monitor(TS ts, PetscInt n, PetscReal t, Vec x, PetscCtx ctx) in Monitor()
201 PetscErrorCode Event(TS ts, PetscReal t, Vec x, PetscReal *fvalue, PetscCtx ctx) in Event()
210 PetscErrorCode PostEvent(TS ts, PetscInt nevents, PetscInt event_list[], PetscReal t, Vec x, PetscB… in PostEvent()
223 PetscErrorCode TransferSetUp(TS ts, PetscInt n, PetscReal t, Vec x, PetscBool *flg, PetscCtx ctx) in TransferSetUp()
237 PetscErrorCode Transfer(TS ts, PetscInt nv, Vec vin[], Vec vout[], PetscCtx ctx) in Transfer()
H A Dex16.c19 TS ts; in main() local
78 PetscErrorCode RHSFunction(TS ts, PetscReal t, Vec x, Vec f, PetscCtx ctx) in RHSFunction()
85 PetscErrorCode RHSJacobian(TS ts, PetscReal t, Vec x, Mat A, Mat B, PetscCtx ctx) in RHSJacobian()
93 PetscErrorCode Event(TS ts, PetscReal t, Vec x, PetscReal *fvalue, PetscCtx ctx) in Event()
102 PetscErrorCode PostEvent(TS ts, PetscInt nevents, PetscInt event_list[], PetscReal t, Vec x, PetscB… in PostEvent()
/petsc/src/binding/petsc4py/test/
H A Dtest_ts_py.py18 def function(self, ts, t, u, du, F): argument
24 def jacobian(self, ts, t, u, du, a, J, P): argument
44 def create(self, ts, *args): argument
48 def destroy(self, ts, *args): argument
52 def setFromOptions(self, ts, *args): argument
55 def setUp(self, ts, *args): argument
59 def reset(self, ts, *args): argument
62 def solveStep(self, ts, t, u, *args): argument
66 def adaptStep(self, ts, t, u, *args): argument
/petsc/src/ts/impls/implicit/irk/
H A Dirk.c67 PetscErrorCode TSIRKTableauCreate(TS ts, PetscInt nstages, const PetscReal *A, const PetscReal *b, … in TSIRKTableauCreate()
88 static PetscErrorCode TSIRKCreate_Gauss(TS ts) in TSIRKCreate_Gauss()
269 static PetscErrorCode TSEvaluateStep_IRK(TS ts, PetscInt order, Vec U, PetscBool *done) in TSEvaluateStep_IRK()
297 static PetscErrorCode TSRollBack_IRK(TS ts) in TSRollBack_IRK()
306 static PetscErrorCode TSStep_IRK(TS ts) in TSStep_IRK()
365 static PetscErrorCode TSInterpolate_IRK(TS ts, PetscReal itime, Vec U) in TSInterpolate_IRK()
398 static PetscErrorCode TSIRKTableauReset(TS ts) in TSIRKTableauReset()
410 static PetscErrorCode TSReset_IRK(TS ts) in TSReset_IRK()
429 static PetscErrorCode TSIRKGetVecs(TS ts, DM dm, Vec *U) in TSIRKGetVecs()
441 static PetscErrorCode TSIRKRestoreVecs(TS ts, DM dm, Vec *U) in TSIRKRestoreVecs()
[all …]
/petsc/src/ts/tutorials/
H A Dex31.c71 PetscErrorCode RHSFunction_Hull1972A1(TS ts, PetscReal t, Vec Y, Vec F, void *s) in RHSFunction_Hull1972A1()
85 PetscErrorCode RHSJacobian_Hull1972A1(TS ts, PetscReal t, Vec Y, Mat A, Mat B, void *s) in RHSJacobian_Hull1972A1()
100 PetscErrorCode IFunction_Hull1972A1(TS ts, PetscReal t, Vec Y, Vec Ydot, Vec F, void *s) in IFunction_Hull1972A1()
116 PetscErrorCode IJacobian_Hull1972A1(TS ts, PetscReal t, Vec Y, Vec Ydot, PetscReal a, Mat A, Mat B,… in IJacobian_Hull1972A1()
133 PetscErrorCode RHSFunction_Hull1972A2(TS ts, PetscReal t, Vec Y, Vec F, void *s) in RHSFunction_Hull1972A2()
147 PetscErrorCode RHSJacobian_Hull1972A2(TS ts, PetscReal t, Vec Y, Mat A, Mat B, void *s) in RHSJacobian_Hull1972A2()
163 PetscErrorCode IFunction_Hull1972A2(TS ts, PetscReal t, Vec Y, Vec Ydot, Vec F, void *s) in IFunction_Hull1972A2()
179 PetscErrorCode IJacobian_Hull1972A2(TS ts, PetscReal t, Vec Y, Vec Ydot, PetscReal a, Mat A, Mat B,… in IJacobian_Hull1972A2()
197 PetscErrorCode RHSFunction_Hull1972A3(TS ts, PetscReal t, Vec Y, Vec F, void *s) in RHSFunction_Hull1972A3()
211 PetscErrorCode RHSJacobian_Hull1972A3(TS ts, PetscReal t, Vec Y, Mat A, Mat B, void *s) in RHSJacobian_Hull1972A3()
[all …]
/petsc/src/ts/interface/ftn-custom/
H A Dztsf.c68 static PetscErrorCode ourprestep(TS ts) in ourprestep()
76 static PetscErrorCode ourpoststep(TS ts) in ourpoststep()
84 static PetscErrorCode ourrhsfunction(TS ts, PetscReal d, Vec x, Vec f, PetscCtx ctx) in ourrhsfunction()
92 static PetscErrorCode ourifunction(TS ts, PetscReal d, Vec x, Vec xdot, Vec f, PetscCtx ctx) in ourifunction()
100 static PetscErrorCode ourrhsjacobian(TS ts, PetscReal d, Vec x, Mat m, Mat p, PetscCtx ctx) in ourrhsjacobian()
108 static PetscErrorCode ourijacobian(TS ts, PetscReal d, Vec x, Vec xdot, PetscReal shift, Mat m, Mat… in ourijacobian()
116 static PetscErrorCode ourijacobianp(TS ts, PetscReal d, Vec x, Vec xdot, PetscReal shift, Mat m, Pe… in ourijacobianp()
124 static PetscErrorCode ourrhsjacobianp(TS ts, PetscReal d, Vec x, Mat m, PetscCtx ctx) in ourrhsjacobianp()
135 TS ts = *(TS *)ctx; in ourmonitordestroy() local
142 static PetscErrorCode ourmonitor(TS ts, PetscInt i, PetscReal d, Vec v, PetscCtx ctx) in ourmonitor()
[all …]
/petsc/src/ts/impls/arkimex/
H A Darkimex.c413 PetscErrorCode TSHasRHSFunction(TS ts, PetscBool *has) in TSHasRHSFunction()
1225 static PetscErrorCode TSEvaluateStep_ARKIMEX(TS ts, PetscInt order, Vec X, PetscBool *done) in TSEvaluateStep_ARKIMEX()
1300 static PetscErrorCode TSARKIMEXTestMassIdentity(TS ts, PetscBool *id) in TSARKIMEXTestMassIdentity()
1330 static PetscErrorCode TSStep_ARKIMEX(TS ts) in TSStep_ARKIMEX()
1560 static PetscErrorCode TSAdjointStep_ARKIMEX(TS ts) in TSAdjointStep_ARKIMEX()
1669 static PetscErrorCode TSInterpolate_ARKIMEX(TS ts, PetscReal itime, Vec X) in TSInterpolate_ARKIMEX()
1711 static PetscErrorCode TSExtrapolate_ARKIMEX(TS ts, PetscReal c, Vec X) in TSExtrapolate_ARKIMEX()
1743 static PetscErrorCode TSARKIMEXTableauReset(TS ts) in TSARKIMEXTableauReset()
1760 static PetscErrorCode TSReset_ARKIMEX(TS ts) in TSReset_ARKIMEX()
1777 static PetscErrorCode TSAdjointReset_ARKIMEX(TS ts) in TSAdjointReset_ARKIMEX()
[all …]
/petsc/src/binding/petsc4py/demo/legacy/ode/
H A Dbouncing_ball.py21 def evalRHSFunction(self, ts, t, u, f): argument
26 def evalRHSJacobian(self, ts, t, u, A, B): argument
41 def __call__(self, ts, k, t, x): argument
56 ts = PETSc.TS().create(comm=ode.comm) variable
75 def event(ts, t, X, fvalue): argument
79 def postevent(ts, events, t, X, forward): argument
H A Dfastslowsplit.py30 def evalRHSFunction(self, ts, t, u, f): argument
43 def evalRHSFunctionSlow(self, ts, t, u, f): argument
51 def evalRHSFunctionFast(self, ts, t, u, f): argument
57 def evalIFunctionFast(self, ts, t, u, udot, f): argument
61 def evalIJacobianFast(self, ts, t, u, udot, a, A, B): argument
78 ts = PETSc.TS().create(comm=ode.comm) variable

12345678910