Home
last modified time | relevance | path

Searched refs:global_min_max (Results 1 – 2 of 2) sorted by relevance

/honee/src/smartsim/ !
H A Dsgs_dd_training.c222 PetscInt num_dofs, num_comps, local_min_max[2] = {0.}, global_min_max[2] = {0.}; in SGS_DD_TrainingSetup() local
228 PetscCall(PetscGlobalMinMaxInt(honee->comm, local_min_max, global_min_max)); in SGS_DD_TrainingSetup()
230 sgs_dd_train->training_data_array_dims[0] = global_min_max[0] / num_comps; in SGS_DD_TrainingSetup()
/honee/src/ !
H A Dmat-ceed.c439 PetscInt local_min_max[2] = {0}, global_min_max[2] = {0, PETSC_INT_MAX}; in MatCreateCeed() local
442 …PetscCall(PetscGlobalMinMaxInt(PetscObjectComm((PetscObject)dm_x), local_min_max, global_min_max)); in MatCreateCeed()
443 max_vblock_size = global_min_max[1]; in MatCreateCeed()