Lines Matching defs:ctx

38 static PetscErrorCode CreateRHS(UserCtx ctx)  in CreateRHS()
49 static PetscErrorCode CreateMatrix(UserCtx ctx) in CreateMatrix()
101 static PetscErrorCode SetupWorkspace(UserCtx ctx) in SetupWorkspace()
112 static PetscErrorCode ConfigureContext(UserCtx ctx) in ConfigureContext()
158 static PetscErrorCode DestroyContext(UserCtx *ctx) in DestroyContext()
178 UserCtx ctx = (UserCtx)_ctx; in ObjectiveMisfit() local
193 UserCtx ctx = (UserCtx)_ctx; in GradientMisfit() local
209 UserCtx ctx = (UserCtx)_ctx; in HessianMisfit() local
221 UserCtx ctx = (UserCtx)_ctx; in ObjectiveMisfitADMM() local
245 UserCtx ctx = (UserCtx)_ctx; in GradientMisfitADMM() local
266 UserCtx ctx = (UserCtx)_ctx; in HessianMisfitADMM() local
278 UserCtx ctx = (UserCtx)_ctx; in ObjectiveRegularization() local
294 UserCtx ctx = (UserCtx)_ctx; in GradientRegularization() local
313 UserCtx ctx = (UserCtx)_ctx; in HessianRegularization() local
365 UserCtx ctx = (UserCtx)_ctx; in ObjectiveRegularizationADMM() local
389 UserCtx ctx = (UserCtx)_ctx; in GradientRegularizationADMM() local
410 UserCtx ctx = (UserCtx)_ctx; in HessianRegularizationADMM() local
431 static PetscErrorCode ObjectiveComplete(Tao tao, Vec x, PetscReal *J, PetscCtx ctx) in ObjectiveComplete()
444 static PetscErrorCode GradientComplete(Tao tao, Vec x, Vec V, PetscCtx ctx) in GradientComplete()
457 static PetscErrorCode HessianComplete(Tao tao, Vec x, Mat H, Mat Hpre, PetscCtx ctx) in HessianComplete()
471 static PetscErrorCode TaoSolveADMM(UserCtx ctx, Vec x) in TaoSolveADMM()
545 static PetscErrorCode TaylorTest(UserCtx ctx, Tao tao, Vec x, PetscReal *C) in TaylorTest()
598 UserCtx ctx; in main() local