Lines Matching defs:_UserCtx
11 typedef struct _UserCtx { struct
12 PetscInt m; /* The row dimension of F */
13 PetscInt n; /* The column dimension of F */
14 PetscInt matops; /* Matrix format. 0 for stencil, 1 for random */
15 PetscInt iter; /* Number of iterations for ADMM */
16 PetscReal hStart; /* Starting point for Taylor test */
17 PetscReal hFactor; /* Taylor test step factor */
18 PetscReal hMin; /* Taylor test end goal */
19 PetscReal alpha; /* regularization constant applied to || x ||_p */
20 PetscReal eps; /* small constant for approximating gradient of || x ||_1 */
21 PetscReal mu; /* the augmented Lagrangian term in ADMM */
22 PetscReal abstol;
23 PetscReal reltol;
24 … F; /* matrix in least squares component $(1/2) * || F x - d ||_2^2$ */
25 Mat W; /* Workspace matrix. ATA */
26 Mat Hm; /* Hessian Misfit*/
27 Mat Hr; /* Hessian Reg*/
28 …Vec d; /* RHS in least squares component $(1/2) * || F x - d ||_2^2$ */
29 Vec workLeft[NWORKLEFT]; /* Workspace for temporary vec */
30 Vec workRight[NWORKRIGHT]; /* Workspace for temporary vec */
31 NormType p;
32 PetscRandom rctx;
33 PetscBool soft;
34 PetscBool taylor; /* Flag to determine whether to run Taylor test or not */
35 PetscBool use_admm; /* Flag to determine whether to run Taylor test or not */