Cleanup: remove redundant doxygen \file argument
[blender.git] / intern / elbeem / intern / paraloopend.h
1 /** \file \ingroup elbeem
2  */
3
4 // same as grid loop_end + barrier
5
6                         } // i
7                 int i=0; //dummy
8                 ADVANCE_POINTERS(2*gridLoopBound);
9         } // j
10
11 #       if COMPRESSGRIDS==1
12 #       if PARALLEL==1
13         //frintf(stderr," (id=%d k=%d) ",id,k);
14 #pragma omp barrier
15 #       endif // PARALLEL==1
16 #       else // COMPRESSGRIDS==1
17         int i=0; //dummy
18         ADVANCE_POINTERS(mLevel[lev].lSizex*2);
19 #       endif // COMPRESSGRIDS==1
20
21 } // all cell loop k,j,i
22
23 #pragma omp critical
24 {
25         if(doReduce) {
26                 // synchronize global vars
27                 for(size_t j=0; j<calcListFull.size() ; j++) mListFull.push_back( calcListFull[j] ); 
28                 for(size_t j=0; j<calcListEmpty.size(); j++) mListEmpty.push_back( calcListEmpty[j] ); 
29                 for(size_t j=0; j<calcListParts.size(); j++) mpParticles->addFullParticle( calcListParts[j] );
30                 if(calcMaxVlen>mMaxVlen) {  
31                         mMxvx = calcMxvx;  
32                         mMxvy = calcMxvy;  
33                         mMxvz = calcMxvz;  
34                         mMaxVlen = calcMaxVlen;  
35                 }  
36                 if(0) {debMsgStd("OMP_CRIT",DM_MSG,     "reduce id"<<id<<" curr: "<<mMaxVlen<<"|"<<mMxvx<<","<<mMxvy<<","<<mMxvz<< 
37                                                                                                                                                                 "      calc[ "<<calcMaxVlen<<"|"<<calcMxvx<<","<<calcMxvy<<","<<calcMxvz<<"]  " ,4 ); }
38         }
39 } // critical
40
41
42 } /* main_region */  
43         //?lobOutstrForce = true;
44