Date: 2021-03-03T22:28:19+00:00

Actual source code: petscvalgrind.h
petsc-3.14.5 2021-03-03
Report Typos and Errors

      1: /*
      2:   This is the include file for source code that needs to know if the code is being run under valgrind
      3: */
      4: #if !defined(PETSCVALGRIND_H)
      5: #define PETSCVALGRIND_H

      7: #if defined(PETSC_HAVE_VALGRIND)
      8: #  include <valgrind/valgrind.h>
      9: #  define PETSC_RUNNING_ON_VALGRIND RUNNING_ON_VALGRIND
     10: #else
     11: #  define PETSC_RUNNING_ON_VALGRIND PETSC_FALSE
     12: #endif

     14: #endif