[Dune] Compilation warnings using GRIDDIM and GRIDTYPE options

Robert Kloefkorn robertk at mathematik.uni-freiburg.de
Fri Nov 13 19:33:27 CET 2009


Hello Nagaiah,

if you use grid/utility/gridtype.hh and/or
grid/io/file/dgfparser/dgfgridtype.hh

you need to enable the --with-grid-dim={1,2,3} (and optinal
--with-grid-type= see configure --help for options ) given the default
grid dime and grid type you want to use.

Then, when calling make you can easily change grid dims and grid types
by calling

make GRIDDIM=3 GRIDTYPE=ALUGRID_SIMPLEX my_programm

to use ALUSimplexGrid<3,3> as GridType (given to this typedef see
gridtype.hh ).
The warning you get is shown when you did not specify a grid type or
dimension but using one  of the above mentioned files.

Regards,

R

-- 

  Robert Klöfkorn           <robertk at mathematik.uni-freiburg.de>

  Mathematisches Institut              Tel: +49 (0) 761 203 5631
  Abt. für Angewandte Mathematik       Fax: +49 (0) 761 203 5632
  Universität Freiburg
  Hermann-Herder-Str. 10
  79104 Freiburg

  http://www.mathematik.uni-freiburg.de/IAM/homepages/robertk





More information about the Dune mailing list