Skip to content
Snippets Groups Projects
Commit ef8a888e authored by Robert Kloefkorn's avatar Robert Kloefkorn
Browse files

make header check compile.

parent 0f51b794
No related branches found
No related tags found
No related merge requests found
......@@ -6,8 +6,6 @@
#include <dune/fem-dg/operator/fluxes/eulerfluxes.hh>
#include <dune/fem/misc/fmatrixconverter.hh>
#include "problemtype.hh"
namespace Dune {
template< class Traits >
......
......@@ -34,6 +34,11 @@ struct ProblemGenerator
static const Dune :: DGDiffusionFluxIdentifier PrimalDiffusionFluxId
= Dune :: method_general ;
// for header check
#ifndef FLUX
#define FLUX 1
#endif
// ******************************** NUMERICAL FLUX *****************************
#if (FLUX==1)
#warning "FLUX: LLF"
......
#ifndef FEMHOWTO_NSEQ_PROBLEMTYPE_HH
#define FEMHOWTO_NSEQ_PROBLEMTYPE_HH
#include <dune/common/version.hh>
#include <dune/fem/io/parameter.hh>
///////////////////////////////////////
// AVAILABLE PROBLEMS
///////////////////////////////////////
#if PROBLEM==2
// a nonstationary exact solution
// for Navier-Stokes equations
#include "nswaves.hh"
typedef NSWaves< GridSelector :: GridType > NSProblemType;
#define PROBLEM_HAS_SOLUTION
#elif PROBLEM==3
// a nonstationary exact solution
// for Navier-Stokes equations
#include "nssmooth.hh"
typedef NSSmoothSolution< GridSelector :: GridType > NSProblemType;
#define PROBLEM_HAS_SOLUTION
#else
#error "No valid problem number specified"
#endif
#endif
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