Searched refs:num_values_local (Results 1 – 1 of 1) sorted by relevance
| /honee/src/ |
| H A D | dm-utils.c | 1279 PetscInt num_values_local, minmax_values[2], minmax_values_loc[2]; in DMLabelCreateGlobalValueArray() local 1291 PetscCall(ISGetLocalSize(is_values, &num_values_local)); in DMLabelCreateGlobalValueArray() 1294 PetscCall(PetscMalloc1(num_values_local, &values_local)); in DMLabelCreateGlobalValueArray() 1295 PetscCall(PetscArraycpy(values_local, is_values_local, num_values_local)); in DMLabelCreateGlobalValueArray() 1300 if (num_values_local) { in DMLabelCreateGlobalValueArray() 1301 PetscCall(PetscSortInt(num_values_local, values_local)); 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()
|