Lines Matching refs:Ctx
641 static PetscErrorCode ComputeEmaxResidual(Tao tao, Vec x, Vec res, void *Ctx) in ComputeEmaxResidual() argument
643 EmaxCtx *ctx = (EmaxCtx *)Ctx; in ComputeEmaxResidual()
662 static PetscErrorCode ComputeEmaxJacobian(Tao tao, Vec x, Mat J, Mat Jpre, void *Ctx) in ComputeEmaxJacobian() argument
664 EmaxCtx *ctx = (EmaxCtx *)Ctx; in ComputeEmaxJacobian()
691 static PetscErrorCode ComputeLogEmaxResidual(Tao tao, Vec x, Vec res, void *Ctx) in ComputeLogEmaxResidual() argument
693 EmaxCtx *ctx = (EmaxCtx *)Ctx; in ComputeLogEmaxResidual()
718 static PetscErrorCode ComputeLogEmaxJacobian(Tao tao, Vec x, Mat J, Mat Jpre, void *Ctx) in ComputeLogEmaxJacobian() argument
720 EmaxCtx *ctx = (EmaxCtx *)Ctx; in ComputeLogEmaxJacobian()
746 static PetscErrorCode MonitorEField(TS ts, PetscInt step, PetscReal t, Vec U, void *Ctx) in MonitorEField() argument
748 AppCtx *ctx = (AppCtx *)Ctx; in MonitorEField()
876 static PetscErrorCode MonitorMoments(TS ts, PetscInt step, PetscReal t, Vec U, void *Ctx) in MonitorMoments() argument
878 AppCtx *ctx = (AppCtx *)Ctx; in MonitorMoments()
1071 static PetscErrorCode MonitorMomentFields(TS ts, PetscInt step, PetscReal t, Vec U, void *Ctx) in MonitorMomentFields() argument
1073 AppCtx *ctx = (AppCtx *)Ctx; in MonitorMomentFields()
1107 PetscErrorCode MonitorInitialConditions(TS ts, PetscInt step, PetscReal t, Vec U, void *Ctx) in MonitorInitialConditions() argument
1109 AppCtx *ctx = (AppCtx *)Ctx; in MonitorInitialConditions()
1152 PetscErrorCode MonitorVelocity(TS ts, PetscInt step, PetscReal t, Vec U, void *Ctx) in MonitorVelocity() argument
1154 AppCtx *ctx = (AppCtx *)Ctx; in MonitorVelocity()
1248 static PetscErrorCode MonitorPositions_2D(TS ts, PetscInt step, PetscReal t, Vec U, void *Ctx) in MonitorPositions_2D() argument
1250 AppCtx *ctx = (AppCtx *)Ctx; in MonitorPositions_2D()
1310 static PetscErrorCode MonitorPoisson(TS ts, PetscInt step, PetscReal t, Vec U, void *Ctx) in MonitorPoisson() argument
1312 AppCtx *ctx = (AppCtx *)Ctx; in MonitorPoisson()
2543 static PetscErrorCode RHSFunctionX(TS ts, PetscReal t, Vec V, Vec Xres, void *Ctx) in RHSFunctionX() argument
2545 AppCtx *ctx = (AppCtx *)Ctx; in RHSFunctionX()
2568 static PetscErrorCode RHSFunctionV(TS ts, PetscReal t, Vec X, Vec Vres, void *Ctx) in RHSFunctionV() argument
2571 AppCtx *ctx = (AppCtx *)Ctx; in RHSFunctionV()
2643 PetscErrorCode RHSObjectiveF(TS ts, PetscReal t, Vec U, PetscScalar *F, void *Ctx) in RHSObjectiveF() argument
2645 AppCtx *ctx = (AppCtx *)Ctx; in RHSObjectiveF()
2836 …line(PetscInt dim, PetscReal time, const PetscReal dummy[], PetscInt p, PetscScalar x[], void *Ctx) in line() argument
2841 AppCtx *ctx = (AppCtx *)Ctx; in line()