| /petsc/include/petsc/mpiuni/ |
| H A D | mpif.h | 70 parameter (MPI_LOGICAL=INT(Z'400104')) 71 parameter (MPI_REAL=INT(Z'100104')) 72 parameter (MPI_REAL4=INT(Z'100104')) 73 parameter (MPI_REAL8=INT(Z'100108')) 74 parameter (MPI_COMPLEX=INT(Z'200108')) 75 parameter (MPI_CHARACTER=INT(Z'300101')) 76 parameter (MPI_2INTEGER=INT(Z'e00108')) 77 parameter (MPI_DOUBLE_COMPLEX=INT(Z'200110')) 78 parameter (MPI_INTEGER4=INT(Z'400104')) 79 parameter (MPI_INTEGER8=INT(Z'400108')) [all …]
|
| /petsc/src/dm/tests/output/ |
| H A D | ex34_1.out | 4 X range of indices: 0 4, Y range of indices: 0 3, Z range of indices: 0 4 6 X range of indices: 4 8, Y range of indices: 0 3, Z range of indices: 0 4 8 X range of indices: 8 11, Y range of indices: 0 3, Z range of indices: 0 4 10 X range of indices: 0 4, Y range of indices: 3 5, Z range of indices: 0 4 12 X range of indices: 4 8, Y range of indices: 3 5, Z range of indices: 0 4 14 X range of indices: 8 11, Y range of indices: 3 5, Z range of indices: 0 4 16 X range of indices: 0 4, Y range of indices: 0 3, Z range of indices: 4 7 18 X range of indices: 4 8, Y range of indices: 0 3, Z range of indices: 4 7 20 X range of indices: 8 11, Y range of indices: 0 3, Z range of indices: 4 7 22 X range of indices: 0 4, Y range of indices: 3 5, Z range of indices: 4 7 [all …]
|
| H A D | ex45_1.out | 4 X range of indices: 0 2, Y range of indices: 0 2, Z range of indices: 0 26 6 X range of indices: 0 2, Y range of indices: 0 2, Z range of indices: 26 52 8 X range of indices: 0 2, Y range of indices: 0 2, Z range of indices: 52 78 10 X range of indices: 0 2, Y range of indices: 0 2, Z range of indices: 78 103 12 X range of indices: 0 2, Y range of indices: 0 2, Z range of indices: 103 128
|
| /petsc/src/dm/impls/stag/tests/output/ |
| H A D | ex50_dim-3_coords-false.out | 4 X range of indices: 0 4, Y range of indices: 0 3, Z range of indices: 0 3 118 X range of indices: 0 4, Y range of indices: 0 3, Z range of indices: 0 3 160 X range of indices: 0 4, Y range of indices: 0 3, Z range of indices: 0 3 202 X range of indices: 0 4, Y range of indices: 0 3, Z range of indices: 0 2 280 X range of indices: 0 4, Y range of indices: 0 3, Z range of indices: 0 2 310 X range of indices: 0 4, Y range of indices: 0 3, Z range of indices: 0 2 340 X range of indices: 0 4, Y range of indices: 0 3, Z range of indices: 0 2 370 X range of indices: 0 4, Y range of indices: 0 2, Z range of indices: 0 3 448 X range of indices: 0 4, Y range of indices: 0 2, Z range of indices: 0 3 478 X range of indices: 0 4, Y range of indices: 0 2, Z range of indices: 0 3 [all …]
|
| H A D | ex50_dim-3_coords-true.out | 4 X range of indices: 0 4, Y range of indices: 0 3, Z range of indices: 0 3 119 X range of indices: 0 4, Y range of indices: 0 3, Z range of indices: 0 3 162 X range of indices: 0 4, Y range of indices: 0 3, Z range of indices: 0 3 205 X range of indices: 0 4, Y range of indices: 0 3, Z range of indices: 0 2 284 X range of indices: 0 4, Y range of indices: 0 3, Z range of indices: 0 2 315 X range of indices: 0 4, Y range of indices: 0 3, Z range of indices: 0 2 346 X range of indices: 0 4, Y range of indices: 0 3, Z range of indices: 0 2 377 X range of indices: 0 4, Y range of indices: 0 2, Z range of indices: 0 3 456 X range of indices: 0 4, Y range of indices: 0 2, Z range of indices: 0 3 487 X range of indices: 0 4, Y range of indices: 0 2, Z range of indices: 0 3 [all …]
|
| /petsc/src/ksp/ksp/impls/cg/ |
| H A D | cg.c | 125 Vec X, B, Z, R, P, W; in KSPSolve_CG() local 140 Z = ksp->work[1]; in KSPSolve_CG() 142 W = Z; in KSPSolve_CG() 170 PetscCall(KSP_PCApply(ksp, R, Z)); /* z <- Br */ in KSPSolve_CG() 171 PetscCall(VecNorm(Z, NORM_2, &dp)); /* dp <- z'*z = e'*A'*B'*B*A*e */ in KSPSolve_CG() 179 PetscCall(KSP_PCApply(ksp, R, Z)); /* z <- Br */ in KSPSolve_CG() 180 PetscCall(VecXDot(Z, R, &beta)); /* beta <- z'*r */ in KSPSolve_CG() 213 …IONED && (ksp->normtype != KSP_NORM_NATURAL)) PetscCall(KSP_PCApply(ksp, R, Z)); /* z <- Br … in KSPSolve_CG() 215 PetscCall(VecXDot(Z, R, &beta)); /* beta <- z'*r */ in KSPSolve_CG() 235 PetscCall(VecCopy(Z, P)); /* p <- z */ in KSPSolve_CG() [all …]
|
| /petsc/src/ksp/ksp/impls/cg/cgne/ |
| H A D | cgne.c | 46 Vec X, B, Z, R, P, T; in KSPSolve_CGNE() local 62 Z = ksp->work[1]; in KSPSolve_CGNE() 89 PetscCall(KSP_PCApply(ksp, T, Z)); in KSPSolve_CGNE() 92 PetscCall(VecNorm(Z, NORM_2, &dp)); /* dp <- z'*z */ in KSPSolve_CGNE() 96 PetscCall(VecXDot(Z, R, &beta)); in KSPSolve_CGNE() 109 PetscCall(VecXDot(Z, R, &beta)); /* beta <- r'z */ in KSPSolve_CGNE() 123 PetscCall(VecCopy(Z, P)); /* p <- z */ in KSPSolve_CGNE() 131 PetscCall(VecAYPX(P, b, Z)); /* p <- z + b* p */ in KSPSolve_CGNE() 135 PetscCall(KSP_MatMultTranspose(ksp, Amat, T, Z)); in KSPSolve_CGNE() 136 PetscCall(VecXDot(P, Z, &dpi)); /* dpi <- z'p */ in KSPSolve_CGNE() [all …]
|
| /petsc/share/petsc/datafiles/meshes/ |
| H A D | mesh-3d-box-innersphere_bin.msh | 10 �TDo�?�Q��ɐ�Z�/7�Ƴ?fZu#��?�J 11 …�yG�ȿ10��#�?^|Uȩ�?���~Ӈ�?2� ��0��d�;ſ�������?3��V�����jrϐ�¿Z�B���ɿ4ӮS$(�?.�70… 15 �¿f�6��XÿFIŖ�?@*��9@ÿm������Z��G¿AP�nob��?���&�i�?bea�$���B����I��?��ZȂ��?��Tmw��?C… 17 …Z���q���ߗʿG�"E���?=��Yи?/Đ��@˿H#���,�? ��[���?�}A}�?I��ϓ����-HD��?9�hI�?�?Jn��ދ… 26 … _[1 Z[_2 Zb[…
|
| H A D | gmsh-3d-binary-32.msh | 36 TUVWXYZ[\]^_`^������?�?^������?��?�?�… 56 …Z8ZX9X]:Z;VZ<`V=%Y… 57 fZa f[ ai\ 60 …{�o{u}�>{A|�B{>}�U{Z��ov{… 62 …ZVr{(<?K})Ktq}*dhT~+HN=�,…
|
| H A D | gmsh-3d-binary-64.msh | 33 TUVWXYZ[\]^_… 50 …Z$>$ZV?V]$@&Z… 51 fZe f[ ej\ 54 …��G|N��T}Z��… 56 …Z�>d<?�?R#0J@…
|
| H A D | square_periodic_bin.msh | 11 …&0�{mC�@3�?�@'� ��J@3�?�@(���w�� @`��d�Z�?)ބb[���?… 17 …U\T+�m@,Z[7*��?V�,]t��?M�6^@W6��)�!@Č�w�6@XEMDU��?��… 35 …XY6Y#QBZ/]6… 37 …Z~Y4hd�… 38 …Zc�\�[�…
|
| H A D | gmsh-3d-binary.msh2 | 46 �?Z 61 …Z8(ZT9(T]:… 62 gZ2d g[2 dj\… 65 …~�dVY|~�dV|Z�… 67 …ZWn|1dun>|2dKqr�…
|
| H A D | square_bin_physnames.msh | 24 *��+��?.�Z�� 28 …]��?���D�?X�D��?ϛ�s���?Y���s���?2�]��?Z!�m���?!�m���?… 30 …mBf����?�r��z�?n=#v�Z��?r�>V���?o��>V���?���J��?p�X… 43 …\. ]/ Z0 … 44 3 Z4 [(5 … 46 …X EA�Y E�1Z *Wb… 47 …}]� zZ� {[�… 48 …ei-� Zz2� 3[{…
|
| /petsc/src/ksp/ksp/tests/ |
| H A D | ex61.c | 10 Vec X, Y, Z; in main() local 56 PetscCall(VecCreateSeqWithArray(MPI_COMM_SELF, 1, size, z, &Z)); in main() 57 PetscCall(VecAssemblyBegin(Z)); in main() 58 PetscCall(VecAssemblyEnd(Z)); in main() 70 PetscCall(KSPSolve(solver, X, Z)); in main() 71 PetscCall(VecAXPY(Z, -1.0, Y)); in main() 72 PetscCall(VecNorm(Z, NORM_2, &nrm)); in main() 82 PetscCall(VecDestroy(&Z)); in main()
|
| /petsc/src/ksp/ksp/impls/cg/pipelcg/ |
| H A D | pipelcg.c | 17 Vec *Z; /* Z vectors (shifted base) */ member 51 PetscCall(VecDuplicateVecs(plcg->p, PetscMax(3, l + 1), &plcg->Z)); in KSPSetUp_PIPELCG() 68 PetscCall(VecDestroyVecs(PetscMax(3, l + 1), &plcg->Z)); in KSPReset_PIPELCG() 140 Vec *Z = plcg->Z, *U = plcg->U, *V = plcg->V, *Q = plcg->Q; in KSPSolve_InnerLoop_PIPELCG() local 162 PetscCall(MatMult(A, Z[l - it], U[0])); in KSPSolve_InnerLoop_PIPELCG() 164 PetscCall(KSP_PCApply(ksp, U[0], Z[l - it - 1])); in KSPSolve_InnerLoop_PIPELCG() 165 if (it < l - 1) PetscCall(VecCopy(Z[l - it - 1], Q[3 * it])); in KSPSolve_InnerLoop_PIPELCG() 168 temp = Z[PetscMax(l, 2)]; in KSPSolve_InnerLoop_PIPELCG() 169 for (i = PetscMax(l, 2); i > 0; --i) Z[i] = Z[i - 1]; in KSPSolve_InnerLoop_PIPELCG() 170 Z[0] = temp; in KSPSolve_InnerLoop_PIPELCG() [all …]
|
| /petsc/src/ksp/ksp/impls/symmlq/ |
| H A D | symmlq.c | 21 Vec X, B, R, Z, U, V, W, UOLD, VOLD, Wbar; in KSPSolve_SYMMLQ() local 33 Z = ksp->work[1]; in KSPSolve_SYMMLQ() 56 PetscCall(KSP_PCApply(ksp, R, Z)); /* z <- B*r */ in KSPSolve_SYMMLQ() 57 PetscCall(VecDot(R, Z, &dp)); /* dp = r'*z; */ in KSPSolve_SYMMLQ() 78 PetscCall(VecCopy(Z, U)); /* u <- z; */ in KSPSolve_SYMMLQ() 84 PetscCall(VecNorm(Z, NORM_2, &np)); /* np <- ||z|| */ in KSPSolve_SYMMLQ() 105 PetscCall(VecCopy(Z, U)); in KSPSolve_SYMMLQ() 122 PetscCall(KSP_PCApply(ksp, R, Z)); /* z <- B*r; */ in KSPSolve_SYMMLQ() 125 PetscCall(VecAXPY(Z, -alpha, U)); /* z <- z - alpha* u; */ in KSPSolve_SYMMLQ() 127 PetscCall(VecAXPY(Z, -beta, UOLD)); /* z <- z - beta * u_old; */ in KSPSolve_SYMMLQ() [all …]
|
| /petsc/src/mat/tutorials/ |
| H A D | ex2.c | 14 Vec X, X1, X2, Y, Z, Z1, Z2; in main() local 54 PetscCall(VecCreateSeqWithArray(PETSC_COMM_SELF, 1, size, z, &Z)); in main() 55 PetscCall(VecAssemblyBegin(Z)); in main() 56 PetscCall(VecAssemblyEnd(Z)); in main() 107 PetscCall(VecAXPY(Z, -1.0, Y)); in main() 108 PetscCall(VecNorm(Z, NORM_2, &nrm)); in main() 137 PetscCall(VecAXPY(Z, -1.0, Y)); in main() 138 PetscCall(VecNorm(Z, NORM_2, &nrm)); in main() 149 PetscCall(VecAXPY(Z, -1.0, Y)); in main() 150 PetscCall(VecNorm(Z, NORM_2, &nrm)); in main() [all …]
|
| /petsc/src/vec/vec/tests/ |
| H A D | ex38.c | 8 Vec X, Y, Z, W; in main() local 54 PetscCall(VecGetSubVector(X, is1, &Z)); in main() 57 PetscCall(VecView(Z, viewer)); in main() 62 PetscCall(VecGetArray(Z, &z)); in main() 64 PetscCall(VecRestoreArray(Z, &z)); in main() 69 PetscCall(VecRestoreSubVector(X, is1, &Z)); in main()
|
| /petsc/src/ksp/ksp/impls/lcd/ |
| H A D | lcd.c | 33 Vec X, B, R, Z; in KSPSolve_LCD() local 46 Z = ksp->work[1]; in KSPSolve_LCD() 54 PetscCall(KSP_MatMult(ksp, Amat, X, Z)); /* z <- b - Ax */ in KSPSolve_LCD() 55 PetscCall(VecAYPX(Z, mone, B)); in KSPSolve_LCD() 57 PetscCall(VecCopy(B, Z)); /* z <- b (x is 0) */ in KSPSolve_LCD() 60 PetscCall(KSP_PCApply(ksp, Z, R)); /* r <- M^-1z */ in KSPSolve_LCD() 77 PetscCall(KSP_MatMult(ksp, Amat, lcd->P[it], Z)); in KSPSolve_LCD() 78 PetscCall(KSP_PCApply(ksp, Z, lcd->Q[it])); in KSPSolve_LCD() 101 PetscCall(KSP_MatMult(ksp, Amat, lcd->P[it + 1], Z)); in KSPSolve_LCD() 102 PetscCall(KSP_PCApply(ksp, Z, lcd->Q[it + 1])); in KSPSolve_LCD()
|
| /petsc/src/mat/tests/ |
| H A D | ex88.c | 50 static PetscErrorCode TestMatrix(Mat A, Vec X, Vec Y, Vec Z) in TestMatrix() argument 77 PetscCall(MatDiagonalScale(A, Y, Z)); in TestMatrix() 82 PetscCall(MatMult(A, Z, W1)); in TestMatrix() 196 Vec X, Y, Z; in main() local 206 PetscCall(VecDuplicate(X, &Z)); in main() 210 PetscCall(VecSetValues(Z, 2, inds, zvals, INSERT_VALUES)); in main() 215 PetscCall(VecAssemblyBegin(Z)); in main() 218 PetscCall(VecAssemblyEnd(Z)); in main() 234 PetscCall(TestMatrix(S, X, Y, Z)); in main() 235 PetscCall(TestMatrix(A, X, Y, Z)); in main() [all …]
|
| /petsc/src/dm/impls/swarm/tests/output/ |
| H A D | ex12_3d_p4.out | 4 X range of indices: 0 8, Y range of indices: 0 4, Z range of indices: 0 4 7 X range of indices: 0 8, Y range of indices: 4 8, Z range of indices: 0 4 10 X range of indices: 0 8, Y range of indices: 0 4, Z range of indices: 4 8 13 X range of indices: 0 8, Y range of indices: 4 8, Z range of indices: 4 8
|
| /petsc/src/ksp/ksp/impls/bcgs/pipebcgs/ |
| H A D | pipebcgs.c | 19 Vec X, B, S, R, RP, Y, Q, P2, Q2, R2, S2, W, Z, W2, Z2, T, V; in KSPSolve_PIPEBCGS() local 37 Z = ksp->work[10]; in KSPSolve_PIPEBCGS() 97 PetscCall(VecCopy(T, Z)); /* z <- t */ in KSPSolve_PIPEBCGS() 100 …PetscCall(VecAXPBYPCZ(S, 1.0, -beta * omega, beta, W, Z)); /* s <- beta * s + w - beta * ome… in KSPSolve_PIPEBCGS() 102 …PetscCall(VecAXPBYPCZ(Z, 1.0, -beta * omega, beta, T, V)); /* z <- beta * z + t - beta * ome… in KSPSolve_PIPEBCGS() 106 PetscCall(VecWAXPY(Y, -alpha, Z, W)); /* y <- w - alpha z */ in KSPSolve_PIPEBCGS() 112 PetscCall(KSP_PCApply(ksp, Z, Z2)); /* z2 <- K z */ in KSPSolve_PIPEBCGS() 148 …PetscCall(VecDotBegin(Z, RP, &d3)); … in KSPSolve_PIPEBCGS() 158 PetscCall(VecDotEnd(Z, RP, &d3)); in KSPSolve_PIPEBCGS() 178 PetscCall(KSP_MatMult(ksp, pc->mat, S2, Z)); /* z <- A s2 */ in KSPSolve_PIPEBCGS() [all …]
|
| /petsc/src/ksp/ksp/impls/fcg/pipefcg/ |
| H A D | pipefcg.c | 86 Vec B, R, Z, X, Qcurr, W, ZETAcurr, M, N, Pcurr, Scurr, *redux; in KSPSolve_PIPEFCG_cycle() local 105 Z = ksp->work[1]; in KSPSolve_PIPEFCG_cycle() 120 PetscCall(KSP_PCApply(ksp, R, Z)); /* z <- Br */ in KSPSolve_PIPEFCG_cycle() 126 PetscCall(VecCopy(Z, Pcurr)); in KSPSolve_PIPEFCG_cycle() 133 PetscCall(VecMXDotBegin(Z, 2, redux, dots)); in KSPSolve_PIPEFCG_cycle() 134 …PetscCall(PetscCommSplitReductionBegin(PetscObjectComm((PetscObject)Z))); /* perform asynchronous … in KSPSolve_PIPEFCG_cycle() 139 PetscCall(VecMXDotEnd(Z, 2, redux, dots)); in KSPSolve_PIPEFCG_cycle() 152 PetscCall(VecAXPY(Z, -alpha, Qcurr)); /* z <- z - alpha * qi */ in KSPSolve_PIPEFCG_cycle() 158 PetscCall(VecNorm(Z, NORM_2, &dp)); /* dp <- sqrt(z'*z) = sqrt(e'*A'*B'*B*A*e) */ in KSPSolve_PIPEFCG_cycle() 207 PetscCall(VecCopy(Z, Pcurr)); in KSPSolve_PIPEFCG_cycle() [all …]
|
| /petsc/src/ts/impls/eimex/ |
| H A D | eimex.c | 13 Vec Z; /* For shift*(Y-Z) */ member 46 Vec Y = ext->Y, Z = ext->Z; in TSStage_EIMEX() local 61 PetscCall(VecCopy(Y, Z)); /* Save the solution of the previous substep */ in TSStage_EIMEX() 183 PetscCall(VecDestroy(&ext->Z)); in TSReset_EIMEX() 203 static PetscErrorCode TSEIMEXGetVecs(TS ts, DM dm, Vec *Z, Vec *Ydot, Vec *YdotI, Vec *YdotRHS) in TSEIMEXGetVecs() argument 208 if (Z) { in TSEIMEXGetVecs() 209 if (dm && dm != ts->dm) PetscCall(DMGetNamedGlobalVector(dm, "TSEIMEX_Z", Z)); in TSEIMEXGetVecs() 210 else *Z = ext->Z; in TSEIMEXGetVecs() 227 static PetscErrorCode TSEIMEXRestoreVecs(TS ts, DM dm, Vec *Z, Vec *Ydot, Vec *YdotI, Vec *YdotRHS) in TSEIMEXRestoreVecs() argument 230 if (Z) { in TSEIMEXRestoreVecs() [all …]
|
| /petsc/src/binding/petsc4py/demo/legacy/perftest/ |
| H A D | driver.py | 46 Z = U[:,:,nz//2] 48 pylab.contourf(X,Y,Z) 57 Z = U[:,ny//4,:] 59 pylab.contourf(X,Y,Z) 68 Z = U[nx//2,:,:] 70 pylab.contourf(X,Y,Z)
|