Searched refs:lix (Results 1 – 1 of 1) sorted by relevance
| /petsc/src/vec/vec/interface/ |
| H A D | rvector.c | 1077 PetscInt lixp[128], *lix = lixp; in VecSetValuesLocal() local 1089 if (ni > 128) PetscCall(PetscMalloc1(ni, &lix)); in VecSetValuesLocal() 1090 PetscCall(ISLocalToGlobalMappingApply(x->map->mapping, ni, (PetscInt *)ix, lix)); in VecSetValuesLocal() 1091 PetscUseTypeMethod(x, setvalues, ni, lix, y, iora); in VecSetValuesLocal() 1092 if (ni > 128) PetscCall(PetscFree(lix)); in VecSetValuesLocal() 1138 PetscInt lixp[128], *lix = lixp; in VecSetValuesBlockedLocal() local 1149 if (ni > (PetscInt)PETSC_STATIC_ARRAY_LENGTH(lixp)) PetscCall(PetscMalloc1(ni, &lix)); in VecSetValuesBlockedLocal() 1150 PetscCall(ISLocalToGlobalMappingApplyBlock(x->map->mapping, ni, (PetscInt *)ix, lix)); in VecSetValuesBlockedLocal() 1151 PetscUseTypeMethod(x, setvaluesblocked, ni, lix, y, iora); in VecSetValuesBlockedLocal() 1152 if (ni > (PetscInt)PETSC_STATIC_ARRAY_LENGTH(lixp)) PetscCall(PetscFree(lix)); in VecSetValuesBlockedLocal()
|