Home
last modified time | relevance | path

Searched refs:in1 (Results 1 – 6 of 6) sorted by relevance

/petsc/src/mat/tests/
H A Dex147.c12 double *in1, *in2; in main() local
47 in1 = (double *)fftw_malloc(sizeof(double) * alloc_local * 2); in main()
60 PetscCall(VecCreateMPIWithArray(PETSC_COMM_WORLD, 1, n, N, (PetscScalar *)in1, &fin)); in main()
98 fftw_free(in1); in main()
H A Dex146.c12 double *in1, *in2; in main() local
46 in1 = (double *)fftw_malloc(sizeof(double) * alloc_local * 2); in main()
59 PetscCall(VecCreateMPIWithArray(PETSC_COMM_WORLD, 1, n, N, (PetscScalar *)in1, &fin)); in main()
162 fftw_free(in1); in main()
H A Dex144.c13 double *in1, *in2; in main() local
46 in1 = (double *)fftw_malloc(sizeof(double) * alloc_local * 2); in main()
58 PetscCall(VecCreateMPIWithArray(PETSC_COMM_WORLD, 1, n, N, (PetscScalar *)in1, &fin)); in main()
172 fftw_free(in1); in main()
/petsc/src/mat/impls/aij/mpi/
H A Dmpimatmatmult.c966 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()
973 out[l++] = in1[i++]; in Merge3SortedArrays()
974 } else if (in2[j] < in1[i] && in2[j] < in3[k]) { 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()
979 out[l++] = in1[i]; in Merge3SortedArrays()
981 } else if (in1[i] == in3[k] && in1[i] < in2[j]) { in Merge3SortedArrays()
982 out[l++] = in1[i]; in Merge3SortedArrays()
984 } else if (in3[k] == in2[j] && in2[j] < in1[i]) { in Merge3SortedArrays()
[all …]
/petsc/src/ksp/pc/impls/tfs/
H A Dgs.c1133 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()
1157 …PetscCallMPI(MPIU_Irecv(in1, *size * step, MPIU_SCALAR, MPI_ANY_SOURCE, MSGTAG1 + *list, gs->PCTFS… in PCTFS_gs_gop_vec_pairwise_plus()
1160 in1 += *size++ * 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()
1346 …PetscCallMPI(MPIU_Irecv(in1, *size, MPIU_SCALAR, MPI_ANY_SOURCE, MSGTAG1 + *list, gs->PCTFS_gs_com… in PCTFS_gs_gop_pairwise_plus_hc()
1349 in1 += *size++; in PCTFS_gs_gop_pairwise_plus_hc()
/petsc/src/dm/dt/tests/
H A Dex12.c25 …WeakForm wf, PetscFormKey key, PetscInt in0, PetscPointFn *if0[], PetscInt in1, PetscPointFn *if1[… in CheckResidual() argument
34 …PetscCheck(n1 == in1, PETSC_COMM_SELF, PETSC_ERR_ARG_SIZ, "Found %" PetscInt_FMT " f1 functions !=… in CheckResidual()