this function is a subroutine of IntegrateReduce()
Definition at line 18 of file IntegrateReduce.h. References Impala::Core::Array::Array2dTem< StorT, elemSize, ArithT >::CPB(), and Impala::Core::Array::Array2dTem< StorT, elemSize, ArithT >::CW(). Referenced by IntegrateReduce(). 00020 { 00021 double* srcPtr = src->CPB(0, y); 00022 double* dstPtr = dst->CPB(0, y/n); 00023 for(int x=0 ; x<src->CW()/n ; ++x) 00024 { 00025 double accu = 0; 00026 for(int i=0 ; i<n ; ++i) 00027 { 00028 accu += *srcPtr; 00029 ++srcPtr; 00030 } 00031 *dstPtr += accu; 00032 ++dstPtr; 00033 } 00034 }
Here is the call graph for this function:
|