Actual source code: ex1.c

petsc-3.12.5 2020-03-29
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)
  7: {

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