/[escript]/trunk/finley/src/finleyC/ElementFile_markNodes.c
ViewVC logotype

Diff of /trunk/finley/src/finleyC/ElementFile_markNodes.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 123 by jgs, Fri Jul 8 04:08:13 2005 UTC revision 126 by jgs, Fri Jul 22 03:53:08 2005 UTC
# Line 32  void Finley_ElementFile_markNodes(index_ Line 32  void Finley_ElementFile_markNodes(index_
32          lin_node=id;          lin_node=id;
33       }       }
34       NN2=in->ReferenceElement->Type->numNodes;       NN2=in->ReferenceElement->Type->numNodes;
35       #pragma omp parallel private(color)       if ((in->maxColor-in->minColor+1)*NN<in->numElements) {
36       {          #pragma omp parallel private(color)
37          for (color=in->minColor;color<=in->maxColor;color++) {          {
38            #pragma omp for private(e,i) schedule(static)             for (color=in->minColor;color<=in->maxColor;color++) {
39            for (e=0;e<in->numElements;e++) {               #pragma omp for private(e,i) schedule(static)
40              if (in->Color[e]==color) {               for (e=0;e<in->numElements;e++) {
41                 for (i=0;i<NN;i++) mask[in->Nodes[INDEX2(lin_node[i],e,NN2)]-offset]=1;                 if (in->Color[e]==color) {
42              }                    for (i=0;i<NN;i++) mask[in->Nodes[INDEX2(lin_node[i],e,NN2)]-offset]=1;
43            }                 }
44                 }
45               }
46               #pragma omp barrier
47          }          }
48          #pragma omp barrier        } else {
49       }          #pragma omp parallel for private(e,i) schedule(static)
50            for (e=0;e<in->numElements;e++) {
51               for (i=0;i<NN;i++) mask[in->Nodes[INDEX2(lin_node[i],e,NN2)]-offset]=1;
52            }
53          }
54     }     }
55  }  }
56  /*  /*
57  * $Log$  * $Log$
58    * Revision 1.3  2005/07/22 03:53:08  jgs
59    * Merge of development branch back to main trunk on 2005-07-22
60    *
61  * Revision 1.2  2005/07/08 04:07:50  jgs  * Revision 1.2  2005/07/08 04:07:50  jgs
62  * Merge of development branch back to main trunk on 2005-07-08  * Merge of development branch back to main trunk on 2005-07-08
63  *  *
64    * Revision 1.1.1.1.2.2  2005/07/18 10:34:54  gross
65    * some informance improvements when reading meshes
66    *
67  * Revision 1.1.1.1.2.1  2005/06/29 02:34:49  gross  * Revision 1.1.1.1.2.1  2005/06/29 02:34:49  gross
68  * some changes towards 64 integers in finley  * some changes towards 64 integers in finley
69  *  *

Legend:
Removed from v.123  
changed lines
  Added in v.126

  ViewVC Help
Powered by ViewVC 1.1.26