Home
last modified time | relevance | path

Searched refs:LMProducts (Results 1 – 12 of 12) sorted by relevance

/petsc/src/ksp/ksp/utils/lmvm/
H A Dlmproducts.h18 typedef struct _n_LMProducts *LMProducts; typedef
35 PETSC_INTERN PetscErrorCode LMProductsCreate(LMBasis, LMBlockType, LMProducts *);
36 PETSC_INTERN PetscErrorCode LMProductsDestroy(LMProducts *);
37 PETSC_INTERN PetscErrorCode LMProductsReset(LMProducts);
38 PETSC_INTERN PetscErrorCode LMProductsPrepare(LMProducts, Mat, PetscInt, PetscInt);
39 PETSC_INTERN PetscErrorCode LMProductsInsertNextDiagonalValue(LMProducts, PetscInt, PetscScalar);
40 PETSC_INTERN PetscErrorCode LMProductsGetDiagonalValue(LMProducts, PetscInt, PetscScalar *);
41 PETSC_INTERN PetscErrorCode LMProductsUpdate(LMProducts, LMBasis, LMBasis);
42 PETSC_INTERN PetscErrorCode LMProductsCopy(LMProducts, LMProducts);
43 PETSC_INTERN PetscErrorCode LMProductsScale(LMProducts, PetscScalar);
[all …]
H A Dlmproducts.c10 PETSC_INTERN PetscErrorCode LMProductsCreate(LMBasis basis, LMBlockType block_type, LMProducts *dot… in LMProductsCreate()
42 PETSC_INTERN PetscErrorCode LMProductsDestroy(LMProducts *dots_p) in LMProductsDestroy()
45 LMProducts dots = *dots_p; in LMProductsDestroy()
57 static PetscErrorCode LMProductsPrepare_Internal(LMProducts dots, PetscObjectId operator_id, PetscO… in LMProductsPrepare_Internal()
70 static PetscErrorCode LMProductsPrepareFromBases(LMProducts dots, LMBasis X, LMBasis Y) in LMProductsPrepareFromBases()
82 PETSC_INTERN PetscErrorCode LMProductsPrepare(LMProducts dots, Mat op, PetscInt oldest, PetscInt ne… in LMProductsPrepare()
94 static PetscErrorCode LMProductsUpdate_Internal(LMProducts dots, LMBasis X, LMBasis Y, PetscInt old… in LMProductsUpdate_Internal()
249 PETSC_INTERN PetscErrorCode LMProductsUpdate(LMProducts dots, LMBasis X, LMBasis Y) in LMProductsUpdate()
259 PETSC_INTERN PetscErrorCode LMProductsCopy(LMProducts src, LMProducts dest) in LMProductsCopy()
276 PETSC_INTERN PetscErrorCode LMProductsScale(LMProducts dots, PetscScalar scale) in LMProductsScale()
[all …]
H A Dlmvm.h88 LMProducts products[LMBLOCK_END][LMBASIS_END][LMBASIS_END];
158 PETSC_INTERN PetscErrorCode MatLMVMCreateProducts(Mat, LMBlockType, LMProducts *);
159 …Code MatLMVMGetUpdatedProducts(Mat, MatLMVMBasisType, MatLMVMBasisType, LMBlockType, LMProducts *);
H A Dlmvmutils.c1292 PETSC_INTERN PetscErrorCode MatLMVMCreateProducts(Mat B, LMBlockType block_type, LMProducts *produc… in MatLMVMCreateProducts()
1309 LMProducts G; in MatLMVMProductsUpdate()
1328 …(Mat B, MatLMVMBasisType type_X, MatLMVMBasisType type_Y, LMBlockType block_type, LMProducts *lmwd) in MatLMVMGetUpdatedProducts()
1341 LMProducts products; in MatLMVMProductsInsertDiagonalValue()
1352 LMProducts products = NULL; in MatLMVMProductsGetDiagonalValue()
/petsc/src/ksp/ksp/utils/lmvm/sr1/
H A Dsr1.c30 LMProducts products[SR1_PRODUCTS_COUNT];
52 LMProducts YtS_minus_StBkS = lsr1->products[YtS_minus_StBkS_t]; in SR1Kernel_Recursive_Inner()
76 LMProducts YtS_minus_StBkS; in SR1RecursiveBasisUpdate()
159 LMProducts YtS_minus_StB0S; in SR1CompactProductsUpdate()
172 LMProducts YmB0StS; in SR1CompactProductsUpdate()
215 LMProducts YtS_minus_StB0S; in SR1Kernel_CompactDense()
284 LMProducts SmH0YtY = NULL; in MatUpdate_LMVMSR1()
/petsc/src/ksp/ksp/utils/lmvm/brdn/
H A Dbrdn.c59 LMProducts StS; in BroydenKernel_Recursive()
118 LMProducts StS; in BroydenKernelHermitianTranspose_Recursive()
164 LMProducts StS; in BroydenKernel_CompactDense()
194 LMProducts StS; in BroydenKernelHermitianTranspose_CompactDense()
231 LMProducts StS; in BroydenKernel_Dense()
275 LMProducts StS; in BroydenKernelHermitianTranspose_Dense()
349 LMProducts YtY = NULL; in MatUpdate_LMVMBrdn()
H A Dbadbrdn.c67 LMProducts YtBkS = lbrdn->products[LMVMModeMap(BROYDEN_PRODUCTS_YTBKS, mode)]; in BadBroydenKernel_Recursive_Inner()
99 LMProducts YtBkS; in BadBroydenRecursiveBasisUpdate()
182 LMProducts YtBkS = lbrdn->products[YtBkS_t]; in BadBroydenKernelHermitianTranspose_Recursive_Inner()
241 LMProducts YtB0S, YtY, YtB0S_minus_YtY; in BadBroydenCompactProductsUpdate()
294 LMProducts YtB0S_minus_YtY; in BadBroydenKernel_CompactDense()
333 LMProducts YtB0S_minus_YtY; in BadBroydenKernelHermitianTranspose_CompactDense()
H A Dbrdn.h32 LMProducts products[BROYDEN_PRODUCTS_COUNT];
/petsc/src/ksp/ksp/utils/lmvm/bfgs/
H A Dbfgs.c21 LMProducts YtS; in BFGSKernel_Recursive_Inner()
22 LMProducts StBkS = lsb->products[LMVMModeMap(SYMBROYDEN_PRODUCTS_STBKS, mode)]; in BFGSKernel_Recursive_Inner()
54 LMProducts StBkS, YtS; in BFGSRecursiveBasisUpdate()
122 LMProducts M00, StB0S, YtS, D; in BFGSCompactDenseProductsUpdate()
190 LMProducts M00, YtS, D; in BFGSKernel_CompactDense()
/petsc/src/ksp/ksp/utils/lmvm/symbrdn/
H A Dsymbrdn.h42 LMProducts products[SYMBROYDEN_PRODUCTS_COUNT];
H A Dsymbrdn.c34 LMProducts M00 = lsb->products[LMVMModeMap(SYMBROYDEN_PRODUCTS_M00, mode)]; in SymBroydenKernel_Recursive_Inner()
35 LMProducts M01 = lsb->products[LMVMModeMap(SYMBROYDEN_PRODUCTS_M01, mode)]; in SymBroydenKernel_Recursive_Inner()
36 LMProducts M11 = lsb->products[LMVMModeMap(SYMBROYDEN_PRODUCTS_M11, mode)]; in SymBroydenKernel_Recursive_Inner()
61 …tscErrorCode MatLMVMSymBroydenGetConvexFactor(Mat B, SymBroydenProductsType Phi_t, LMProducts *Phi) in MatLMVMSymBroydenGetConvexFactor()
95 LMProducts M[3]; in SymBroydenRecursiveBasisUpdate()
96 LMProducts Phi, Psi = NULL; in SymBroydenRecursiveBasisUpdate()
99 LMProducts StBkS, YtHkY = NULL; in SymBroydenRecursiveBasisUpdate()
356 LMProducts M[3], Phi, Psi, YtS, StB0S, StBkS, YtHkY; in SymBroydenCompactProductsUpdate()
511 LMProducts M00, M01, M11; in SymBroydenKernel_CompactDense()
631 LMProducts StY = NULL; in MatUpdate_LMVMSymBrdn()
[all …]
/petsc/src/ksp/ksp/utils/lmvm/dfp/
H A Ddfp.c18 LMProducts YtS; in DFPKernel_Recursive()
82 LMProducts YtS, StB0S, D; in DFPKernel_CompactDense()
124 LMProducts YtS = NULL, D = NULL; in DFPKernel_Dense()