xref: /petsc/src/dm/impls/forest/p4est/tests/ex1.c (revision ffeef943c8ee50edff320d8a3135bb0c94853e4c)
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   PetscFunctionBeginUser;
8   PetscCall(PetscInitialize(&argc, &argv, NULL, help));
9   PetscCall(PetscP4estInitialize());
10   PetscCallP4est(sc_abort_verbose, (__FILE__, __LINE__, "Abort in main()\n"));
11   PetscCall(PetscFinalize());
12   return 0;
13 }
14