Re: [Libmesh-users] usage of _communicator parallelism

2015-03-12 Thread Lei Zhao
On Thu, Mar 12, 2015 at 11:50 AM, Cody Permann wrote: > Try to stay out of parallel_implementation.h. Generally you don't need to > go down that far unless you are adding new type specializations. The > signatures you need for most communication patterns are in parallel.h: > > /** >* Blocki

Re: [Libmesh-users] usage of _communicator parallelism

2015-03-12 Thread Cody Permann
Try to stay out of parallel_implementation.h. Generally you don't need to go down that far unless you are adding new type specializations. The signatures you need for most communication patterns are in parallel.h: /** * Blocking-send to one processor with data-defined type. */ template

[Libmesh-users] usage of _communicator parallelism

2015-03-12 Thread Lei Zhao
Hi All, I am working on some parallelism with Communicator. But I don't understand exactly the syntax of _communicator.send and _communicator.receive. This is the definition of send for sending a vector in parallel_implementation.h. *template * *inline void Communicator::send (const unsigned int