/[escript]/trunk/finley/src/NodeFile_setTags.c
ViewVC logotype

Diff of /trunk/finley/src/NodeFile_setTags.c

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

revision 1761 by gross, Thu Aug 21 05:03:49 2008 UTC revision 1762 by gross, Mon Sep 8 02:42:39 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);              Finley_NodeFile_setTagsInUse(self);
53      }      }
54  }  }

Legend:
Removed from v.1761  
changed lines
  Added in v.1762

  ViewVC Help
Powered by ViewVC 1.1.26