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

Aleksejs Fomins aleksejs.fomins at lspr.ch
Fri Sep 26 17:12:04 CEST 2014


Dear Andreas,

Thank you for your reply.

I have just spotted this myself, putting Dune:: prefix solves the problem

Regards,
Aleksejs

On 09/26/2014 05:09 PM, Andreas Dedner wrote:
> 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
> 
> 
> 
> 
> _______________________________________________
> Dune mailing list
> Dune at dune-project.org
> http://lists.dune-project.org/mailman/listinfo/dune
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 551 bytes
Desc: OpenPGP digital signature
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20140926/f85a1ab0/attachment.sig>


More information about the Dune mailing list