Skip to content

TrilinosCouplings: adding guard in exmaple_maxwell.cpp

Created by: lucbv



This guard makes sure that MueLu_Epetra is enabled before include the MueLu_AztecEpetraOperator.hpp header.

Motivation and Context

This is will allow the new builds that set MueLu_ENABLE_Epetra=OFF to compile TrilinosCouplings without problems

Related Issues

How Has This Been Tested?

I did a local build of the with the configure-testbed-jenkins configuration to check that everything compiles properly


  • My commit messages mention the appropriate GitHub issue numbers.
  • My code follows the code style of the affected package(s).
  • I have read the code contribution guidelines for this project.
  • All new and existing tests passed.
  • No new compiler warnings were introduced.

Merge request reports