petsc-3.3-p7 2013-05-11

PetscGlobalMin

Computes the minimum value over several processors. Only for use with ADIC!

Synopsis

PetscErrorCode  PetscGlobalMin(MPI_Comm comm,const PetscReal* local,PetscReal* result)
Collective on MPI_Comm

Input Parameters

local - the local value
comm - the processors that find the minimum

Output Parameter

result -the minimum value

Notes

These functions are to be used ONLY inside user functions that are to be processed with ADIC. PETSc will automatically provide differentiated versions of these functions

See Also

PetscGlobalMax(), PetscGlobalSum()

Level:intermediate
Location:
src/sys/adic/petscglobal.c
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages