CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > OpenFOAM Programming & Development

Difference between Pstream::gather & Pstream::combineGather

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   August 24, 2013, 13:57
Default Difference between Pstream::gather & Pstream::combineGather
  #1
Member
 
Join Date: Aug 2012
Posts: 74
Rep Power: 6
HakikiCanakkaleli is on a distinguished road
Hi

==1==

Code:
template<class T , class BinaryOp >
static void 	gather (const List< commsStruct > &comms, T &Value, const BinaryOp &bop, const int tag)
Doxygen explains: Gather data. Apply bop to combine Value.

Code:
template<class T , class CombineOp >
static void 	combineGather (T &Value, const CombineOp &cop, const int tag=Pstream::msgType())
There is no explicit explanation in doxygen.

==2==
Could anyone please explain what the difference between Pstream::gather and Pstream::combineGather?
HakikiCanakkaleli is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
high-order difference in OpenFOAM rxgrch OpenFOAM Programming & Development 5 October 10, 2016 23:48
Periodic Boundary Condition for upwind difference yohey44 Main CFD Forum 0 October 27, 2010 13:10
paraview - plotting difference to reference data joewe ParaView 0 August 30, 2010 18:01
Difference between scaled residuals and... Dieter FLUENT 0 April 28, 2006 17:52
Fininte difference and Finite element Technique Mahendra Singh Mehra FLUENT 3 December 23, 2005 00:49


All times are GMT -4. The time now is 10:14.