Home
last modified time | relevance | path

Searched refs:transpose (Results 1 – 25 of 69) sorted by relevance

123

/petsc/src/ts/tutorials/output/
H A Dex20opt_ic_4.out2 MATSHELL transpose and matrix-free multiple appear to produce the same results
4 MATSHELL transpose and matrix-free multiple appear to produce the same results
6 MATSHELL transpose and matrix-free multiple appear to produce the same results
8 MATSHELL transpose and matrix-free multiple appear to produce the same results
14 MATSHELL transpose and matrix-free multiple appear to produce the same results
16 MATSHELL transpose and matrix-free multiple appear to produce the same results
/petsc/src/ksp/ksp/tutorials/output/
H A Dex81_w_explicit_schur_outer_fieldsplit_sizes-2__3.out8 (0,3) : type=transpose, rows=3, cols=24
14 (1,4) : type=transpose, rows=6, cols=48
23 (3,3) : type=transpose, rows=24, cols=24
25 (4,0) : type=transpose, rows=48, cols=3
H A Dex81_w_explicit_schur_outer_fieldsplit_sizes-3__2.out8 (0,3) : type=transpose, rows=3, cols=24
14 (1,4) : type=transpose, rows=6, cols=48
23 (3,3) : type=transpose, rows=24, cols=24
25 (4,0) : type=transpose, rows=48, cols=3
H A Dex81_wo_explicit_schur_outer_fieldsplit_sizes-1__2__2.out8 (0,3) : type=transpose, rows=3, cols=24
14 (1,4) : type=transpose, rows=6, cols=48
23 (3,3) : type=transpose, rows=24, cols=24
25 (4,0) : type=transpose, rows=48, cols=3
H A Dex81_wo_explicit_schur_outer_fieldsplit_sizes-2__2__1.out8 (0,3) : type=transpose, rows=3, cols=24
14 (1,4) : type=transpose, rows=6, cols=48
23 (3,3) : type=transpose, rows=24, cols=24
25 (4,0) : type=transpose, rows=48, cols=3
H A Dex81_wo_explicit_schur_outer_fieldsplit_sizes-2__1__2.out8 (0,3) : type=transpose, rows=3, cols=24
14 (1,4) : type=transpose, rows=6, cols=48
23 (3,3) : type=transpose, rows=24, cols=24
25 (4,0) : type=transpose, rows=48, cols=3
H A Dex81_w_explicit_schur_outer_fieldsplit_sizes-1__4.out8 (0,3) : type=transpose, rows=3, cols=24
14 (1,4) : type=transpose, rows=6, cols=48
23 (3,3) : type=transpose, rows=24, cols=24
25 (4,0) : type=transpose, rows=48, cols=3
H A Dex81_w_explicit_schur_outer_fieldsplit_sizes-4__1.out8 (0,3) : type=transpose, rows=3, cols=24
14 (1,4) : type=transpose, rows=6, cols=48
23 (3,3) : type=transpose, rows=24, cols=24
25 (4,0) : type=transpose, rows=48, cols=3
H A Dex81a_1.out51 (1,1) : type=transpose, rows=24, cols=24
77 (0,3) : type=transpose, rows=3, cols=24
83 (1,4) : type=transpose, rows=6, cols=48
92 (3,3) : type=transpose, rows=24, cols=24
94 (4,0) : type=transpose, rows=48, cols=3
H A Dex81a_2.out75 type: transpose
104 (0,3) : type=transpose, rows=3, cols=24
110 (1,4) : type=transpose, rows=6, cols=48
119 (3,3) : prefix="fieldsplit_3_", type=transpose, rows=24, cols=24
121 (4,0) : type=transpose, rows=48, cols=3
/petsc/src/ksp/pc/impls/mg/
H A Dfmg.c6 PetscErrorCode PCMGFCycle_Private(PC pc, PC_MG_Levels **mglevels, PetscBool transpose, PetscBool ma… in PCMGFCycle_Private() argument
11 if (!transpose) { in PCMGFCycle_Private()
31 PetscCall(PCMGMCycle_Private(pc, &mglevels[i], transpose, matapp, NULL)); in PCMGFCycle_Private()
37 PetscCall(PCMGMCycle_Private(pc, &mglevels[l - 1], transpose, matapp, NULL)); in PCMGFCycle_Private()
39 PetscCall(PCMGMCycle_Private(pc, &mglevels[l - 1], transpose, matapp, NULL)); in PCMGFCycle_Private()
45 PetscCall(PCMGMCycle_Private(pc, &mglevels[i], transpose, matapp, NULL)); in PCMGFCycle_Private()
57 PetscErrorCode PCMGKCycle_Private(PC pc, PC_MG_Levels **mglevels, PetscBool transpose, PetscBool ma… in PCMGKCycle_Private() argument
H A Dsmg.c6 PetscErrorCode PCMGACycle_Private(PC pc, PC_MG_Levels **mglevels, PetscBool transpose, PetscBool ma… in PCMGACycle_Private() argument
14 if (!transpose) { in PCMGACycle_Private()
35 if (!transpose) { in PCMGACycle_Private()
52 if (!transpose) { in PCMGACycle_Private()
/petsc/src/ksp/pc/impls/pbjacobi/kokkos/
H A Dpbjacobi_kok.kokkos.cxx30 template <PetscBool transpose>
39 …const char *label = transpose ? "PCApplyTranspose_PBJacobi_Kokkos" : "PCApply_PBJac… in PCApplyOrTranspose_PBJacobi_Kokkos()
55 Ap = &Av(bs2 * k + i * (transpose ? bs : 1)); /* Ap points to the first entry of i-th row */ in PCApplyOrTranspose_PBJacobi_Kokkos()
62 Ap += (transpose ? 1 : bs); /* block is in column major order */ in PCApplyOrTranspose_PBJacobi_Kokkos()
/petsc/src/mat/tests/output/
H A Dex49_r1_par.out9 transpose matrix nonzeros = 24, allocated nonzeros = 24
10 transpose: Frobenius norm = 102.078, one norm = 195., infinity norm = 80.
H A Dex49_r1.out9 transpose matrix nonzeros = 24, allocated nonzeros = 24
10 transpose: Frobenius norm = 102.078, one norm = 195., infinity norm = 80.
H A Dex49_1.out9 transpose matrix nonzeros = 16, allocated nonzeros = 16
10 transpose: Frobenius norm = 79.8499, one norm = 126., infinity norm = 72.
H A Dex218_1.out2 MATSHELL transpose and matrix-free multiple appear to produce the same results
/petsc/src/ksp/ksp/tutorials/
H A Dex76.c20 PetscBool flg, set, transpose = PETSC_FALSE, explicit = PETSC_FALSE; in main() local
154 PetscCall(PetscOptionsGetBool(NULL, NULL, "-transpose", &transpose, NULL)); in main()
155 if (!transpose) PetscCall(KSPSolve(ksp, b, b)); in main()
175 if (!transpose) PetscCall(KSPMatSolve(ksp, B, X)); in main()
193 if (!transpose) PetscCall(KSPMatSolve(ksp, B, C)); in main()
201 …as nonzero norm %g with pseudo-block KSPHPDDMType %s", (transpose ? "Transpose" : ""), (transpose in main()
286 if (!transpose) PetscCall(KSPSolve(ksp, b, b)); in main()
291 …number of iterations (+/- 3, %" PetscInt_FMT " v. %" PetscInt_FMT ")", (transpose ? "Transpose" : … in main()
296 if (!transpose) PetscCall(KSPSolve(ksp, b, b)); in main()
301 …number of iterations (+/- 3, %" PetscInt_FMT " v. %" PetscInt_FMT ")", (transpose ? "Transpose" : … in main()
H A Dexample100.py122 A, P = get_op_pc(ksp, transpose=False)
127 A, P = get_op_pc(ksp, transpose=True)
130 def get_op_pc(ksp, transpose=False): argument
133 if not transpose:
H A Dex79.c22 PetscBool flg, transpose = PETSC_FALSE, hypre_mat_on_device = PETSC_FALSE; in main() local
33 PetscCall(PetscOptionsGetBool(NULL, NULL, "-transpose", &transpose, NULL)); in main()
79 if (transpose) { in main()
/petsc/src/ksp/pc/impls/vpbjacobi/cuda/
H A Dvpbjacobi_cuda.cu81 …st PetscInt *matIdx, const MatScalar *A, const PetscScalar *x, PetscScalar *y, PetscBool transpose) in MatMultBatched() argument
92 A += bs2[k] + i * (transpose ? m : 1); /* advance A to the first entry of i-th row */ in MatMultBatched()
99 A += (transpose ? 1 : m); in MatMultBatched()
104 static PetscErrorCode PCApplyOrTranspose_VPBJacobi_CUDA(PC pc, Vec x, Vec y, PetscBool transpose) in PCApplyOrTranspose_VPBJacobi_CUDA() argument
126 …<gridSize, 256>>>(n, pcuda->bs_d, pcuda->bs2_d, pcuda->matIdx_d, pcuda->diag_d, xx, yy, transpose); in PCApplyOrTranspose_VPBJacobi_CUDA()
/petsc/src/ksp/pc/impls/vpbjacobi/kokkos/
H A Dvpbjacobi_kok.kokkos.cxx70 template <PetscBool transpose>
81 …const char *label = transpose ? "PCApplyTranspose_VPBJacobi" : "PCApply_VPBJacobi"; in PCApplyOrTranspose_VPBJacobi_Kokkos()
100 if (transpose) { in PCApplyOrTranspose_VPBJacobi_Kokkos()
116 …Bp = &diag(bs2(k) + i * (transpose ? m : 1)); /* Bp points to the first entry of i-th row/column */ in PCApplyOrTranspose_VPBJacobi_Kokkos()
123 Bp += transpose ? 1 : m; in PCApplyOrTranspose_VPBJacobi_Kokkos()
/petsc/src/ksp/ksp/interface/
H A Ditfunc.c1110 if (!ksp->transpose.reuse_transpose) { in KSPUseExplicitTranspose_Private()
1111 PetscCall(MatTranspose(J, MAT_INITIAL_MATRIX, &ksp->transpose.AT)); in KSPUseExplicitTranspose_Private()
1112 if (J != Jpre) PetscCall(MatTranspose(Jpre, MAT_INITIAL_MATRIX, &ksp->transpose.BT)); in KSPUseExplicitTranspose_Private()
1113 ksp->transpose.reuse_transpose = PETSC_TRUE; in KSPUseExplicitTranspose_Private()
1115 PetscCall(MatTranspose(J, MAT_REUSE_MATRIX, &ksp->transpose.AT)); in KSPUseExplicitTranspose_Private()
1116 if (J != Jpre) PetscCall(MatTranspose(Jpre, MAT_REUSE_MATRIX, &ksp->transpose.BT)); in KSPUseExplicitTranspose_Private()
1118 if (J == Jpre && ksp->transpose.BT != ksp->transpose.AT) { in KSPUseExplicitTranspose_Private()
1119 PetscCall(PetscObjectReference((PetscObject)ksp->transpose.AT)); in KSPUseExplicitTranspose_Private()
1120 ksp->transpose.BT = ksp->transpose.AT; in KSPUseExplicitTranspose_Private()
1122 PetscCall(KSPSetOperators(ksp, ksp->transpose.AT, ksp->transpose.BT)); in KSPUseExplicitTranspose_Private()
[all …]
/petsc/src/ksp/pc/impls/pbjacobi/cuda/
H A Dpbjacobi_cuda.cu6 … bs, PetscInt mbs, const PetscScalar *A, const PetscScalar *x, PetscScalar *y, PetscBool transpose) in MatMultBatched() argument
20 Ap = &A[bs2 * k + i * (transpose ? bs : 1)]; /* Ap points to the first entry of i-th row */ in MatMultBatched()
27 Ap += (transpose ? 1 : bs); /* block is in column major order */ in MatMultBatched()
/petsc/src/mat/impls/lrc/
H A Dlrc.c13 static PetscErrorCode MatMult_LRC_kernel(Mat N, Vec x, Vec y, PetscBool transpose) in MatMult_LRC_kernel() argument
20 U = transpose ? Na->V : Na->U; in MatMult_LRC_kernel()
21 V = transpose ? Na->U : Na->V; in MatMult_LRC_kernel()
27 if (transpose) { in MatMult_LRC_kernel()
43 xl = transpose ? Na->yl : Na->xl; in MatMult_LRC_kernel()
44 yl = transpose ? Na->xl : Na->yl; in MatMult_LRC_kernel()
69 if (transpose) { in MatMult_LRC_kernel()

123