Skip to content
Snippets Groups Projects
Commit f292f64a authored by Jonathan Youett's avatar Jonathan Youett
Browse files

Only define material when Adolc is found

parent cff34928
No related branches found
No related tags found
No related merge requests found
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
#ifndef DUNE_ELASTICITY_MATERIALS_ADOLC_MATERIAL_HH #ifndef DUNE_ELASTICITY_MATERIALS_ADOLC_MATERIAL_HH
#define DUNE_ELASTICITY_MATERIALS_ADOLC_MATERIAL_HH #define DUNE_ELASTICITY_MATERIALS_ADOLC_MATERIAL_HH
#if HAVE_ADOLC
#include <dune/fufem/assemblers/localassemblers/adolclocalenergy.hh> #include <dune/fufem/assemblers/localassemblers/adolclocalenergy.hh>
#include <dune/fufem/assemblers/localassemblers/adolclinearizationassembler.hh> #include <dune/fufem/assemblers/localassemblers/adolclinearizationassembler.hh>
#include <dune/fufem/assemblers/localassemblers/adolchessianassembler.hh> #include <dune/fufem/assemblers/localassemblers/adolchessianassembler.hh>
...@@ -124,5 +125,5 @@ private: ...@@ -124,5 +125,5 @@ private:
//! Local hessian //! Local hessian
AdolcHessian localHessian_; AdolcHessian localHessian_;
}; };
#endif // HAVE_ADOLC
#endif #endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment