[Dune] new Alugrid

Aleksejs Fomins aleksejs.fomins at lspr.ch
Tue Sep 9 15:40:13 CEST 2014


Hi Martin,

Sorry I always misclick :)

Thank you for your answer, it is good that I don't need to change much.


Can you please explain how to test my code without using Alugrid explicitly.

I want to (eventually) write a test, which will use my new
CurvGMSHReader to read a curvilinear mesh, then use the LagrangeGeometry
to calculate its volume and see if it is correct.

I will need to tell the test at some point which grid manager I would
like to use, right?

Best wishes,
Aleksejs


On 09/09/2014 03:30 PM, Martin Nolte wrote:
> Hi Aleksejs,
> 
> I would not say "should", because you should not need to manipulate
> ALUGrid to test your code. Apart from that, the answer is yes.
> 
> The class template Dune::ALUGrid has not changed, so yes, your tests
> should still work. But you could easily answer that question yourself
> after actually doing the checkout ;-).
> 
> Just a small reminder: Please keep discussions on the mailing list.
> Others might be interested, too.
> 
> Best,
> 
> Martin
> 
> On 09/09/2014 03:23 PM, Aleksejs Fomins wrote:
>> Hi Martin,
>>
>> Thank you for your reply.
>>
>> So I should check out new fresh dune with dune-alugrid, make it without
>> external Alugrid library, then copy-paste my code into it and make it
>> again.
>>
>> Question:
>> Some tests for the grid call Alugrid using statements like
>>
>> Dune::ALUGrid<3, 3, simplex, conforming>
>>
>> Will these tests still work, or do they need editing?
>>
>> Regards,
>> Aleksejs
>>
>>
>>
>> On 09/09/2014 02:24 PM, Martin Nolte wrote:
>>> Hi Aleksejs,
>>>
>>> as announced, dune-alugrid is a completely self-contained DUNE module
>>> superseding all references to ALUGrid in dune-grid (there are no
>>> references to ALUGrid in dune-geometry). You even have to disable
>>> alugrid in dune-grid to use dune-alugrid (the old bindings take
>>> precedence).
>>>
>>> Best,
>>>
>>> Martin
>>>
>>> On 09/08/2014 04:48 PM, Aleksejs Fomins wrote:
>>>> Dear Dune,
>>>>
>>>> It was recently announced that Alugrid became a module of Dune.
>>>>
>>>> I assume this means that all of the classes of dune-geometry and
>>>> dune-grid which were using Alugrid were adapted to this change.
>>>>
>>>> Can you please give a brief summary of the files in dune-grid and
>>>> dune-geometry that were changed to accommodate for this?
>>>>
>>>> The reason I ask is because I need to check out the new Alugrid and
>>>> make
>>>> sure the curvilinear functionality I have written so far easily
>>>> integrates into this.
>>>>
>>>> Regards,
>>>> Aleksejs
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> 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/20140909/b6c81790/attachment.sig>


More information about the Dune mailing list