Dear Wolfgang,

Thank you for the reply. I will try to add it soon.

Best,
Paras

On Thursday, May 21, 2020 at 5:04:19 PM UTC+2, Wolfgang Bangerth wrote:
>
> On 5/21/20 4:55 AM, Paras Kumar wrote: 
> > 
> > Could someone please confirm if deal.II offers an analogue of 
> MPI_Bcast(), 
> > i.e. a function to broadcast arbitrary types, since there are functions 
> like 
> > dealii::Utilities::MPI::gather<T>(). 
> > An alternative solution could be to pack the type into a stream using 
> > dealii::Utilities::pack<T>() and then call MPI_Bcast() myself on this 
> packaged 
> > stream. 
>
> There is not currently a function to do that, though if you look at how 
> gather<T> is written, you'll immediately see how to write a corresponding 
> broadcast<T> function. We'd be very happy to accept a patch that adds such 
> a 
> function. 
>
> Best 
>   W. 
>
>
> -- 
> ------------------------------------------------------------------------ 
> Wolfgang Bangerth          email:                 bang...@colostate.edu 
> <javascript:> 
>                             www: http://www.math.colostate.edu/~bangerth/ 
>
>

-- 
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see 
https://groups.google.com/d/forum/dealii?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"deal.II User Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dealii+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/dealii/0ffd7a2d-cee4-4c1e-bb31-dae0bcc0709f%40googlegroups.com.

Reply via email to