Actual source code: ex1.c

petsc-3.7.3 2016-08-01
Report Typos and Errors
  1: #include "../src/dm/impls/forest/p4est/petsc_p4est_package.h"
  2: #include <p4est_base.h>

  4: static char help[] = "Test interaction with p4est/libsc error and logging routines\n";

  6: int main(int argc, char **argv) {

  9:   PetscInitialize(&argc,&argv,NULL,help);
 10:   PetscP4estInitialize();
 11:   PetscStackCallP4est(sc_abort_verbose,(__FILE__,__LINE__,"Abort in main()\n"));
 12:   PetscFinalize();
 13:   return 0;
 14: }