[Dune] new Alugrid

Aleksejs Fomins aleksejs.fomins at lspr.ch
Tue Sep 9 17:42:58 CEST 2014


Hi Martin,

Ah, I don't want to change Alugrid code. At least not at the moment.

I only want to tell the grid who is its host grid when initializing it.

Now I understand :)

Thank you again,
Aleksejs



On 09/09/2014 05:35 PM, Martin Nolte wrote:
> Hi Aleksejs,
> 
> of course you have to specify the grid you want to use. But you will do
> that in your own DUNE module, won't you? All I wanted to hint was that
> you should avoid chaning the ALUGrid code (i.e., files in dune-alugrid)
> unless it is really essential.
> 
> Best,
> 
> Martin
> 
> On 09/09/2014 03:40 PM, Aleksejs Fomins wrote:
>> 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/4c92c9ba/attachment.sig>


More information about the Dune mailing list