[dune-pdelab] Make dune-pdelab-howto aware of dune-geometry

Christoph Grüninger christoph.grueninger at iws.uni-stuttgart.de
Tue Dec 27 10:52:39 CET 2011


Dear PDELabers,
the attached patch contains two changes. First, dune-geometry is now 
used instead of the deprecated headers. Second, GCC 4.6 complains about 
two files that constexpr should be used. I moved the constants out of 
the classes but I am not satisfied with this change. Please have a look 
before you apply the patch. I preserved the line count, thus the LaTeX 
parts should not be affected.

But still dune-pdelab-howto does not compile for me. In the file
dgdiffusion-hp.cc, line 156,
is an error which I could not fix quickly. See below the relevant part 
of the error message.

There are still some issues but I am not sure where they should be fixed 
because the change the line count:
- Headercheck fails in many cases.
- Many headers lack double-include protection macros.
- Numerous variables are defined but never used.

Greets
Christoph


  dgdiffusion-hp.cc: In Funktion »void solve_dg(const GV&, const FEM&, 
std::string, bool) [with ..]«:
  dgdiffusion-hp.cc:208:59:   instanziiert von hier
  dgdiffusion-hp.cc:156:5: Fehler: keine passende Funktion für Aufruf 
von »Dune::SubsamplingVTKWriter<..>*)«
  dgdiffusion-hp.cc:156:5: Anmerkung: Kandidaten sind:
 
/temp/gruenich/dune/complete/dune-grid/dune/grid/io/file/vtk/vtkwriter.hh:354:10: 
Anmerkung: void Dune::VTKWriter<GridView>::addCellData(const 
VTKFunctionPtr&) [with ..]
 
/temp/gruenich/dune/complete/dune-grid/dune/grid/io/file/vtk/vtkwriter.hh:354:10: 
Anmerkung:   no known conversion for argument 1 from 
»Dune::PDELab::VTKFiniteElementMapAdapter<..>*« to »const VTKFunctionPtr&«
 
/temp/gruenich/dune/complete/dune-grid/dune/grid/io/file/vtk/vtkwriter.hh:364:12: 
Anmerkung: void 
Dune::VTKWriter<GridView>::addCellData(Dune::VTKWriter<GridView>::VTKFunction*) 
[with ..]
 
/temp/gruenich/dune/complete/dune-grid/dune/grid/io/file/vtk/vtkwriter.hh:364:12: 
Anmerkung:   no known conversion for argument 1 from 
»Dune::PDELab::VTKFiniteElementMapAdapter<..>*« to 
»Dune::VTKWriter<..>::VTKFunction*«
 
/temp/gruenich/dune/complete/dune-grid/dune/grid/io/file/vtk/vtkwriter.hh:385:74: 
Anmerkung: template<class V> void Dune::VTKWriter::addCellData(const V&, 
const string&, int) [with ..]
  make[4]: *** [dgdiffusion_hp-dgdiffusion-hp.o] Fehler 1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pdelab-howto-geometry-aware.patch
Type: text/x-patch
Size: 8212 bytes
Desc: not available
URL: <https://lists.dune-project.org/pipermail/dune-pdelab/attachments/20111227/15f6a510/attachment.bin>


More information about the dune-pdelab mailing list