CFD Online Logo CFD Online URL
Home > Forums > OpenFOAM Programming & Development

Difference between Pstream::gather & Pstream::combineGather

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

LinkBack Thread Tools Display Modes
Old   August 24, 2013, 13:57
Default Difference between Pstream::gather & Pstream::combineGather
Join Date: Aug 2012
Posts: 76
Rep Power: 7
HakikiCanakkaleli is on a distinguished road


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.

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.

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


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 6 August 28, 2017 14:11
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 09:56.