Home
last modified time | relevance | path

Searched refs:EventFunction (Results 1 – 19 of 19) sorted by relevance

/petsc/src/ts/event/tests/
H A Dex2.c37 PetscErrorCode EventFunction(TS ts, PetscReal t, Vec U, PetscReal gval[], PetscCtx ctx);
120 PetscCall(TSSetEventHandler(ts, n, dir, term, EventFunction, Postevent, &ctx)); in main()
144 PetscErrorCode EventFunction(TS ts, PetscReal t, Vec U, PetscReal gval[], PetscCtx ctx) in EventFunction() function
174 PetscCallBack("EventFunction", EventFunction(ts, t, U, Ctx->fvals, ctx)); in Postevent()
H A Dex1sin.c37 PetscErrorCode EventFunction(TS ts, PetscReal t, Vec U, PetscReal gval[], PetscCtx ctx);
119 PetscCall(TSSetEventHandler(ts, n, dir, term, EventFunction, Postevent, &ctx)); in main()
143 PetscErrorCode EventFunction(TS ts, PetscReal t, Vec U, PetscReal gval[], PetscCtx ctx) in EventFunction() function
164 PetscCallBack("EventFunction", EventFunction(ts, t, U, Ctx->fvals, ctx)); in Postevent()
H A Dex3.c48 PetscErrorCode EventFunction(TS ts, PetscReal t, Vec U, PetscReal gval[], PetscCtx ctx);
149 PetscCall(TSSetEventHandler(ts, n, dir, term, EventFunction, Postevent, &ctx)); in main()
176 PetscErrorCode EventFunction(TS ts, PetscReal t, Vec U, PetscReal gval[], PetscCtx ctx) in EventFunction() function
211 PetscCallBack("EventFunction", EventFunction(ts, t, U, Ctx->fvals, ctx)); in Postevent()
H A Dex4.c41 PetscErrorCode EventFunction(TS ts, PetscReal t, Vec U, PetscReal gval[], PetscCtx ctx);
163 PetscCall(TSSetEventHandler(ts, n, dir, term, EventFunction, Postevent, &ctx)); in main()
189 PetscErrorCode EventFunction(TS ts, PetscReal t, Vec U, PetscReal gval[], PetscCtx ctx) in EventFunction() function
226 PetscCallBack("EventFunction", EventFunction(ts, t, U, Ctx->fvals, ctx)); in Postevent()
H A Dex5.c43 PetscErrorCode EventFunction(TS ts, PetscReal t, Vec U, PetscReal gval[], PetscCtx ctx);
152 PetscCall(TSSetEventHandler(ts, n, dir, term, EventFunction, Postevent, &ctx)); in main()
178 PetscErrorCode EventFunction(TS ts, PetscReal t, Vec U, PetscReal gval[], PetscCtx ctx) in EventFunction() function
214 PetscCallBack("EventFunction", EventFunction(ts, t, U, Ctx->fvals, ctx)); in Postevent()
H A Dex3span.c51 PetscErrorCode EventFunction(TS ts, PetscReal t, Vec U, PetscReal gval[], PetscCtx ctx);
145 PetscCall(TSSetEventHandler(ts, n, dir, term, EventFunction, Postevent, &ctx)); in main()
214 PetscErrorCode EventFunction(TS ts, PetscReal t, Vec U, PetscReal gval[], PetscCtx ctx) in EventFunction() function
248 PetscCallBack("EventFunction", EventFunction(ts, t, U, Ctx->fvals, ctx)); in Postevent()
/petsc/src/ts/tutorials/
H A Dex41.c17 PetscErrorCode EventFunction(TS ts, PetscReal t, Vec U, PetscReal *fvalue, PetscCtx ctx) in EventFunction() function
228 …PetscCall(TSSetEventHandler(ts, 1, &direction, &terminate, EventFunction, PostEventFunction, NULL)… in main()
247 …PetscCall(TSSetEventHandler(ts, 1, &direction, &terminate, EventFunction, PostEventFunction, NULL)… in main()
H A Dex40.c21 PetscErrorCode EventFunction(TS ts, PetscReal t, Vec U, PetscReal *fvalue, PetscCtx ctx) in EventFunction() function
243 …PetscCall(TSSetEventHandler(ts, 1, direction, terminate, EventFunction, PostEventFunction, (void *… in main()
H A Dex32.c67 PetscErrorCode EventFunction(TS ts, PetscReal t, Vec U, PetscReal *fvalue, PetscCtx ctx) in EventFunction() function
255 …PetscCall(TSSetEventHandler(ts, lsize, direction, terminate, EventFunction, PostEventFunction, (vo… in main()
/petsc/src/ts/tutorials/hybrid/
H A Dex1.c26 PetscErrorCode EventFunction(TS ts, PetscReal t, Vec U, PetscReal *fvalue, PetscCtx ctx) in EventFunction() function
194 …PetscCall(TSSetEventHandler(ts, 1, direction, terminate, EventFunction, PostEventFunction, (void *… in main()
H A Dex1fwd.c50 PetscErrorCode EventFunction(TS ts, PetscReal t, Vec U, PetscReal *fvalue, PetscCtx ctx) in EventFunction() function
306 …PetscCall(TSSetEventHandler(ts, 1, direction, terminate, EventFunction, PostEventFunction, (void *… in main()
H A Dex1adj.c28 PetscErrorCode EventFunction(TS ts, PetscReal t, Vec U, PetscReal *fvalue, PetscCtx ctx) in EventFunction() function
280 …PetscCall(TSSetEventHandler(ts, 1, direction, terminate, EventFunction, PostEventFunction, (void *… in main()
H A Dex1fd.c28 PetscErrorCode EventFunction(TS ts, PetscReal t, Vec U, PetscReal *fvalue, PetscCtx ctx) in EventFunction() function
266 …PetscCall(TSSetEventHandler(ts, 1, direction, terminate, EventFunction, PostEventFunction, (void *… in main()
/petsc/src/ts/tutorials/power_grid/
H A Dex3.c139 …PetscCall(TSSetEventHandler(ts, 2, direction, terminate, EventFunction, PostEventFunction, (void *… in main()
H A Dex3opt_fd.c222 …PetscCall(TSSetEventHandler(ts, 2, direction, terminate, EventFunction, PostEventFunction, (void *… in FormFunction()
H A Dex3sa.c177 …PetscCall(TSSetEventHandler(ts, 2, direction, terminate, EventFunction, PostEventFunction, (void *… in main()
H A Dex3.h23 PetscErrorCode EventFunction(TS ts, PetscReal t, Vec X, PetscReal *fvalue, PetscCtx ctx) in EventFunction() function
H A Dex3opt.c156 …PetscCall(TSSetEventHandler(ctx.ts, 2, direction, terminate, EventFunction, PostEventFunction, &ct… in main()
/petsc/src/ts/tutorials/power_grid/stability_9bus/
H A Dex9bus.c136 PetscErrorCode EventFunction(TS ts, PetscReal t, Vec X, PetscReal *fvalue, PetscCtx ctx) in EventFunction() function
1219 …PetscCall(TSSetEventHandler(ts, 2 * ngen + 2, direction, terminate, EventFunction, PostEventFuncti… in main()