xref: /petsc/src/dm/impls/forest/p4est/tests/ex1.c (revision 503c0ea9b45bcfbcebbb1ea5341243bbc69f0bea)
1 #include "../src/dm/impls/forest/p4est/petsc_p4est_package.h"
2 
3 static char help[] = "Test interaction with p4est/libsc error and logging routines\n";
4 
5 int main(int argc, char **argv)
6 {
7 
8   PetscCall(PetscInitialize(&argc,&argv,NULL,help));
9   PetscCall(PetscP4estInitialize());
10   PetscStackCallP4est(sc_abort_verbose,(__FILE__,__LINE__,"Abort in main()\n"));
11   PetscCall(PetscFinalize());
12   return 0;
13 }
14