Home
last modified time | relevance | path

Searched refs:n_loc (Results 1 – 8 of 8) sorted by relevance

/petsc/src/dm/impls/stag/tests/
H A Dex50.c12 PetscInt n_loc[4]; in main() local
26 n_loc[0] = 1; in main()
28 n_loc[1] = 1; in main()
30 n_loc[2] = 0; in main()
31 n_loc[3] = 0; in main()
35 n_loc[0] = 1; in main()
37 n_loc[1] = 2; in main()
40 n_loc[2] = 1; in main()
42 n_loc[3] = 0; in main()
46 n_loc[0] = 1; in main()
[all …]
/petsc/src/vec/is/ao/tests/
H A Dex5.c23 const PetscInt n_loc = 8; in main() local
57 PetscCall(PetscMalloc1(n_loc, &ia)); in main()
58 PetscCall(PetscMalloc1(n_loc, &ia0)); in main()
78 PetscCall(PetscArraycpy(ia0, ia, n_loc)); in main()
80 PetscCall(AOApplicationToPetsc(app2petsc, n_loc, ia)); in main()
82 …for (i = 0; i < n_loc; ++i) PetscCall(PetscSynchronizedPrintf(PETSC_COMM_WORLD, "proc = %d : %" Pe… in main()
/petsc/src/mat/impls/sbaij/mpi/
H A Dmpisbaij.h16 PetscInt n_loc, *in_loc; /* nloc is length of in_loc and v_loc */ member
H A Dmpisbaij.c310 PetscInt n_loc, *in_loc = NULL; in MatSetValues_MPISBAIJ() local
315 if (n > baij->n_loc) { in MatSetValues_MPISBAIJ()
321 baij->n_loc = n; in MatSetValues_MPISBAIJ()
382 n_loc = 0; in MatSetValues_MPISBAIJ()
385 in_loc[n_loc] = in[j]; in MatSetValues_MPISBAIJ()
387 v_loc[n_loc] = v[i * n + j]; in MatSetValues_MPISBAIJ()
389 v_loc[n_loc] = v[j * m + i]; in MatSetValues_MPISBAIJ()
391 n_loc++; in MatSetValues_MPISBAIJ()
393 PetscCall(MatStashValuesRow_Private(&mat->stash, im[i], n_loc, in_loc, v_loc, PETSC_FALSE)); in MatSetValues_MPISBAIJ()
2132 b->n_loc = 0; in MatCreate_MPISBAIJ()
/petsc/src/vec/vec/interface/
H A Dvector.c2351 PetscInt n, n_loc = 0, na_loc = 0, nr_loc = 0; in VecErrorWeightedNorms_Basic() local
2387 n_loc++; in VecErrorWeightedNorms_Basic()
2400 err_loc[3] = (PetscReal)n_loc; in VecErrorWeightedNorms_Basic()
/petsc/src/vec/vec/impls/nest/
H A Dvecnest.c720 PetscInt n_loc, na_loc, nr_loc; in VecErrorWeightedNorms_Nest() local
722 … atol, ba ? ba->v[i] : NULL, rtol, br ? br->v[i] : NULL, ignore_max, &n, &n_loc, &na, &na_loc, &nr… in VecErrorWeightedNorms_Nest()
732 *norm_loc += n_loc; in VecErrorWeightedNorms_Nest()
/petsc/src/vec/vec/impls/seq/kokkos/
H A Dveckok.kokkos.cxx1083 PetscInt n, n_loc = 0, na_loc = 0, nr_loc = 0; in VecErrorWeightedNorms_SeqKokkos() local
1129 …tscReal>(nrm), Kokkos::Max<PetscReal>(nrma), Kokkos::Max<PetscReal>(nrmr), n_loc, na_loc, nr_loc)); in VecErrorWeightedNorms_SeqKokkos()
1156 nrm, nrma, nrmr, n_loc, na_loc, nr_loc)); in VecErrorWeightedNorms_SeqKokkos()
1168 *norm_loc = n_loc; in VecErrorWeightedNorms_SeqKokkos()
/petsc/src/vec/vec/impls/seq/cupm/
H A Dvecseqcupm_impl.hpp1807 PetscInt n_loc = 0, na_loc = 0, nr_loc = 0; in ExecuteWNorm() local
1819 thrust::make_tuple(n, na, nr, n_loc, na_loc, nr_loc), in ExecuteWNorm()
1831 thrust::make_tuple(n, na, nr, n_loc, na_loc, nr_loc), in ExecuteWNorm()