Home
last modified time | relevance | path

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

/petsc/src/tao/pde_constrained/tutorials/
H A Delliptic.c19 Mat Js, Jd, JsPrec, JsInv, JsBlock; member
152 PetscCall(TaoSetJacobianStateRoutine(tao, user.Js, NULL, user.JsInv, FormJacobianState, &user)); in main()
1015 …LD, ysubnlocal * user->ns, ysubnlocal * user->ns, user->nstate, user->nstate, user, &user->JsInv)); in EllipticInitialize()
1016 PetscCall(MatShellSetOperation(user->JsInv, MATOP_MULT, (PetscErrorCodeFn *)StateInvMatMult)); in EllipticInitialize()
1017 …PetscCall(MatShellSetOperation(user->JsInv, MATOP_MULT_TRANSPOSE, (PetscErrorCodeFn *)StateInvMatM… in EllipticInitialize()
1018 PetscCall(MatSetOption(user->JsInv, MAT_SYMMETRIC, PETSC_TRUE)); in EllipticInitialize()
1019 PetscCall(MatSetOption(user->JsInv, MAT_SYMMETRY_ETERNAL, PETSC_TRUE)); in EllipticInitialize()
1029 PetscCall(MatMult(user->JsInv, user->q, user->ytrue)); in EllipticInitialize()
1050 PetscCall(MatMult(user->JsInv, user->q, user->y)); in EllipticInitialize()
1189 PetscCall(MatDestroy(&user->JsInv)); in EllipticDestroy()
H A Dparabolic.c19 Mat Js, Jd, JsBlockPrec, JsInv, JsBlock; member
185 …PetscCall(TaoSetJacobianStateRoutine(tao, user.Js, user.JsBlockPrec, user.JsInv, FormJacobianState… in main()
946 …LD, PETSC_DETERMINE, PETSC_DETERMINE, user->m * user->nt, user->m * user->nt, user, &user->JsInv)); in ParabolicInitialize()
947 PetscCall(MatShellSetOperation(user->JsInv, MATOP_MULT, (PetscErrorCodeFn *)StateMatInvMult)); in ParabolicInitialize()
948 …PetscCall(MatShellSetOperation(user->JsInv, MATOP_MULT_TRANSPOSE, (PetscErrorCodeFn *)StateMatInvT… in ParabolicInitialize()
1205 PetscCall(MatDestroy(&user->JsInv)); in ParabolicDestroy()
H A Dhyperbolic.c16 Mat Js, Jd, JsBlockPrec, JsInv, JsBlock; member
179 …PetscCall(TaoSetJacobianStateRoutine(tao, user.Js, user.Js, user.JsInv, FormJacobianState, &user)); in main()
1036 …teShell(PETSC_COMM_WORLD, PETSC_DETERMINE, PETSC_DETERMINE, user->m, user->m, user, &user->JsInv)); in HyperbolicInitialize()
1037 PetscCall(MatShellSetOperation(user->JsInv, MATOP_MULT, (PetscErrorCodeFn *)StateMatInvMult)); in HyperbolicInitialize()
1038 …PetscCall(MatShellSetOperation(user->JsInv, MATOP_MULT_TRANSPOSE, (PetscErrorCodeFn *)StateMatInvT… in HyperbolicInitialize()
1130 PetscCall(MatDestroy(&user->JsInv)); in HyperbolicDestroy()