[Dune] error: reference to ‘ALUGrid’ is ambiguous

Andreas Dedner a.s.dedner at warwick.ac.uk
Fri Sep 26 17:09:00 CEST 2014


What happens if you add Dune:: before the ALUGrid?
I guess the problem is your "using namespace Dune" which puts
Dune::ALUGrid into the global
scope and conflicts with the ALUGrid namespace we used to protect the
ALUGrid internals.
We might have to change the name of the namespace...
Andreas

On 26/09/14 14:39, Aleksejs Fomins wrote:
> Dear Dune,
>
> I have another error, this time with new dune-alugrid module. I am using
> the latest one from git repository. I have read (2.2) of arxiv
> dune-alugrid paper and followed the instructions
>
> -----------------------------------------------------------------
> In short, my test program is throwing an error on the line
>
> typedef  ALUGrid<3,3,simplex,nonconforming, mpihelper> ALUSimplexGridType;
>
> which has candidates
> class ALUGrid;
>
> and
> namespace ALUGrid { }
> -----------------------------------------------------------------
>
> In the attached zip file I have included the following information that
> should be able to help you
> * Machine version and version of g++
> * config.log of the dune-curvilinear class
> * complete error message
> * the file curvilineargmshreader file itself
> * the test program which calls it
> * The git version of dune-geometry I am using (since it was edited to
> add curvilinear functionality)
>
> Regards,
> Aleksejs
>
>
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20140926/8aaa228b/attachment.htm>


More information about the Dune mailing list