Home
last modified time | relevance | path

Searched defs:_n_User (Results 1 – 20 of 20) sorted by relevance

/petsc/src/ts/tutorials/
H A Dex23fwdadj.c13 struct _n_User { struct
14 PetscReal a;
15 PetscReal b;
16 PetscReal c;
18 PetscInt steps;
19 PetscReal ftime;
20 Mat Jac; /* Jacobian matrix */
21 Mat Jacp; /* JacobianP matrix */
22 Vec x;
23 Mat sp; /* forward sensitivity variables */
[all …]
H A Dex20fwd.c19 struct _n_User { struct
20 PetscReal mu;
21 PetscReal next_output;
22 PetscBool combined;
24 PetscInt steps;
25 PetscReal ftime;
26 Mat Jac; /* Jacobian matrix */
27 Mat Jacp; /* JacobianP matrix */
28 Vec x;
29 Mat sp; /* forward sensitivity variables */
H A Dex20adj.c54 struct _n_User { struct
55 PetscReal mu;
56 PetscReal next_output;
57 PetscBool imex;
59 PetscInt steps;
60 PetscReal ftime;
61 Mat A; /* IJacobian matrix */
62 Mat B; /* RHSJacobian matrix */
63 Mat Jacp; /* IJacobianP matrix */
64 Mat Jacprhs; /* RHSJacobianP matrix */
[all …]
H A Dex20opt_ic.c15 struct _n_User { struct
16 TS ts;
17 PetscReal mu;
18 PetscReal next_output;
21 PetscInt steps;
22 PetscReal ftime;
23 Mat A; /* Jacobian matrix for ODE */
24 Mat Jacp; /* JacobianP matrix for ODE*/
25 Mat H; /* Hessian matrix for optimization */
26 Vec U, Lambda[1], Mup[1]; /* first-order adjoint variables */
[all …]
H A Dex20opt_p.c16 struct _n_User { struct
17 TS ts;
18 PetscReal mu;
19 PetscReal next_output;
22 PetscReal ftime;
23 Mat A; /* Jacobian matrix */
24 Mat Jacp; /* JacobianP matrix */
25 Mat H; /* Hessian matrix for optimization */
26 Vec U, Lambda[1], Mup[1]; /* adjoint variables */
27 Vec Lambda2[1], Mup2[1]; /* second-order adjoint variables */
[all …]
H A Dex16fwd.c49 struct _n_User { struct
50 PetscReal mu;
51 PetscReal next_output;
52 PetscReal tprev;
H A Dex49.c23 struct _n_User { struct
24 PetscReal mu;
25 PetscReal next_output;
H A Dex16.c70 struct _n_User { struct
71 PetscReal mu;
72 PetscBool imex;
73 PetscReal next_output;
H A Dex20.c23 struct _n_User { struct
24 PetscReal mu;
25 PetscReal next_output;
H A Dex19.c63 struct _n_User { struct
64 PetscReal next_output;
H A Dex11.c86 struct _n_User { struct
87 PetscInt vtkInterval; /* For monitor */
88 char outputBasename[PETSC_MAX_PATH_LEN]; /* Basename for output files */
89 PetscInt monitorStepOffset;
90 Model model;
91 PetscBool vtkmon;
/petsc/src/ts/tutorials/autodiff/
H A Dex16opt_ic.cxx21 struct _n_User { struct
22 PetscReal mu;
23 PetscReal next_output;
24 PetscInt steps;
27 PetscReal ftime, x_ob[2];
28 Mat A; /* Jacobian matrix */
29 Vec x, lambda[2]; /* adjoint variables */
32 AdolcCtx *adctx;
H A Dex16adj_tl.cxx25 struct _n_User { struct
26 PetscReal mu;
27 PetscReal next_output;
28 PetscReal tprev;
31 AdolcCtx *adctx;
32 Vec F;
H A Dex16adj.cxx21 struct _n_User { struct
22 PetscReal mu;
23 PetscReal next_output;
24 PetscReal tprev;
27 AdolcCtx *adctx;
/petsc/src/mat/tests/
H A Dex203.c6 struct _n_User { struct
7 Mat B;
H A Dex218.c6 struct _n_User { struct
7 Mat B;
H A Dex205.c6 struct _n_User { struct
7 Mat A;
H A Dex88.c6 struct _n_User { struct
7 Mat B;
H A Dex221.c6 struct _n_User { struct
7 Mat B;
/petsc/src/ts/tutorials/hamiltonian/
H A Dex1.c30 struct _n_User { struct
31 PetscReal omega;
32 PetscInt nts; /* print the energy at each nts time steps */