[Dune] DataHandleIF, DynamicVector safe to be used as one single object in communication ?

Benedikt Oswald benedikt.oswald at lspr.swiss
Fri Jul 20 17:45:51 CEST 2018


Hello Steffen, thanks a lot! Greetings and a nice weekend, Benedikt



Am 20.07.18 um 17:36 schrieb Steffen Müthing:
> Hi Benedikt,
>
> most of the grids will just transfer a bitwise representation of whatever you pass to gather() and
> scatter(), so no, you can’t directly communicate a DynamicVector. I would probably communicate
> the value_type of the DynamicVector and return the size in the size() method of the datahandle.
>
> Steffen
>
>> Am 20.07.2018 um 15:26 schrieb Benedikt Oswald <benedikt.oswald at lspr.swiss>:
>>
>> Dear Dune,
>>
>> w.r.t the use of the DataHandleIF class:
>>
>> is it safe to use a DynamicVector class instance as the
>>
>> data type to be communicated or do I need to convert
>>
>> the DynamicVector into individual double numbers ?
>>
>>
>> Thanks for a clarification & greetings, Benedikt
>>
>>
>>
>> -
>>
>> ----------------------------------------------------------------------------------------------------------------------
>> Dr. sc. techn. Benedikt Oswald - first engineer - LSPR AG - phone +41 43 366 90 74 - mobile +41 76 380 91 33
>> Grubenstrasse 9, CH-8045 Zürich, benedikt.oswald at lspr.swiss - www.lspr.swiss
>> ----------------------------------------------------------------------------------------------------------------------
>>
>>
>>
>> _______________________________________________
>> Dune mailing list
>> Dune at lists.dune-project.org
>> https://lists.dune-project.org/mailman/listinfo/dune
>>
>
>
> _______________________________________________
> Dune mailing list
> Dune at lists.dune-project.org
> https://lists.dune-project.org/mailman/listinfo/dune

-- 

----------------------------------------------------------------------------------------------------------------------
Dr. sc. techn. Benedikt Oswald - first engineer - LSPR AG - phone +41 43 366 90 74 - mobile +41 76 380 91 33
Grubenstrasse 9, CH-8045 Zürich, benedikt.oswald at lspr.swiss - www.lspr.swiss
----------------------------------------------------------------------------------------------------------------------

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20180720/7c60d5f5/attachment.htm>


More information about the Dune mailing list