Home
last modified time | relevance | path

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

/petsc/src/ts/tutorials/autodiff/adolc-utils/
H A Dmatfree.cxx30 PetscErrorCode PetscAdolcIJacobianVectorProduct(Mat A_shell, Vec X, Vec Y) in PetscAdolcIJacobianVectorProduct() argument
42 PetscCall(MatShellGetContext(A_shell, &mctx)); in PetscAdolcIJacobianVectorProduct()
112 PetscErrorCode PetscAdolcIJacobianVectorProductIDMass(Mat A_shell, Vec X, Vec Y) in PetscAdolcIJacobianVectorProductIDMass() argument
124 PetscCall(MatShellGetContext(A_shell, &mctx)); in PetscAdolcIJacobianVectorProductIDMass()
180 PetscErrorCode PetscAdolcIJacobianTransposeVectorProduct(Mat A_shell, Vec Y, Vec X) in PetscAdolcIJacobianTransposeVectorProduct() argument
192 PetscCall(MatShellGetContext(A_shell, &mctx)); in PetscAdolcIJacobianTransposeVectorProduct()
266 PetscErrorCode PetscAdolcIJacobianTransposeVectorProductIDMass(Mat A_shell, Vec Y, Vec X) in PetscAdolcIJacobianTransposeVectorProductIDMass() argument
278 PetscCall(MatShellGetContext(A_shell, &mctx)); in PetscAdolcIJacobianTransposeVectorProductIDMass()
/petsc/src/ts/tutorials/advection-diffusion-reaction/
H A Dex5adj_mf.c58 static PetscErrorCode MyRHSMatMultTranspose(Mat A_shell, Vec X, Vec Y) in MyRHSMatMultTranspose() argument
70 PetscCall(MatShellGetContext(A_shell, &mctx)); in MyRHSMatMultTranspose()
117 static PetscErrorCode MyIMatMultTranspose(Mat A_shell, Vec X, Vec Y) in MyIMatMultTranspose() argument
129 PetscCall(MatShellGetContext(A_shell, &mctx)); in MyIMatMultTranspose()
178 static PetscErrorCode MyIMatMult(Mat A_shell, Vec X, Vec Y) in MyIMatMult() argument
190 PetscCall(MatShellGetContext(A_shell, &mctx)); in MyIMatMult()
/petsc/src/ts/tutorials/autodiff/
H A Dadr_ex5adj_mf.cxx40 …e IJacobianMatFree(TS ts, PetscReal t, Vec X, Vec Xdot, PetscReal a, Mat A_shell, Mat B, PetscCtx …
417 PetscErrorCode IJacobianMatFree(TS ts, PetscReal t, Vec X, Vec Xdot, PetscReal a, Mat A_shell, Mat … in IJacobianMatFree() argument
423 PetscCall(MatShellGetContext(A_shell, &mctx)); in IJacobianMatFree()