| /petsc/src/ksp/ksp/tests/ |
| H A D | ex57.c | 31 PetscCall(MatAssemblyBegin(subA[0], MAT_FINAL_ASSEMBLY)); in main() 32 PetscCall(MatAssemblyEnd(subA[0], MAT_FINAL_ASSEMBLY)); in main() 41 PetscCall(MatAssemblyBegin(subA[1], MAT_FINAL_ASSEMBLY)); in main() 42 PetscCall(MatAssemblyEnd(subA[1], MAT_FINAL_ASSEMBLY)); in main() 51 PetscCall(MatAssemblyBegin(subA[2], MAT_FINAL_ASSEMBLY)); in main() 52 PetscCall(MatAssemblyEnd(subA[2], MAT_FINAL_ASSEMBLY)); in main() 61 PetscCall(MatAssemblyBegin(subA[3], MAT_FINAL_ASSEMBLY)); in main() 62 PetscCall(MatAssemblyEnd(subA[3], MAT_FINAL_ASSEMBLY)); in main() 71 PetscCall(MatAssemblyBegin(subA[4], MAT_FINAL_ASSEMBLY)); in main() 72 PetscCall(MatAssemblyEnd(subA[4], MAT_FINAL_ASSEMBLY)); in main() [all …]
|
| H A D | ex22.c | 48 PetscCall(MatAssemblyBegin(A12, MAT_FINAL_ASSEMBLY)); in test_solve() 49 PetscCall(MatAssemblyEnd(A12, MAT_FINAL_ASSEMBLY)); in test_solve() 64 PetscCall(MatAssemblyBegin(A, MAT_FINAL_ASSEMBLY)); in test_solve() 65 PetscCall(MatAssemblyEnd(A, MAT_FINAL_ASSEMBLY)); in test_solve() 160 PetscCall(MatAssemblyBegin(A12, MAT_FINAL_ASSEMBLY)); in test_solve_matgetvecs() 161 PetscCall(MatAssemblyEnd(A12, MAT_FINAL_ASSEMBLY)); in test_solve_matgetvecs() 174 PetscCall(MatAssemblyBegin(A, MAT_FINAL_ASSEMBLY)); in test_solve_matgetvecs() 175 PetscCall(MatAssemblyEnd(A, MAT_FINAL_ASSEMBLY)); in test_solve_matgetvecs()
|
| /petsc/src/mat/tutorials/ |
| H A D | ex2.c | 39 PetscCall(MatAssemblyBegin(A, MAT_FINAL_ASSEMBLY)); in main() 40 PetscCall(MatAssemblyEnd(A, MAT_FINAL_ASSEMBLY)); in main() 66 PetscCall(MatAssemblyBegin(A11, MAT_FINAL_ASSEMBLY)); in main() 67 PetscCall(MatAssemblyEnd(A11, MAT_FINAL_ASSEMBLY)); in main() 74 PetscCall(MatAssemblyBegin(A12, MAT_FINAL_ASSEMBLY)); in main() 75 PetscCall(MatAssemblyEnd(A12, MAT_FINAL_ASSEMBLY)); in main() 82 PetscCall(MatAssemblyBegin(A21, MAT_FINAL_ASSEMBLY)); in main() 83 PetscCall(MatAssemblyEnd(A21, MAT_FINAL_ASSEMBLY)); in main() 90 PetscCall(MatAssemblyBegin(A22, MAT_FINAL_ASSEMBLY)); in main() 91 PetscCall(MatAssemblyEnd(A22, MAT_FINAL_ASSEMBLY)); in main() [all …]
|
| H A D | ex4.c | 32 PetscCall(MatAssemblyBegin(A, MAT_FINAL_ASSEMBLY)); in main() 33 PetscCall(MatAssemblyEnd(A, MAT_FINAL_ASSEMBLY)); in main() 44 PetscCall(MatAssemblyBegin(A, MAT_FINAL_ASSEMBLY)); in main() 45 PetscCall(MatAssemblyEnd(A, MAT_FINAL_ASSEMBLY)); in main()
|
| H A D | ex4f.F90 | 31 PetscCallA(MatAssemblyBegin(A, MAT_FINAL_ASSEMBLY, ierr)) 32 PetscCallA(MatAssemblyEnd(A, MAT_FINAL_ASSEMBLY, ierr)) 43 PetscCallA(MatAssemblyBegin(A, MAT_FINAL_ASSEMBLY, ierr)) 44 PetscCallA(MatAssemblyEnd(A, MAT_FINAL_ASSEMBLY, ierr))
|
| /petsc/src/ts/tutorials/power_grid/ |
| H A D | ex3.h | 91 PetscCall(MatAssemblyBegin(A, MAT_FINAL_ASSEMBLY)); in RHSJacobian() 92 PetscCall(MatAssemblyEnd(A, MAT_FINAL_ASSEMBLY)); in RHSJacobian() 94 PetscCall(MatAssemblyBegin(B, MAT_FINAL_ASSEMBLY)); in RHSJacobian() 95 PetscCall(MatAssemblyEnd(B, MAT_FINAL_ASSEMBLY)); in RHSJacobian() 145 PetscCall(MatAssemblyBegin(A, MAT_FINAL_ASSEMBLY)); in IJacobian() 146 PetscCall(MatAssemblyEnd(A, MAT_FINAL_ASSEMBLY)); in IJacobian() 148 PetscCall(MatAssemblyBegin(B, MAT_FINAL_ASSEMBLY)); in IJacobian() 149 PetscCall(MatAssemblyEnd(B, MAT_FINAL_ASSEMBLY)); in IJacobian() 166 PetscCall(MatAssemblyBegin(A, MAT_FINAL_ASSEMBLY)); in RHSJacobianP() 167 PetscCall(MatAssemblyEnd(A, MAT_FINAL_ASSEMBLY)); in RHSJacobianP() [all …]
|
| /petsc/src/mat/tests/ |
| H A D | ex52.c | 33 PetscCall(MatAssemblyBegin(A, MAT_FINAL_ASSEMBLY)); in main() 34 PetscCall(MatAssemblyEnd(A, MAT_FINAL_ASSEMBLY)); in main() 40 PetscCall(MatAssemblyBegin(A, MAT_FINAL_ASSEMBLY)); in main() 41 PetscCall(MatAssemblyEnd(A, MAT_FINAL_ASSEMBLY)); in main() 59 PetscCall(MatAssemblyBegin(A, MAT_FINAL_ASSEMBLY)); in main() 60 PetscCall(MatAssemblyEnd(A, MAT_FINAL_ASSEMBLY)); in main()
|
| H A D | ex266.c | 53 PetscCall(MatAssemblyBegin(A, MAT_FINAL_ASSEMBLY)); in main() 54 PetscCall(MatAssemblyEnd(A, MAT_FINAL_ASSEMBLY)); in main() 61 PetscCall(MatAssemblyBegin(B, MAT_FINAL_ASSEMBLY)); in main() 62 PetscCall(MatAssemblyEnd(B, MAT_FINAL_ASSEMBLY)); in main() 67 PetscCall(MatAssemblyBegin(C, MAT_FINAL_ASSEMBLY)); in main() 68 PetscCall(MatAssemblyEnd(C, MAT_FINAL_ASSEMBLY)); in main()
|
| H A D | ex179.c | 17 PetscCall(MatAssemblyBegin(A, MAT_FINAL_ASSEMBLY)); in main() 18 PetscCall(MatAssemblyEnd(A, MAT_FINAL_ASSEMBLY)); in main() 24 PetscCall(MatAssemblyBegin(A, MAT_FINAL_ASSEMBLY)); in main() 25 PetscCall(MatAssemblyEnd(A, MAT_FINAL_ASSEMBLY)); in main()
|
| H A D | ex230.c | 57 PetscCall(MatAssemblyBegin(preallocator, MAT_FINAL_ASSEMBLY)); in ex1_nonsquare_bs1() 58 PetscCall(MatAssemblyEnd(preallocator, MAT_FINAL_ASSEMBLY)); in ex1_nonsquare_bs1() 96 PetscCall(MatAssemblyBegin(A, MAT_FINAL_ASSEMBLY)); in ex1_nonsquare_bs1() 97 PetscCall(MatAssemblyEnd(A, MAT_FINAL_ASSEMBLY)); in ex1_nonsquare_bs1() 175 PetscCall(MatAssemblyBegin(preallocator, MAT_FINAL_ASSEMBLY)); in ex2_square_bsvariable() 176 PetscCall(MatAssemblyEnd(preallocator, MAT_FINAL_ASSEMBLY)); in ex2_square_bsvariable() 225 PetscCall(MatAssemblyBegin(A, MAT_FINAL_ASSEMBLY)); in ex2_square_bsvariable() 226 PetscCall(MatAssemblyEnd(A, MAT_FINAL_ASSEMBLY)); in ex2_square_bsvariable()
|
| H A D | ex145.c | 56 PetscCall(MatAssemblyBegin(A, MAT_FINAL_ASSEMBLY)); in main() 57 PetscCall(MatAssemblyEnd(A, MAT_FINAL_ASSEMBLY)); in main() 88 PetscCall(MatAssemblyBegin(B, MAT_FINAL_ASSEMBLY)); in main() 89 PetscCall(MatAssemblyEnd(B, MAT_FINAL_ASSEMBLY)); in main() 126 PetscCall(MatAssemblyBegin(X, MAT_FINAL_ASSEMBLY)); in main() 127 PetscCall(MatAssemblyEnd(X, MAT_FINAL_ASSEMBLY)); in main() 145 PetscCall(MatAssemblyBegin(Aher, MAT_FINAL_ASSEMBLY)); in main() 146 PetscCall(MatAssemblyEnd(Aher, MAT_FINAL_ASSEMBLY)); in main() 162 PetscCall(MatAssemblyBegin(G, MAT_FINAL_ASSEMBLY)); in main() 163 PetscCall(MatAssemblyEnd(G, MAT_FINAL_ASSEMBLY)); in main() [all …]
|
| H A D | ex172.c | 36 PetscCall(MatAssemblyBegin(A, MAT_FINAL_ASSEMBLY)); in main() 37 PetscCall(MatAssemblyEnd(A, MAT_FINAL_ASSEMBLY)); in main() 38 PetscCall(MatAssemblyBegin(B, MAT_FINAL_ASSEMBLY)); in main() 39 PetscCall(MatAssemblyEnd(B, MAT_FINAL_ASSEMBLY)); in main()
|
| H A D | ex36f.F90 | 46 PetscCall(MatAssemblyBegin(A, MAT_FINAL_ASSEMBLY, ierr)) 47 PetscCall(MatAssemblyEnd(A, MAT_FINAL_ASSEMBLY, ierr)) 76 PetscCall(MatAssemblyBegin(A, MAT_FINAL_ASSEMBLY, ierr)) 77 PetscCall(MatAssemblyEnd(A, MAT_FINAL_ASSEMBLY, ierr))
|
| H A D | ex301.c | 37 PetscCall(MatAssemblyBegin(A, MAT_FINAL_ASSEMBLY)); in main() 38 PetscCall(MatAssemblyEnd(A, MAT_FINAL_ASSEMBLY)); in main() 42 PetscCall(MatAssemblyBegin(A, MAT_FINAL_ASSEMBLY)); in main() 43 PetscCall(MatAssemblyEnd(A, MAT_FINAL_ASSEMBLY)); in main()
|
| H A D | ex225.c | 47 PetscCall(MatAssemblyBegin(A, MAT_FINAL_ASSEMBLY)); in main() 48 PetscCall(MatAssemblyEnd(A, MAT_FINAL_ASSEMBLY)); in main() 49 PetscCall(MatAssemblyBegin(B, MAT_FINAL_ASSEMBLY)); in main() 50 PetscCall(MatAssemblyEnd(B, MAT_FINAL_ASSEMBLY)); in main() 94 PetscCall(MatAssemblyBegin(A, MAT_FINAL_ASSEMBLY)); in main() 95 PetscCall(MatAssemblyEnd(A, MAT_FINAL_ASSEMBLY)); in main() 96 PetscCall(MatAssemblyBegin(B, MAT_FINAL_ASSEMBLY)); in main() 97 PetscCall(MatAssemblyEnd(B, MAT_FINAL_ASSEMBLY)); in main()
|
| H A D | ex186.c | 21 PetscCall(MatAssemblyBegin(P, MAT_FINAL_ASSEMBLY)); in main() 22 PetscCall(MatAssemblyEnd(P, MAT_FINAL_ASSEMBLY)); in main() 31 PetscCall(MatAssemblyBegin(A, MAT_FINAL_ASSEMBLY)); in main() 32 PetscCall(MatAssemblyEnd(A, MAT_FINAL_ASSEMBLY)); in main()
|
| H A D | ex241f.F90 | 43 PetscCallA(MatAssemblyBegin(L, MAT_FINAL_ASSEMBLY, ierr)) 44 PetscCallA(MatAssemblyEnd(L, MAT_FINAL_ASSEMBLY, ierr)) 64 PetscCallA(MatAssemblyBegin(L, MAT_FINAL_ASSEMBLY, ierr)) 65 PetscCallA(MatAssemblyEnd(L, MAT_FINAL_ASSEMBLY, ierr))
|
| H A D | ex93.c | 35 PetscCall(MatAssemblyBegin(A, MAT_FINAL_ASSEMBLY)); in main() 36 PetscCall(MatAssemblyEnd(A, MAT_FINAL_ASSEMBLY)); in main() 110 PetscCall(MatAssemblyBegin(A, MAT_FINAL_ASSEMBLY)); in testPTAPRectangular() 111 PetscCall(MatAssemblyEnd(A, MAT_FINAL_ASSEMBLY)); in testPTAPRectangular() 129 PetscCall(MatAssemblyBegin(P, MAT_FINAL_ASSEMBLY)); in testPTAPRectangular() 130 PetscCall(MatAssemblyEnd(P, MAT_FINAL_ASSEMBLY)); in testPTAPRectangular()
|
| /petsc/src/ts/tutorials/autodiff/adolc-utils/ |
| H A D | drivers.cxx | 51 PetscCall(MatAssemblyBegin(A, MAT_FINAL_ASSEMBLY)); in PetscAdolcComputeRHSJacobian() 52 PetscCall(MatAssemblyEnd(A, MAT_FINAL_ASSEMBLY)); in PetscAdolcComputeRHSJacobian() 89 PetscCall(MatAssemblyBegin(A, MAT_FINAL_ASSEMBLY)); in PetscAdolcComputeRHSJacobianLocal() 90 PetscCall(MatAssemblyEnd(A, MAT_FINAL_ASSEMBLY)); in PetscAdolcComputeRHSJacobianLocal() 130 PetscCall(MatAssemblyBegin(A, MAT_FINAL_ASSEMBLY)); in PetscAdolcComputeIJacobian() 131 PetscCall(MatAssemblyEnd(A, MAT_FINAL_ASSEMBLY)); in PetscAdolcComputeIJacobian() 148 PetscCall(MatAssemblyBegin(A, MAT_FINAL_ASSEMBLY)); in PetscAdolcComputeIJacobian() 149 PetscCall(MatAssemblyEnd(A, MAT_FINAL_ASSEMBLY)); in PetscAdolcComputeIJacobian() 190 PetscCall(MatAssemblyBegin(A, MAT_FINAL_ASSEMBLY)); in PetscAdolcComputeIJacobianIDMass() 191 PetscCall(MatAssemblyEnd(A, MAT_FINAL_ASSEMBLY)); in PetscAdolcComputeIJacobianIDMass() [all …]
|
| /petsc/src/ksp/ksp/tutorials/ |
| H A D | ex81a.c | 34 PetscCall(MatAssemblyBegin(array[(Q + 1) * i], MAT_FINAL_ASSEMBLY)); in main() 35 PetscCall(MatAssemblyEnd(array[(Q + 1) * i], MAT_FINAL_ASSEMBLY)); in main() 53 PetscCall(MatAssemblyBegin(array[i], MAT_FINAL_ASSEMBLY)); in main() 54 PetscCall(MatAssemblyEnd(array[i], MAT_FINAL_ASSEMBLY)); in main() 71 PetscCall(MatAssemblyBegin(array[Q * i], MAT_FINAL_ASSEMBLY)); in main() 72 PetscCall(MatAssemblyEnd(array[Q * i], MAT_FINAL_ASSEMBLY)); in main() 85 PetscCall(MatAssemblyBegin(array[Q * 3 + i], MAT_FINAL_ASSEMBLY)); in main() 86 PetscCall(MatAssemblyEnd(array[Q * 3 + i], MAT_FINAL_ASSEMBLY)); in main() 92 PetscCall(MatAssemblyBegin(a, MAT_FINAL_ASSEMBLY)); in main() 93 PetscCall(MatAssemblyEnd(a, MAT_FINAL_ASSEMBLY)); in main()
|
| H A D | ex4.c | 88 PetscCall(MatAssemblyBegin(A, MAT_FINAL_ASSEMBLY)); in main() 89 PetscCall(MatAssemblyEnd(A, MAT_FINAL_ASSEMBLY)); in main() 127 PetscCall(MatAssemblyBegin(A, MAT_FINAL_ASSEMBLY)); in main() 128 PetscCall(MatAssemblyEnd(A, MAT_FINAL_ASSEMBLY)); in main() 130 PetscCall(MatAssemblyBegin(A, MAT_FINAL_ASSEMBLY)); in main() 131 PetscCall(MatAssemblyEnd(A, MAT_FINAL_ASSEMBLY)); in main() 142 PetscCall(MatAssemblyBegin(A, MAT_FINAL_ASSEMBLY)); in main() 143 PetscCall(MatAssemblyEnd(A, MAT_FINAL_ASSEMBLY)); in main()
|
| /petsc/src/snes/tutorials/ |
| H A D | ex1.c | 232 PetscCall(MatAssemblyBegin(B, MAT_FINAL_ASSEMBLY)); in FormJacobian1() 233 PetscCall(MatAssemblyEnd(B, MAT_FINAL_ASSEMBLY)); in FormJacobian1() 235 PetscCall(MatAssemblyBegin(jac, MAT_FINAL_ASSEMBLY)); in FormJacobian1() 236 PetscCall(MatAssemblyEnd(jac, MAT_FINAL_ASSEMBLY)); in FormJacobian1() 303 PetscCall(MatAssemblyBegin(B, MAT_FINAL_ASSEMBLY)); in FormJacobian2() 304 PetscCall(MatAssemblyEnd(B, MAT_FINAL_ASSEMBLY)); in FormJacobian2() 306 PetscCall(MatAssemblyBegin(jac, MAT_FINAL_ASSEMBLY)); in FormJacobian2() 307 PetscCall(MatAssemblyEnd(jac, MAT_FINAL_ASSEMBLY)); in FormJacobian2()
|
| /petsc/src/mat/impls/aij/mpi/ |
| H A D | mpimattransposematmult.c | 44 PetscCall(MatAssemblyBegin(atb->mA, MAT_FINAL_ASSEMBLY)); in MatTransposeMatMultSymbolic_MPIAIJ_MPIDense() 45 PetscCall(MatAssemblyEnd(atb->mA, MAT_FINAL_ASSEMBLY)); in MatTransposeMatMultSymbolic_MPIAIJ_MPIDense() 69 PetscCall(MatAssemblyBegin(C, MAT_FINAL_ASSEMBLY)); in MatTransposeMatMultNumeric_MPIAIJ_MPIDense() 70 PetscCall(MatAssemblyEnd(C, MAT_FINAL_ASSEMBLY)); in MatTransposeMatMultNumeric_MPIAIJ_MPIDense() 97 PetscCall(MatAssemblyBegin(C, MAT_FINAL_ASSEMBLY)); in MatTransposeMatMultNumeric_MPIAIJ_MPIDense() 98 PetscCall(MatAssemblyEnd(C, MAT_FINAL_ASSEMBLY)); in MatTransposeMatMultNumeric_MPIAIJ_MPIDense()
|
| /petsc/src/ts/tutorials/ |
| H A D | ex31.c | 94 PetscCall(MatAssemblyBegin(A, MAT_FINAL_ASSEMBLY)); in RHSJacobian_Hull1972A1() 95 PetscCall(MatAssemblyEnd(A, MAT_FINAL_ASSEMBLY)); in RHSJacobian_Hull1972A1() 125 PetscCall(MatAssemblyBegin(A, MAT_FINAL_ASSEMBLY)); in IJacobian_Hull1972A1() 126 PetscCall(MatAssemblyEnd(A, MAT_FINAL_ASSEMBLY)); in IJacobian_Hull1972A1() 157 PetscCall(MatAssemblyBegin(A, MAT_FINAL_ASSEMBLY)); in RHSJacobian_Hull1972A2() 158 PetscCall(MatAssemblyEnd(A, MAT_FINAL_ASSEMBLY)); in RHSJacobian_Hull1972A2() 189 PetscCall(MatAssemblyBegin(A, MAT_FINAL_ASSEMBLY)); in IJacobian_Hull1972A2() 190 PetscCall(MatAssemblyEnd(A, MAT_FINAL_ASSEMBLY)); in IJacobian_Hull1972A2() 220 PetscCall(MatAssemblyBegin(A, MAT_FINAL_ASSEMBLY)); in RHSJacobian_Hull1972A3() 221 PetscCall(MatAssemblyEnd(A, MAT_FINAL_ASSEMBLY)); in RHSJacobian_Hull1972A3() [all …]
|
| /petsc/src/ts/tutorials/network/ |
| H A D | pipeInterface.c | 134 PetscCall(MatAssemblyBegin(Jpipe[1], MAT_FINAL_ASSEMBLY)); in PipeCreateJacobian() 135 PetscCall(MatAssemblyEnd(Jpipe[1], MAT_FINAL_ASSEMBLY)); in PipeCreateJacobian() 150 PetscCall(MatAssemblyBegin(Jpipe[2], MAT_FINAL_ASSEMBLY)); in PipeCreateJacobian() 151 PetscCall(MatAssemblyEnd(Jpipe[2], MAT_FINAL_ASSEMBLY)); in PipeCreateJacobian() 242 PetscCall(MatAssemblyBegin(Jv[2 * e + 1], MAT_FINAL_ASSEMBLY)); in JunctionCreateJacobian() 243 PetscCall(MatAssemblyEnd(Jv[2 * e + 1], MAT_FINAL_ASSEMBLY)); in JunctionCreateJacobian() 252 PetscCall(MatAssemblyBegin(Jv[2 * e + 2], MAT_FINAL_ASSEMBLY)); in JunctionCreateJacobian() 253 PetscCall(MatAssemblyEnd(Jv[2 * e + 2], MAT_FINAL_ASSEMBLY)); in JunctionCreateJacobian()
|