Blitz logo

Blitz Support :

From: Virgilio, Vincent (Vincent.Virgilio_at_[hidden])
Date: 2004-08-16 15:07:54


> -----Original Message-----
> From: blitz-support-bounces_at_[hidden]
> [mailto:blitz-support-bounces_at_[hidden]] On Behalf Of Zane Dodson
> Sent: Monday, August 16, 2004 10:42 AM
> To: blitz-support_at_[hidden]
> Subject: Re: [Blitz-support] Blitz++ and MPI broadcasting
>
>
> On Mon, Aug 16, 2004 at 09:46:23AM -0500, Virgilio, Vincent wrote:
> | Hi Olivier,
> |
> | There is Array<double, 2>.data(), which should return double*. I
> | frequently use this to cast around Blitz++ data in MPI buffers, sans
> | copy.
> |
> | Vince Virgilio
>
> Be careful to understand storage ordering and contiguity of the array
> when using the data() method in this way. The `isStorageContiguous()'
> method is helpful here.
>
> See sections 2.4 and 2.6.2 of the documentation at
> http://www.oonumerics.org/blitz/manual/Frames.html
> for a discussion of storage orders, indexing, subarrays, and slicing.
>
> Best regards,
>
> --
> Zane Dodson
> _______________________________________________
> Blitz-support mailing list
> Blitz-support_at_[hidden]
> http://www.oonumerics.org/mailman/listinfo.cgi/blitz-support
>

Thanks Zane, I do tread lightly here - no trouble so far.

Vince Virgilio

************************************
This email and any files transmitted with it are proprietary and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email
in error please notify the sender. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of ITT Industries, Inc.
The recipient should check this email and any attachments for the presence of viruses. ITT Industries accepts no liability for any damage caused by any virus transmitted by this
email.
************************************