Searched refs:values_local (Results 1 – 1 of 1) sorted by relevance
1280 PetscInt *values_local = NULL; in DMLabelCreateGlobalValueArray() local1294 PetscCall(PetscMalloc1(num_values_local, &values_local)); in DMLabelCreateGlobalValueArray()1295 PetscCall(PetscArraycpy(values_local, is_values_local, num_values_local)); in DMLabelCreateGlobalValueArray()1301 PetscCall(PetscSortInt(num_values_local, values_local)); in DMLabelCreateGlobalValueArray()1302 minmax_values_loc[0] = values_local[0]; in DMLabelCreateGlobalValueArray()1303 minmax_values_loc[1] = values_local[num_values_local - 1]; in DMLabelCreateGlobalValueArray()1315 PetscCall(PetscFindInt(value, num_values_local, values_local, &location_local)); in DMLabelCreateGlobalValueArray()1329 if (values_local) PetscCall(PetscFree(values_local)); in DMLabelCreateGlobalValueArray()