Home
last modified time | relevance | path

Searched refs:LMBLOCK_DIAGONAL (Results 1 – 9 of 9) sorted by relevance

/petsc/src/ksp/ksp/utils/lmvm/
H A Dlmproducts.c23 if (block_type == LMBLOCK_DIAGONAL) { in LMProductsCreate()
112 case LMBLOCK_DIAGONAL: in LMProductsUpdate_Internal()
175 if (dots->block_type == LMBLOCK_DIAGONAL) { in LMProductsUpdate_Internal()
199 case LMBLOCK_DIAGONAL: in LMProductsUpdate_Internal()
234 if (dots->block_type == LMBLOCK_DIAGONAL) { in LMProductsUpdate_Internal()
288 …PetscCheck(dots->block_type != LMBLOCK_DIAGONAL, PETSC_COMM_SELF, PETSC_ERR_SUP, "Asking for full … in LMProductsGetLocalMatrix()
336 …PetscCheck(dots->block_type != LMBLOCK_DIAGONAL, PETSC_COMM_SELF, PETSC_ERR_SUP, "Asking for colum… in LMProductsGetNextColumn()
391 case LMBLOCK_DIAGONAL: in LMProductsSolve()
438 case LMBLOCK_DIAGONAL: { in LMProductsMult()
460 …if (dots->block_type == LMBLOCK_DIAGONAL) PetscCall(LMProductsMult(dots, oldest, next, alpha, x, b… in LMProductsMultHermitian()
H A Dlmproducts.h10 LMBLOCK_DIAGONAL = 0, enumerator
H A Dlmvmutils.c1344 …!lmvm->products[LMBLOCK_DIAGONAL][type_X][type_Y]) PetscCall(MatLMVMCreateProducts(B, LMBLOCK_DIAG… in MatLMVMProductsInsertDiagonalValue()
1345 products = lmvm->products[LMBLOCK_DIAGONAL][type_X][type_Y]; in MatLMVMProductsInsertDiagonalValue()
1355 PetscCall(MatLMVMGetUpdatedProducts(B, type_X, type_Y, LMBLOCK_DIAGONAL, &products)); in MatLMVMProductsGetDiagonalValue()
/petsc/src/ksp/ksp/utils/lmvm/bfgs/
H A Dbfgs.c28 PetscCall(MatLMVMGetUpdatedProducts(B, LMBASIS_Y, LMBASIS_S, LMBLOCK_DIAGONAL, &YtS)); in BFGSKernel_Recursive_Inner()
63 …if (!lsb->products[StBkS_t]) PetscCall(MatLMVMCreateProducts(B, LMBLOCK_DIAGONAL, &lsb->products[S… in BFGSRecursiveBasisUpdate()
76 PetscCall(MatLMVMGetUpdatedProducts(B, LMBASIS_Y, LMBASIS_S, LMBLOCK_DIAGONAL, &YtS)); in BFGSRecursiveBasisUpdate()
136 PetscCall(MatLMVMGetUpdatedProducts(B, LMBASIS_Y, LMBASIS_S, LMBLOCK_DIAGONAL, &D)); in BFGSCompactDenseProductsUpdate()
196 PetscCall(MatLMVMGetUpdatedProducts(B, LMBASIS_Y, LMBASIS_S, LMBLOCK_DIAGONAL, &D)); in BFGSKernel_CompactDense()
/petsc/src/ksp/ksp/utils/lmvm/dfp/
H A Ddfp.c27 PetscCall(MatLMVMGetUpdatedProducts(B, Y_t, S_t, LMBLOCK_DIAGONAL, &YtS)); in DFPKernel_Recursive()
87 PetscCall(MatLMVMGetUpdatedProducts(B, Y_t, S_t, LMBLOCK_DIAGONAL, &D)); in DFPKernel_CompactDense()
136 PetscCall(MatLMVMGetUpdatedProducts(B, Y_t, S_t, LMBLOCK_DIAGONAL, &D)); in DFPKernel_Dense()
/petsc/src/ksp/ksp/utils/lmvm/symbrdn/
H A Dsymbrdn.c68 …if (!lsb->products[Phi_t]) PetscCall(MatLMVMCreateProducts(B, LMBLOCK_DIAGONAL, &lsb->products[Phi… in MatLMVMSymBroydenGetConvexFactor()
107 …if (lsb->products[M_t[i]] && lsb->products[M_t[i]]->block_type != LMBLOCK_DIAGONAL) PetscCall(LMPr… in SymBroydenRecursiveBasisUpdate()
108 …if (!lsb->products[M_t[i]]) PetscCall(MatLMVMCreateProducts(B, LMBLOCK_DIAGONAL, &lsb->products[M_… in SymBroydenRecursiveBasisUpdate()
114 …if (!lsb->products[StBkS_t]) PetscCall(MatLMVMCreateProducts(B, LMBLOCK_DIAGONAL, &lsb->products[S… in SymBroydenRecursiveBasisUpdate()
369 …if (!lsb->products[StBkS_t]) PetscCall(MatLMVMCreateProducts(B, LMBLOCK_DIAGONAL, &lsb->products[S… in SymBroydenCompactProductsUpdate()
371 …if (!lsb->products[YtHkY_t]) PetscCall(MatLMVMCreateProducts(B, LMBLOCK_DIAGONAL, &lsb->products[Y… in SymBroydenCompactProductsUpdate()
/petsc/src/ksp/ksp/utils/lmvm/brdn/
H A Dbrdn.c63 PetscCall(MatLMVMGetUpdatedProducts(B, S_t, S_t, LMBLOCK_DIAGONAL, &StS)); in BroydenKernel_Recursive()
120 PetscCall(MatLMVMGetUpdatedProducts(B, S_t, S_t, LMBLOCK_DIAGONAL, &StS)); in BroydenKernelHermitianTranspose_Recursive()
H A Dbadbrdn.c110 …if (!lbrdn->products[YtBkS_t]) PetscCall(MatLMVMCreateProducts(B, LMBLOCK_DIAGONAL, &lbrdn->produc… in BadBroydenRecursiveBasisUpdate()
/petsc/src/ksp/ksp/utils/lmvm/sr1/
H A Dsr1.c85 …if (!lsr1->products[YtS_minus_StBkS_t]) PetscCall(MatLMVMCreateProducts(B, LMBLOCK_DIAGONAL, &lsr1… in SR1RecursiveBasisUpdate()