Skip to content
Snippets Groups Projects
Commit ff5192b2 authored by Dr. Felix Tobias Schindler's avatar Dr. Felix Tobias Schindler
Browse files

[cmake] some minor changes

parent 021ac936
No related branches found
No related tags found
No related merge requests found
#ifndef DUNE_GDT_CONFIG_H #ifndef DUNE_GDT_CONFIG_H
#define DUNE_GDT_CONFIG_H #define DUNE_GDT_CONFIG_H
#define @GRIDTYPE@ #include "../dune-gdt/config.h"
#define GRIDDIM @GRIDDIM@
#define POLORDER @POLORDER@
#include "config.h"
#undef HAVE_DUNE_ISTL
#if !HAVE_GRIDTYPE #if !HAVE_GRIDTYPE
#if !defined GRIDDIM
#define GRIDDIM 2
#endif
#include <dune/grid/sgrid.hh> #include <dune/grid/sgrid.hh>
namespace Dune namespace Dune {
{ namespace GridSelector {
namespace GridSelector const int dimgrid = GRIDDIM;
{ const int dimworld = GRIDDIM;
const int dimgrid = GRIDDIM; typedef Dune::SGrid< dimgrid, dimworld > GridType;
const int dimworld = GRIDDIM; } // namespace GridSelector
typedef Dune::SGrid< dimgrid, dimworld > GridType; } // namespace Dune
}
}
#endif #endif
#define HAVE_DUNE_GDT 1
#endif // DUNE_GDT_CONFIG_H #endif // DUNE_GDT_CONFIG_H
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