Actual source code: ex9.c

petsc-3.7.3 2016-08-01
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: }