Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ensure PETSc headers are included after bout/petsclib.hxx #3024

Merged
merged 1 commit into from
Nov 8, 2024

Commits on Nov 8, 2024

  1. Ensure PETSc headers are included after bout/petsclib.hxx

    From that header:
    
    > PETSc "helpfully" defines macros for MPI functions that clobber the
    > real names, and short of `#undef`-ing all of them in every file
    > that includes any PETSc header, we can define the following macro
    > which should disable them, which I'm sure will work forever. This
    > means we _must_ `#include` this header _before_ any PETSc header!
    
    A recent commit reordered the PETSc headers in this file
    ZedThree committed Nov 8, 2024
    Configuration menu
    Copy the full SHA
    9347754 View commit details
    Browse the repository at this point in the history