Lines Matching refs:UserCtx
36 } *UserCtx; typedef
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()
193 UserCtx ctx = (UserCtx)_ctx; in GradientMisfit()
209 UserCtx ctx = (UserCtx)_ctx; in HessianMisfit()
221 UserCtx ctx = (UserCtx)_ctx; in ObjectiveMisfitADMM()
245 UserCtx ctx = (UserCtx)_ctx; in GradientMisfitADMM()
266 UserCtx ctx = (UserCtx)_ctx; in HessianMisfitADMM()
278 UserCtx ctx = (UserCtx)_ctx; in ObjectiveRegularization()
294 UserCtx ctx = (UserCtx)_ctx; in GradientRegularization()
313 UserCtx ctx = (UserCtx)_ctx; in HessianRegularization()
365 UserCtx ctx = (UserCtx)_ctx; in ObjectiveRegularizationADMM()
389 UserCtx ctx = (UserCtx)_ctx; in GradientRegularizationADMM()
410 UserCtx ctx = (UserCtx)_ctx; in HessianRegularizationADMM()
446 UserCtx cntx = (UserCtx)ctx; in GradientComplete()
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()