Searched refs:tempindx (Results 1 – 3 of 3) sorted by relevance
| /petsc/src/mat/tests/ |
| H A D | ex146.c | 24 PetscInt low, tempindx, tempindx1; in main() local 109 tempindx = i * N1 * N2 + j * N2 + k; in main() 112 indx3[tempindx] = local_0_start * N1 * N2 + tempindx; in main() 113 indx4[tempindx] = low + tempindx1; in main()
|
| H A D | ex144.c | 26 PetscInt *indx3, tempindx, low, *indx4, tempindx1; in main() local 119 tempindx = i * N1 + j; in main() 122 indx3[tempindx] = local_0_start * N1 + tempindx; in main() 123 indx4[tempindx] = low + tempindx1; in main()
|
| /petsc/src/mat/impls/fft/fftw/ |
| H A D | fftw.c | 784 PetscInt *indx1, *indx2, tempindx, tempindx1; in VecScatterPetscToFFTW_FFTW() local 839 tempindx = i * dim[1] + j; in VecScatterPetscToFFTW_FFTW() 842 PetscCall(PetscIntCast(local_0_start * dim[1] + tempindx, &indx1[tempindx])); in VecScatterPetscToFFTW_FFTW() 843 indx2[tempindx] = low + tempindx1; in VecScatterPetscToFFTW_FFTW() 891 tempindx = i * dim[1] * dim[2] + j * dim[2] + k; in VecScatterPetscToFFTW_FFTW() 894 PetscCall(PetscIntCast(local_0_start * dim[1] * dim[2] + tempindx, &indx1[tempindx])); in VecScatterPetscToFFTW_FFTW() 895 PetscCall(PetscIntCast(low + tempindx1, &indx2[tempindx])); in VecScatterPetscToFFTW_FFTW() 1031 PetscInt *indx1, *indx2, tempindx, tempindx1; in VecScatterFFTWToPetsc_FFTW() local 1084 tempindx = i * dim[1] + j; in VecScatterFFTWToPetsc_FFTW() 1087 PetscCall(PetscIntCast(local_0_start * dim[1] + tempindx, &indx1[tempindx])); in VecScatterFFTWToPetsc_FFTW() [all …]
|