Home
last modified time | relevance | path

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

/petsc/src/tao/tutorials/
H A Dex4.c14 PetscInt matops; /* Matrix format. 0 for stencil, 1 for random */ member
67 if (!ctx->matops) { in CreateMatrix()
93 if (!ctx->matops) PetscCall(MatSetOption(ctx->F, MAT_SYMMETRIC, PETSC_TRUE)); in CreateMatrix()
125 ctx->matops = 0; in ConfigureContext()
134 …ecide format of F matrix. 0 for stencil, 1 for random", "ex4.c", ctx->matops, &ctx->matops, NULL)); in ConfigureContext()