Actual source code: ex18.c

petsc-3.13.6 2020-09-29
Report Typos and Errors

  2: static char help[] = "Tests PetscContainerCreate() and PetscContainerDestroy().\n\n";

  4:  #include <petscsys.h>

  6: int main(int argc,char **argv)
  7: {
  9:   PetscContainer container;

 11:   PetscInitialize(&argc,&argv,(char*)0,help);if (ierr) return ierr;
 12:   PetscContainerCreate(PETSC_COMM_SELF,&container);
 13:   PetscContainerDestroy(&container);
 14:   PetscFinalize();
 15:   return ierr;
 16: }


 19: /*TEST

 21:    test:

 23: TEST*/