[Dune] DataHandleIF, DynamicVector safe to be used as one single object in communication ?
Steffen Müthing
steffen.muething at iwr.uni-heidelberg.de
Fri Jul 20 17:36:57 CEST 2018
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
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: Message signed with OpenPGP
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20180720/9c857b34/attachment.sig>
More information about the Dune
mailing list