Lines Matching refs:PetscErrorCodeFn

1605 static PetscErrorCode MatShellSetOperation_Shell(Mat mat, MatOperation op, PetscErrorCodeFn *f)  in MatShellSetOperation_Shell()
1631 (((PetscErrorCodeFn **)mat->ops)[op]) = f; in MatShellSetOperation_Shell()
1679 (((PetscErrorCodeFn **)mat->ops)[op]) = f; in MatShellSetOperation_Shell()
1685 static PetscErrorCode MatShellGetOperation_Shell(Mat mat, MatOperation op, PetscErrorCodeFn **f) in MatShellGetOperation_Shell()
1692 *f = (PetscErrorCodeFn *)shell->ops->destroy; in MatShellGetOperation_Shell()
1695 *f = (PetscErrorCodeFn *)mat->ops->view; in MatShellGetOperation_Shell()
1698 *f = (PetscErrorCodeFn *)shell->ops->copy; in MatShellGetOperation_Shell()
1707 *f = (((PetscErrorCodeFn **)mat->ops)[op]); in MatShellGetOperation_Shell()
1710 if (shell->ops->getdiagonal) *f = (PetscErrorCodeFn *)shell->ops->getdiagonal; in MatShellGetOperation_Shell()
1711 else *f = (((PetscErrorCodeFn **)mat->ops)[op]); in MatShellGetOperation_Shell()
1714 if (shell->ops->getdiagonalblock) *f = (PetscErrorCodeFn *)shell->ops->getdiagonalblock; in MatShellGetOperation_Shell()
1715 else *f = (((PetscErrorCodeFn **)mat->ops)[op]); in MatShellGetOperation_Shell()
1718 if (shell->ops->mult) *f = (PetscErrorCodeFn *)shell->ops->mult; in MatShellGetOperation_Shell()
1719 else *f = (((PetscErrorCodeFn **)mat->ops)[op]); in MatShellGetOperation_Shell()
1722 if (shell->ops->multtranspose) *f = (PetscErrorCodeFn *)shell->ops->multtranspose; in MatShellGetOperation_Shell()
1723 else *f = (((PetscErrorCodeFn **)mat->ops)[op]); in MatShellGetOperation_Shell()
1726 …if (shell->ops->multhermitiantranspose) *f = (PetscErrorCodeFn *)shell->ops->multhermitiantranspos… in MatShellGetOperation_Shell()
1727 else *f = (((PetscErrorCodeFn **)mat->ops)[op]); in MatShellGetOperation_Shell()
1730 *f = (((PetscErrorCodeFn **)mat->ops)[op]); in MatShellGetOperation_Shell()
2200 PetscErrorCode MatShellSetOperation(Mat mat, MatOperation op, PetscErrorCodeFn *g) in MatShellSetOperation()
2204 …PetscTryMethod(mat, "MatShellSetOperation_C", (Mat, MatOperation, PetscErrorCodeFn *), (mat, op, g… in MatShellSetOperation()
2242 PetscErrorCode MatShellGetOperation(Mat mat, MatOperation op, PetscErrorCodeFn **g) in MatShellGetOperation()
2246 …PetscUseMethod(mat, "MatShellGetOperation_C", (Mat, MatOperation, PetscErrorCodeFn **), (mat, op, … in MatShellGetOperation()