Home
last modified time | relevance | path

Searched refs:block_type (Results 1 – 6 of 6) sorted by relevance

/petsc/src/ksp/ksp/utils/lmvm/
H A Dlmproducts.c10 PETSC_INTERN PetscErrorCode LMProductsCreate(LMBasis basis, LMBlockType block_type, LMProducts *dot… in LMProductsCreate() argument
17 …PetscCheck(block_type >= 0 && block_type < LMBLOCK_END, PetscObjectComm((PetscObject)basis->vecs),… in LMProductsCreate()
20 (*dots)->block_type = block_type; in LMProductsCreate()
23 if (block_type == LMBLOCK_DIAGONAL) { in LMProductsCreate()
111 switch (dots->block_type) { in LMProductsUpdate_Internal()
175 if (dots->block_type == LMBLOCK_DIAGONAL) { in LMProductsUpdate_Internal()
198 switch (dots->block_type) { in LMProductsUpdate_Internal()
234 if (dots->block_type == LMBLOCK_DIAGONAL) { in LMProductsUpdate_Internal()
264 …PetscCheck(dest->block_type == src->block_type, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Cannot copy to L… in LMProductsCopy()
288 …PetscCheck(dots->block_type != LMBLOCK_DIAGONAL, PETSC_COMM_SELF, PETSC_ERR_SUP, "Asking for full … in LMProductsGetLocalMatrix()
[all …]
H A Dlmvmutils.c1292 PETSC_INTERN PetscErrorCode MatLMVMCreateProducts(Mat B, LMBlockType block_type, LMProducts *produc… in MatLMVMCreateProducts() argument
1297 PetscCall(LMProductsCreate(lmvm->basis[LMBASIS_S], block_type, products)); in MatLMVMCreateProducts()
1302 …LMVMProductsUpdate(Mat B, MatLMVMBasisType type_X, MatLMVMBasisType type_Y, LMBlockType block_type) in MatLMVMProductsUpdate() argument
1314 …if (!lmvm->products[block_type][true_type_X][true_type_Y]) PetscCall(MatLMVMCreateProducts(B, bloc… in MatLMVMProductsUpdate()
1315 PetscCall(LMProductsUpdate(lmvm->products[block_type][true_type_X][true_type_Y], X, Y)); in MatLMVMProductsUpdate()
1317 …if (!lmvm->products[block_type][type_X][type_Y]) PetscCall(MatLMVMCreateProducts(B, block_type, &l… in MatLMVMProductsUpdate()
1318 G = lmvm->products[block_type][type_X][type_Y]; in MatLMVMProductsUpdate()
1322 …PetscCall(LMProductsCopy(lmvm->products[block_type][true_type_X][true_type_Y], lmvm->products[bloc… in MatLMVMProductsUpdate()
1323 …if (alpha_X * alpha_Y != 1.0) PetscCall(LMProductsScale(lmvm->products[block_type][type_X][type_Y]… in MatLMVMProductsUpdate()
1328 …s(Mat B, MatLMVMBasisType type_X, MatLMVMBasisType type_Y, LMBlockType block_type, LMProducts *lmw… in MatLMVMGetUpdatedProducts() argument
[all …]
H A Dlmproducts.h28 LMBlockType block_type; member
/petsc/src/sys/objects/device/impls/
H A Dsegmentedmempool.hpp695 using block_type = impl::MemoryBlock<value_type, allocator_type, stream_type>; typedef in Petsc::memory::SegmentedMemoryPool
696 using pool_type = std::deque<block_type>;
697 using size_type = typename block_type::size_type;
865 using chunk_type = typename block_type::chunk_type; in reallocate()
/petsc/src/ksp/ksp/utils/lmvm/bfgs/
H A Dbfgs.c129 …if (lsb->products[M00_t] && lsb->products[M00_t]->block_type != LMBLOCK_FULL) PetscCall(LMProducts… in BFGSCompactDenseProductsUpdate()
/petsc/src/ksp/ksp/utils/lmvm/symbrdn/
H A Dsymbrdn.c107 …if (lsb->products[M_t[i]] && lsb->products[M_t[i]]->block_type != LMBLOCK_DIAGONAL) PetscCall(LMPr… in SymBroydenRecursiveBasisUpdate()
363 …if (lsb->products[M_t[i]] && lsb->products[M_t[i]]->block_type != LMBLOCK_FULL) PetscCall(LMProduc… in SymBroydenCompactProductsUpdate()