Searched refs:Binv (Results 1 – 3 of 3) sorted by relevance
| /petsc/include/petsc/private/ |
| H A D | petscfvimpl.h | 95 PetscScalar *B, *Binv, *tau, *work; member
|
| /petsc/src/ksp/ksp/utils/lmvm/tests/ |
| H A D | ex1.c | 302 Mat Binv; in MatComputeInverseOperator() local 308 PetscCall(MatCreateShell(PetscObjectComm((PetscObject)B), m, n, M, N, (void *)B, &Binv)); in MatComputeInverseOperator() 309 …PetscCall(MatShellSetOperation(Binv, MATOP_MULT, (PetscErrorCodeFn *)(use_J0 ? MatMult_J0Solve : M… in MatComputeInverseOperator() 310 PetscCall(MatComputeOperator(Binv, MATDENSE, B_k)); in MatComputeInverseOperator() 311 PetscCall(MatDestroy(&Binv)); in MatComputeInverseOperator()
|
| /petsc/src/dm/dt/fv/interface/ |
| H A D | fv.c | 1974 PetscCall(PetscFree4(ls->B, ls->Binv, ls->tau, ls->work)); in PetscFVDestroy_LeastSquares() 2170 …PetscCall(PetscFVLeastSquaresPseudoInverseSVD_Static(numFaces, maxFaces, dim, ls->B, ls->Binv, ls-… in PetscFVComputeGradient_LeastSquares() 2173 for (d = 0; d < dim; ++d) grad[f * dim + d] = ls->Binv[d + maxmn * f]; in PetscFVComputeGradient_LeastSquares() 2176 …PetscCall(PetscFVLeastSquaresPseudoInverse_Static(numFaces, maxFaces, dim, ls->B, ls->Binv, ls->ta… in PetscFVComputeGradient_LeastSquares() 2179 for (d = 0; d < dim; ++d) grad[f * dim + d] = ls->Binv[d * maxFaces + f]; in PetscFVComputeGradient_LeastSquares() 2224 PetscCall(PetscFree4(ls->B, ls->Binv, ls->tau, ls->work)); in PetscFVLeastSquaresSetMaxFaces_LS() 2232 …PetscCall(PetscMalloc4(m * n, &ls->B, maxmn * maxmn, &ls->Binv, minmn, &ls->tau, ls->workSize, &ls… in PetscFVLeastSquaresSetMaxFaces_LS() 2267 ls->Binv = NULL; in PetscFVCreate_LeastSquares()
|