Home
last modified time | relevance | path

Searched defs:_AppCtx (Results 1 – 2 of 2) sorted by relevance

/petsc/src/ml/regressor/tests/
H A Dex3.c5 typedef struct _AppCtx { struct
6 Mat X; /* Training data */
7 Vec y; /* Target data */
8 Vec y_predicted; /* Target data */
9 Vec coefficients;
10 PetscInt N; /* Data size */
11 PetscBool flg_string;
12 PetscBool flg_ascii;
13 PetscBool flg_view_sol;
14 PetscBool test_prefix;
/petsc/src/tao/unconstrained/tutorials/
H A Drosenbrock4.h22 struct _AppCtx { struct
23 MPI_Comm comm;
24 PetscInt n; /* dimension */
25 PetscInt n_local;
26 PetscInt n_local_comp;
27 Rosenbrock problem;
28 Vec Hvalues; /* vector for writing COO values of this MPI process */
29 Vec gvalues; /* vector for writing gradient values of this mpi process */
30 Vec fvector;
31 PetscSF off_process_scatter;
[all …]