Home
last modified time | relevance | path

Searched refs:CostIntegrand (Results 1 – 9 of 9) sorted by relevance

/petsc/src/ts/tutorials/power_grid/
H A Dex3opt.c131 PetscCall(TSSetRHSFunction(ctx.quadts, NULL, (TSRHSFunctionFn *)CostIntegrand, &ctx)); in main()
141 PetscCall(TSSetRHSFunction(ctx.quadts, NULL, (TSRHSFunctionFn *)CostIntegrand, &ctx)); in main()
H A Dex9adj.c123 static PetscErrorCode CostIntegrand(TS ts, PetscReal t, Vec U, Vec R, AppCtx *ctx) in CostIntegrand() function
281 PetscCall(TSSetRHSFunction(quadts, NULL, (TSRHSFunctionFn *)CostIntegrand, &ctx)); in main()
H A Dex9opt.c113 static PetscErrorCode CostIntegrand(TS ts, PetscReal t, Vec U, Vec R, AppCtx *ctx) in CostIntegrand() function
266 PetscCall(TSSetRHSFunction(quadts, NULL, (TSRHSFunctionFn *)CostIntegrand, &ctx)); in main()
H A Dex3opt_fd.c216 PetscCall(TSSetRHSFunction(quadts, NULL, (TSRHSFunctionFn *)CostIntegrand, ctx)); in FormFunction()
H A Dex3sa.c138 PetscCall(TSSetRHSFunction(quadts, NULL, (TSRHSFunctionFn *)CostIntegrand, &ctx)); in main()
H A Dex3.h171 PetscErrorCode CostIntegrand(TS ts, PetscReal t, Vec U, Vec R, AppCtx *ctx) in CostIntegrand() function
/petsc/src/ts/tutorials/optimal_control/
H A Dex1.c181 static PetscErrorCode CostIntegrand(TS ts, PetscReal t, Vec U, Vec R, PetscCtx ctx) in CostIntegrand() function
308 PetscCall(TSSetRHSFunction(aircraft.quadts, NULL, (TSRHSFunctionFn *)CostIntegrand, &aircraft)); in main()
/petsc/src/ts/tutorials/power_grid/stability_9bus/
H A Dex9busoptfd.c768 static PetscErrorCode CostIntegrand(TS ts, PetscReal t, Vec U, Vec R, Userctx *user) in CostIntegrand() function
812 PetscCall(CostIntegrand(ts, time, X, C, ctx)); in MonitorUpdateQ()
814 PetscCall(CostIntegrand(ts, time + h * theta, Y[0], C, ctx)); in MonitorUpdateQ()
H A Dex9busopt.c935 static PetscErrorCode CostIntegrand(TS ts, PetscReal t, Vec U, Vec R, Userctx *user) in CostIntegrand() function
1264 PetscCall(TSSetRHSFunction(quadts, NULL, (TSRHSFunctionFn *)CostIntegrand, ctx)); in FormFunctionGradient()