Lines Matching refs:Jacp
24 Mat Jacp; /* JacobianP matrix */ member
410 PetscCall(MatCreate(PETSC_COMM_WORLD, &user.Jacp)); in main()
411 PetscCall(MatSetSizes(user.Jacp, PETSC_DECIDE, PETSC_DECIDE, 2, 1)); in main()
412 PetscCall(MatSetFromOptions(user.Jacp)); in main()
413 PetscCall(MatSetUp(user.Jacp)); in main()
414 PetscCall(MatCreateVecs(user.Jacp, &user.Dir, NULL)); in main()
415 PetscCall(MatCreateVecs(user.Jacp, &user.Mup[0], NULL)); in main()
416 PetscCall(MatCreateVecs(user.Jacp, &user.Mup2[0], NULL)); in main()
417 PetscCall(MatCreateVecs(user.Jacp, &user.Ihp3[0], NULL)); in main()
418 PetscCall(MatCreateVecs(user.Jacp, &user.Ihp4[0], NULL)); in main()
432 PetscCall(TSSetRHSJacobianP(user.ts, user.Jacp, RHSJacobianP, &user)); in main()
465 PetscCall(MatCreateVecs(user.Jacp, &P, NULL)); in main()
496 PetscCall(MatDestroy(&user.Jacp)); in main()
624 PetscCall(MatZeroEntries(ctx->Jacp)); in Adjoint2()
625 PetscCall(MatSetValue(ctx->Jacp, 1, 0, dzdp, INSERT_VALUES)); in Adjoint2()
626 PetscCall(MatAssemblyBegin(ctx->Jacp, MAT_FINAL_ASSEMBLY)); in Adjoint2()
627 PetscCall(MatAssemblyEnd(ctx->Jacp, MAT_FINAL_ASSEMBLY)); in Adjoint2()
629 PetscCall(TSAdjointSetForward(ts, ctx->Jacp)); in Adjoint2()