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

Rebecca Neumann rebecca.neumann at iwr.uni-heidelberg.de
Thu Jan 5 13:20:29 CET 2012


Hey Christoph,

thanks for the patch, I applied the remaining part.
I also fixed the problem in dgdiffusion-hp.

Regards,
Rebecca

On 27.12.2011 10:52, Christoph Grüninger wrote:
> 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
>
>
> _______________________________________________
> dune-pdelab mailing list
> dune-pdelab at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune-pdelab
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune-pdelab/attachments/20120105/040f5e15/attachment.htm>


More information about the dune-pdelab mailing list