| /petsc/src/vec/is/sf/impls/basic/cupm/ |
| H A D | sfcupm_impl.hpp | 56 template <class Type, PetscInt BS, PetscInt EQ> 59 …const PetscInt M = (EQ) ? 1 : bs / BS; /* If EQ, then M=1 enables compiler's const-propagation */ in d_Pack() 60 …const PetscInt MBS = M * BS; /* MBS=bs. We turn MBS into a compile-time const when EQ=… in d_Pack() 69 template <class Type, class Op, PetscInt BS, PetscInt EQ> 72 const PetscInt M = (EQ) ? 1 : bs / BS, MBS = M * BS; in d_UnpackAndOp() 82 template <class Type, class Op, PetscInt BS, PetscInt EQ> 85 const PetscInt M = (EQ) ? 1 : bs / BS, MBS = M * BS; in d_FetchAndOp() 95 template <class Type, class Op, PetscInt BS, PetscInt EQ> 98 const PetscInt M = (EQ) ? 1 : bs / BS, MBS = M * BS; in d_ScatterAndOp() 130 template <class Type, class Op, PetscInt BS, PetscInt EQ> [all …]
|
| H A D | sfcupm.hpp | 24 template <typename Type, PetscInt BS, PetscInt EQ> 27 template <typename Type, class Op, PetscInt BS, PetscInt EQ> 30 template <typename Type, class Op, PetscInt BS, PetscInt EQ> 33 template <typename Type, class Op, PetscInt BS, PetscInt EQ> 36 template <typename Type, PetscInt BS, PetscInt EQ> 39 template <typename Type, class Op, PetscInt BS, PetscInt EQ> 42 template <typename Type, PetscInt BS, PetscInt EQ> 45 template <typename Type, PetscInt BS, PetscInt EQ, PetscInt size /*sizeof(Type)*/> 48 template <typename Type, PetscInt BS, PetscInt EQ> 52 template <typename Type, PetscInt BS, PetscInt EQ> [all …]
|
| /petsc/src/vec/is/sf/impls/basic/kokkos/ |
| H A D | sfkok.kokkos.cxx | 231 template <typename Type, PetscInt BS, PetscInt EQ> 235 …const PetscInt M = EQ ? 1 : link->bs / BS, MBS = M * BS; /* If EQ, then MBS will be a compil… in Pack() 253 template <typename Type, class Op, PetscInt BS, PetscInt EQ> 258 const PetscInt M = EQ ? 1 : link->bs / BS, MBS = M * BS; in UnpackAndOp() 273 template <typename Type, class Op, PetscInt BS, PetscInt EQ> 278 const PetscInt M = EQ ? 1 : link->bs / BS, MBS = M * BS; in FetchAndOp() 292 template <typename Type, class Op, PetscInt BS, PetscInt EQ> 296 const PetscInt M = (EQ) ? 1 : link->bs / BS, MBS = M * BS; in ScatterAndOp() 357 template <typename Type, PetscInt BS, PetscInt EQ> 373 …PetscCall(ScatterAndOp<Type, Insert<Type>, BS, EQ>(link, count, srcStart, srcOpt, srcIdx, src, dst… in ScatterAndInsert() [all …]
|
| /petsc/src/vec/is/sf/impls/basic/ |
| H A D | sfpack.c | 54 #define DEF_PackFunc(Type, BS, EQ) \ argument 55 …static PetscErrorCode CPPJoin4(Pack, Type, BS, EQ)(PetscSFLink link, PetscInt count, PetscInt star… 60 …const PetscInt M = (EQ) ? 1 : bs / BS; /* If EQ, then M=1 enables compiler's const-propagation *… 61 …const PetscInt MBS = M * BS; /* MBS=bs. We turn MBS into a compile time const when EQ=… 78 …for (k = 0; k < BS; k++) /* Compiler either unrolls (BS=1) or vectorizes (BS=2,4,8,etc) this loop … 79 p[i * MBS + j * BS + k] = u[idx[i] * MBS + j * BS + k]; \ 95 #define DEF_UnpackFunc(Type, BS, EQ) \ argument 96 …static PetscErrorCode CPPJoin4(UnpackAndInsert, Type, BS, EQ)(PetscSFLink link, PetscInt count, Pe… 101 …const PetscInt M = (EQ) ? 1 : bs / BS; /* If EQ, then M=1 enables compiler's const-propagation *… 102 …const PetscInt MBS = M * BS; /* MBS=bs. We turn MBS into a compile time const when EQ=… [all …]
|
| /petsc/src/ksp/ksp/impls/qcg/ |
| H A D | qcg.c | 147 Vec W, WA, WA2, R, P, ASP, BS, X, B; in KSPSolve_QCG() local 167 BS = ksp->work[4]; in KSPSolve_QCG() 181 PetscCall(PCApplySymmetricLeft(pc, B, BS)); in KSPSolve_QCG() 184 PetscCall(VecNorm(BS, NORM_2, &bsnrm)); in KSPSolve_QCG() 197 PetscCall(VecCopy(BS, R)); in KSPSolve_QCG() 228 PetscCall(VecDotRealPart(BS, P, &bstp)); in KSPSolve_QCG()
|
| /petsc/src/binding/petsc4py/test/ |
| H A D | test_mat_dense.py | 28 BS = self.BSIZE # or 1 31 bs = BS or 1 35 self.A.setSizes([rowsz, colsz], BS) 143 BS = self.BSIZE or 1 144 rows, cols, vals = mkdata(COMM, GM, GN, BS)
|
| H A D | test_lgmap.py | 88 BS = 3 variable in TestLGMapBlock 102 bs = self.BS 114 self.assertEqual(bs, self.BS)
|
| H A D | test_mat_aij.py | 51 BS = self.BSIZE 54 rbs, cbs = BS 58 rbs = cbs = BS or 1 69 A.setSizes([rowsz, colsz], BS)
|
| /petsc/src/ksp/ksp/utils/lmvm/dense/ |
| H A D | denseqn.h | 13 Mat HY, BS; // Stored in recycled order member
|
| H A D | denseqn.c | 56 PetscCall(MatDestroy(&lqn->BS)); in MatLMVMDQNResetDestructive() 99 if (lqn->BS) PetscCall(MatZeroEntries(lqn->BS)); in MatReset_LMVMDQN_Internal() 178 PetscCall(MatDuplicate(Sfull, MAT_SHARE_NONZERO_PATTERN, &lqn->BS)); in MatAllocate_LMVMDQN_Internal() 488 PetscCall(MatDestroyThenCopy(blqn->HY, &mlqn->BS)); in MatCopy_LMVMDQN() 681 PetscCall(MatDestroy(&lbfgs->BS)); in MatLMVMDBFGSUpdateMultData() 682 PetscCall(MatDuplicate(Yfull, MAT_SHARE_NONZERO_PATTERN, &lbfgs->BS)); in MatLMVMDBFGSUpdateMultData() 696 PetscCall(MatDenseGetColumnVecWrite(lbfgs->BS, S_idx, &Bs_j)); in MatLMVMDBFGSUpdateMultData() 705 PetscCall(MatDenseRestoreColumnVecWrite(lbfgs->BS, S_idx, &Bs_j)); in MatLMVMDBFGSUpdateMultData() 978 PetscCall(MatMultAddColumnRange(lbfgs->BS, lbfgs->rwork3, Z, Z, 0, h)); in MatMult_LMVMDBFGS()
|
| /petsc/doc/ |
| H A D | petsc.bib | 32446 number = {BS--R89xx}
|