[Dune] [Dune-Commit] dune-grid r8022 - trunk/dune/grid/io/file/test

Carsten Gräser graeser at math.fu-berlin.de
Wed May 2 23:23:32 CEST 2012


Am 02.05.2012 19:07, schrieb Oliver Sander:
> Hmm, this should really work without psurface, but that combination
> is hardly ever tested.
Since dune-grid r7898 the '#if HAVE_PSURFACE' condition surrounds
essentially the whole header amirameshreader.hh. So AmiraMeshReader
is undeclared and the test does not compile.

Even before this revision I doubt that it compiled without
psurface because the header used the name PSurfaceBoundary
outside the '#if HAVE_PSURFACE' condition but there is no
forward declaration for this.

Best,
Carsten

> -- 
> Oliver
> 
> Am 02.05.2012 17:41, schrieb graeser at dune-project.org:
>> Author: graeser
>> Date: 2012-05-02 17:41:38 +0200 (Wed, 02 May 2012)
>> New Revision: 8022
>>
>> Modified:
>>     trunk/dune/grid/io/file/test/Makefile.am
>> Log:
>> Only compile amirameshtest if we have psurface.
>>
>> I accidentally commited the wrong file in previous patch.
>>
>>
>> Modified: trunk/dune/grid/io/file/test/Makefile.am
>> ===================================================================
>> --- trunk/dune/grid/io/file/test/Makefile.am    2012-05-02 15:35:41
>> UTC (rev 8021)
>> +++ trunk/dune/grid/io/file/test/Makefile.am    2012-05-02 15:41:38
>> UTC (rev 8022)
>> @@ -8,10 +8,10 @@
>>
>>   # run amiramesh test only if amiramesh was found
>>   if AMIRAMESH
>> -# if PSURFACE
>> +if PSURFACE
>>   ALLTESTS += amirameshtest
>> -# endif
>>   endif
>> +endif
>>
>>   if ALBERTA
>>   ALLTESTS += gmshtest-alberta2d




More information about the Dune mailing list