Skip to content
Snippets Groups Projects
Commit 6df83837 authored by Oliver Sander's avatar Oliver Sander Committed by sander@PCPOOL.MI.FU-BERLIN.DE
Browse files

include IPOpt headers, and fail if they are not present

[[Imported from SVN: r2615]]
parent 91894b95
No related branches found
No related tags found
No related merge requests found
...@@ -9,6 +9,13 @@ ...@@ -9,6 +9,13 @@
#include <dune/ag-common/surfmassmatrix.hh> #include <dune/ag-common/surfmassmatrix.hh>
#include "svd.hh" #include "svd.hh"
#ifdef HAVE_IPOPT
#include "coin/IpTNLP.hpp"
#include "coin/IpIpoptApplication.hpp"
#else
#error You need IPOpt for this header!
#endif
template <class GridType> template <class GridType>
class PressureAverager : public Ipopt::TNLP class PressureAverager : public Ipopt::TNLP
{ {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment