Home
last modified time | relevance | path

Searched refs:Jtype (Results 1 – 1 of 1) sorted by relevance

/petsc/src/ts/tutorials/
H A Dex15.c52 PetscInt Jtype; /* Jacobian type in main() local
112 Jtype = 0; in main()
113 PetscCall(PetscOptionsGetInt(NULL, NULL, "-Jtype", &Jtype, NULL)); in main()
114 if (Jtype == 0) { /* use user provided Jacobian evaluation routine */ in main()
120 if (Jtype == 1) { /* slow finite difference J; */ in main()
122 } else if (Jtype == 2) { /* Use coloring to compute finite difference J efficiently */ in main()