Searched refs:idxv (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/vec/vec/utils/ |
| H A D | vinv.c | 942 PetscErrorCode VecStrideSubSetGather(Vec v, PetscInt nidx, const PetscInt idxv[], const PetscInt id… in VecStrideSubSetGather() argument 948 PetscUseTypeMethod(v, stridesubsetgather, nidx, idxv, idxs, s, addv); in VecStrideSubSetGather() 980 …SubSetScatter(Vec s, PetscInt nidx, const PetscInt idxs[], const PetscInt idxv[], Vec v, InsertMod… in VecStrideSubSetScatter() argument 986 PetscCall((*v->ops->stridesubsetscatter)(s, nidx, idxs, idxv, v, addv)); in VecStrideSubSetScatter() 1054 PetscErrorCode VecStrideSubSetGather_Default(Vec v, PetscInt nidx, const PetscInt idxv[], const Pet… in VecStrideSubSetGather_Default() argument 1073 …PetscCheck(idxv[j] >= 0, PETSC_COMM_SELF, PETSC_ERR_ARG_OUTOFRANGE, "idx[%" PetscInt_FMT "] %" Pet… in VecStrideSubSetGather_Default() 1074 …idxv[j] < bs, PETSC_COMM_SELF, PETSC_ERR_ARG_OUTOFRANGE, "idx[%" PetscInt_FMT "] %" PetscInt_FMT "… in VecStrideSubSetGather_Default() 1082 for (j = 0; j < bss; j++) y[bss * i + j] = x[bs * i + idxv[j]]; in VecStrideSubSetGather_Default() 1086 for (j = 0; j < bss; j++) y[bss * i + idxs[j]] = x[bs * i + idxv[j]]; in VecStrideSubSetGather_Default() 1092 for (j = 0; j < bss; j++) y[bss * i + j] += x[bs * i + idxv[j]]; in VecStrideSubSetGather_Default() [all …]
|