Searched refs:in2 (Results 1 – 5 of 5) sorted by relevance
| /petsc/src/mat/tests/ |
| H A D | ex147.c | 12 double *in1, *in2; in main() local 48 in2 = (double *)fftw_malloc(sizeof(double) * alloc_local * 2); in main() 62 PetscCall(VecCreateMPIWithArray(PETSC_COMM_WORLD, 1, n, N, (PetscScalar *)in2, &fout1)); in main() 102 fftw_free(in2); in main()
|
| H A D | ex146.c | 12 double *in1, *in2; in main() local 47 in2 = (double *)fftw_malloc(sizeof(double) * alloc_local * 2); in main() 61 PetscCall(VecCreateMPIWithArray(PETSC_COMM_WORLD, 1, n, N, (PetscScalar *)in2, &fout1)); in main() 166 fftw_free(in2); in main()
|
| H A D | ex144.c | 13 double *in1, *in2; in main() local 47 in2 = (double *)fftw_malloc(sizeof(double) * alloc_local * 2); in main() 60 PetscCall(VecCreateMPIWithArray(PETSC_COMM_WORLD, 1, n, N, (PetscScalar *)in2, &fout1)); in main() 176 fftw_free(in2); in main()
|
| /petsc/src/mat/impls/aij/mpi/ |
| H A D | mpimatmatmult.c | 966 static void Merge3SortedArrays(PetscInt size1, PetscInt *in1, PetscInt size2, PetscInt *in2, PetscI… in Merge3SortedArrays() argument 972 if (in1[i] < in2[j] && in1[i] < in3[k]) { in Merge3SortedArrays() 974 } else if (in2[j] < in1[i] && in2[j] < in3[k]) { in Merge3SortedArrays() 975 out[l++] = in2[j++]; in Merge3SortedArrays() 976 } else if (in3[k] < in1[i] && in3[k] < in2[j]) { in Merge3SortedArrays() 978 } else if (in1[i] == in2[j] && in1[i] < in3[k]) { in Merge3SortedArrays() 981 } else if (in1[i] == in3[k] && in1[i] < in2[j]) { in Merge3SortedArrays() 984 } else if (in3[k] == in2[j] && in2[j] < in1[i]) { in Merge3SortedArrays() 985 out[l++] = in2[j]; in Merge3SortedArrays() 987 } else if (in1[i] == in2[j] && in1[i] == in3[k]) { in Merge3SortedArrays() [all …]
|
| /petsc/src/ksp/pc/impls/tfs/ |
| H A D | gs.c | 1133 PetscScalar *dptr1, *dptr2, *dptr3, *in1, *in2; in PCTFS_gs_gop_vec_pairwise_plus() local 1150 in1 = in2 = gs->in; in PCTFS_gs_gop_vec_pairwise_plus() 1199 PetscCallBLAS("BLASaxpy", BLASaxpy_(&dstep, &d1, in2, &i1, dptr1 + *iptr * step, &i1)); in PCTFS_gs_gop_vec_pairwise_plus() 1200 in2 += step; in PCTFS_gs_gop_vec_pairwise_plus() 1316 PetscScalar *dptr1, *dptr2, *dptr3, *in1, *in2; in PCTFS_gs_gop_pairwise_plus_hc() local 1338 in1 = in2 = gs->in; in PCTFS_gs_gop_pairwise_plus_hc() 1390 while (*iptr >= 0) *(dptr1 + *iptr++) += *in2++; in PCTFS_gs_gop_pairwise_plus_hc()
|