petsc-3.14.6 2021-03-30
Report Typos and Errors

PetscGlobalMinMaxInt

Get the global min/max from local min/max input

Synopsis

#include "petscsys.h"  
PetscErrorCode PetscGlobalMinMaxInt(MPI_Comm comm, PetscInt minMaxVal[2], PetscInt minMaxValGlobal[2])
Collective

Input Parameter

minMaxVal - An array with the local min and max

Output Parameter

minMaxValGlobal - An array with the global min and max

See Also

PetscSplitOwnership()

Level

beginner

Location

src/sys/utils/mpiu.c
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages