Searched refs:ncoo_i (Results 1 – 4 of 4) sorted by relevance
| /petsc/src/mat/utils/ |
| H A D | gcreate.c | 641 PetscInt ncoo_i; in MatSetPreallocationCOO_Basic() local 645 PetscCall(PetscIntCast(ncoo, &ncoo_i)); in MatSetPreallocationCOO_Basic() 658 PetscCall(ISCreateGeneral(PETSC_COMM_SELF, ncoo_i, coo_i, PETSC_COPY_VALUES, &is_coo_i)); in MatSetPreallocationCOO_Basic() 659 PetscCall(ISCreateGeneral(PETSC_COMM_SELF, ncoo_i, coo_j, PETSC_COPY_VALUES, &is_coo_j)); in MatSetPreallocationCOO_Basic() 768 PetscInt ncoo_i; in MatSetPreallocationCOOLocal() local 773 PetscCall(PetscIntCast(ncoo, &ncoo_i)); in MatSetPreallocationCOOLocal() 774 PetscCall(ISLocalToGlobalMappingApply(ltog_row, ncoo_i, coo_i, coo_i)); in MatSetPreallocationCOOLocal() 777 PetscCall(PetscIntCast(ncoo, &ncoo_i)); in MatSetPreallocationCOOLocal() 778 PetscCall(ISLocalToGlobalMappingApply(ltog_col, ncoo_i, coo_j, coo_j)); in MatSetPreallocationCOOLocal()
|
| /petsc/src/vec/vec/interface/ |
| H A D | vector.c | 199 PetscInt ncoo_i; in VecSetPreallocationCOO() local 202 PetscCall(PetscIntCast(ncoo, &ncoo_i)); in VecSetPreallocationCOO() 203 PetscCall(ISCreateGeneral(PETSC_COMM_SELF, ncoo_i, coo_i, PETSC_COPY_VALUES, &is_coo_i)); in VecSetPreallocationCOO() 241 PetscInt ncoo_i; in VecSetPreallocationCOOLocal() local 248 PetscCall(PetscIntCast(ncoo, &ncoo_i)); in VecSetPreallocationCOOLocal() 251 if (ltog) PetscCall(ISLocalToGlobalMappingApply(ltog, ncoo_i, coo_i, coo_i)); in VecSetPreallocationCOOLocal()
|
| /petsc/src/binding/petsc4py/src/petsc4py/PETSc/ |
| H A D | Mat.pyx | 920 cdef PetscInt ncoo_i = 0, ncoo_j = 0 924 coo_i = iarray_i(coo_i, &ncoo_i, &ccoo_i) 927 if ncoo_i != ncoo_j: 930 ncoo = <PetscCount> ncoo_i 952 cdef PetscInt ncoo_i = 0, ncoo_j = 0 956 coo_i = iarray_i(coo_i, &ncoo_i, &ccoo_i) 959 if ncoo_i != ncoo_j: 962 ncoo = <PetscCount> ncoo_i
|
| /petsc/src/mat/impls/is/ |
| H A D | matis.c | 3433 PetscInt ncoo_i; in MatSetPreallocationCOO_IS() local 3437 PetscCall(PetscIntCast(ncoo, &ncoo_i)); in MatSetPreallocationCOO_IS() 3438 PetscCall(ISGlobalToLocalMappingApply(a->rmapping, IS_GTOLM_MASK, ncoo_i, coo_i, NULL, coo_i)); in MatSetPreallocationCOO_IS() 3439 PetscCall(ISGlobalToLocalMappingApply(a->cmapping, IS_GTOLM_MASK, ncoo_i, coo_j, NULL, coo_j)); in MatSetPreallocationCOO_IS()
|