Actual source code: ex9.c

petsc-3.6.1 2015-08-06
Report Typos and Errors
  2: static char help[] = "Tests PetscSequentialPhaseBegin() and PetscSequentialPhaseEnd()\n";

  4: #include <petscsys.h>

  8: int main(int argc,char **args)
  9: {

 12:   PetscInitialize(&argc,&args,NULL,help);
 13:   PetscSequentialPhaseBegin(PETSC_COMM_WORLD,1);
 14:   PetscSequentialPhaseEnd(PETSC_COMM_WORLD,1);
 15:   PetscFinalize();
 16:   return 0;
 17: }