|
[Sponsors] |
December 14, 2008, 00:01 |
Hi all,
I am writing a para
|
#1 |
Member
Heng Xiao
Join Date: Mar 2009
Location: Zurich, Switzerland
Posts: 58
Rep Power: 17 |
Hi all,
I am writing a parallel code and need to do a reduce operation on a vector array, i.e. someScalar = some number in local cpu; someArray = new vector[100]; For the scalar it should be: reduce(someScalar, sumOp<scalar>()); What would be corresponding operation for the array? Would this work? reduce(someArray, sumOp<vector[]>()); Doing this element-wise would be slow, I imagine, because there is too much communication involved. Thanks very much! Best, Heng |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to Reduce Wall Y-Plus | rams | FLUENT | 3 | July 25, 2006 03:36 |
It is residuals. How it to reduce? | TDL | FLUENT | 0 | July 11, 2005 04:47 |
how to reduce residuals | Raghavendra Muvva | Siemens | 1 | January 31, 2005 11:27 |
how to reduce the out let temperature | usha | CFX | 0 | April 27, 2004 05:48 |
how to reduce y+ | Cindy Jones | FLUENT | 2 | January 17, 2003 22:12 |