Searched refs:inis (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/vec/is/is/impls/block/ |
| H A D | block.c | 358 static PetscErrorCode ISToGeneral_Block(IS inis) in ISToGeneral_Block() argument 360 IS_Block *sub = (IS_Block *)inis->data; in ISToGeneral_Block() 365 PetscCall(ISGetBlockSize(inis, &bs)); in ISToGeneral_Block() 366 PetscCall(ISGetLocalSize(inis, &n)); in ISToGeneral_Block() 367 PetscCall(ISGetIndices(inis, &idx)); in ISToGeneral_Block() 371 PetscCall(ISSetType(inis, ISGENERAL)); in ISToGeneral_Block() 372 PetscCall(ISGeneralSetIndices(inis, n, idx, mode)); in ISToGeneral_Block() 374 PetscCall(ISSetType(inis, ISGENERAL)); in ISToGeneral_Block() 375 PetscCall(ISGeneralSetIndices(inis, n, idx, PETSC_OWN_POINTER)); in ISToGeneral_Block()
|
| /petsc/src/vec/is/is/impls/stride/ |
| H A D | stride.c | 114 static PetscErrorCode ISToGeneral_Stride(IS inis) in ISToGeneral_Stride() argument 120 PetscCall(ISGetLocalSize(inis, &n)); in ISToGeneral_Stride() 121 PetscCall(ISGetIndices(inis, &idx)); in ISToGeneral_Stride() 122 PetscCall(ISSetType(inis, ISGENERAL)); in ISToGeneral_Stride() 123 PetscCall(ISGeneralSetIndices(inis, n, idx, PETSC_OWN_POINTER)); in ISToGeneral_Stride()
|