PetscBarrier

Blocks until this routine is executed by all processors owning the object A.

Synopsis

int PetscBarrier(PetscObject A)

Input Parameters

A -PETSc object ( Mat, Vec, IS, SNES etc...) Must be caste with a (PetscObject)

Notes

This routine calls MPI_Barrier with the communicator of the PETSc Object "A".

Keywords

barrier, petscobject

Examples

src/mat/examples/tutorials/ex1.c
src/sles/examples/tutorials/ex10.c

Level:intermediate
Location:src/sys/src/utils/pbarrier.c
System Index
Table of Contents