/[escript]/branches/arrayview_from_1695_trunk/finley/src/NodeFile_setTags.c
ViewVC logotype

Diff of /branches/arrayview_from_1695_trunk/finley/src/NodeFile_setTags.c

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

revision 1780 by jfenwick, Mon Aug 11 03:33:40 2008 UTC revision 1781 by jfenwick, Thu Sep 11 05:03:14 2008 UTC
# Line 44  void Finley_NodeFile_setTags(Finley_Node Line 44  void Finley_NodeFile_setTags(Finley_Node
44      /* now we can start */      /* now we can start */
45    
46      if (Finley_noError()) {      if (Finley_noError()) {
47               #pragma omp parallel for private(n,mask_array) schedule(static)              #pragma omp parallel for private(n,mask_array) schedule(static)
48               for (n=0;n<numNodes;n++) {              for (n=0;n<numNodes;n++) {
49                   mask_array=getSampleData(mask,n);                   mask_array=getSampleData(mask,n);
50                   if (mask_array[0]>0) self->Tag[n]=newTag;                   if (mask_array[0]>0) self->Tag[n]=newTag;
51               }              }
52                Finley_NodeFile_setTagsInUse(self);
53      }      }
54  }  }
55  /*  /*

Legend:
Removed from v.1780  
changed lines
  Added in v.1781

  ViewVC Help
Powered by ViewVC 1.1.26