Home
last modified time | relevance | path

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

/petsc/src/ksp/pc/impls/is/
H A Dpcis.c156 PetscInt *idx_I_local, *idx_B_local, *idx_I_global, *idx_B_global, *count; in PCISSetUp() local
168 PetscCall(PetscMalloc1(pcis->n, &idx_I_local)); in PCISSetUp()
172 idx_I_local[n_I] = i; in PCISSetUp()
182 …idx_B_global = PetscSafePointerPlusOffset(idx_I_local, n_I); /* Just avoiding allocating extra mem… in PCISSetUp()
185 PetscCall(ISLocalToGlobalMappingApply(pcis->mapping, n_I, idx_I_local, idx_I_global)); in PCISSetUp()
190 …PetscCall(ISCreateGeneral(PETSC_COMM_SELF, n_I, idx_I_local, PETSC_COPY_VALUES, &pcis->is_I_local)… in PCISSetUp()
195 PetscCall(PetscFree(idx_I_local)); in PCISSetUp()