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

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

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

trunk/finley/src/finley/ElementFile_markNodes.c revision 201 by jgs, Wed Nov 23 04:10:21 2005 UTC trunk/finley/src/ElementFile_markNodes.c revision 730 by bcumming, Mon May 15 04:03:49 2006 UTC
# Line 1  Line 1 
1  /*  /*
2   ******************************************************************************   ************************************************************
3   *                                                                            *   *          Copyright 2006 by ACcESS MNRF                   *
4   *       COPYRIGHT  ACcESS 2003,2004,2005 -  All Rights Reserved              *   *                                                          *
5   *                                                                            *   *              http://www.access.edu.au                    *
6   * This software is the property of ACcESS. No part of this code              *   *       Primary Business: Queensland, Australia            *
7   * may be copied in any form or by any means without the expressed written    *   *  Licensed under the Open Software License version 3.0    *
8   * consent of ACcESS.  Copying, use or modification of this software          *   *     http://www.opensource.org/licenses/osl-3.0.php       *
9   * by any unauthorised person is illegal unless that person has a software    *   *                                                          *
10   * license agreement with ACcESS.                                             *   ************************************************************
  *                                                                            *  
  ******************************************************************************  
11  */  */
12    
13  /**************************************************************/  /**************************************************************/
# Line 51  void Finley_ElementFile_markNodes(index_ Line 49  void Finley_ElementFile_markNodes(index_
49               #pragma omp for private(e,i) schedule(static)               #pragma omp for private(e,i) schedule(static)
50               for (e=0;e<in->numElements;e++) {               for (e=0;e<in->numElements;e++) {
51                 if (in->Color[e]==color) {                 if (in->Color[e]==color) {
52                    for (i=0;i<NN;i++) mask[in->Nodes[INDEX2(lin_node[i],e,NN2)]-offset]=1;                    for (i=0;i<NN;i++)
53                        mask[in->Nodes[INDEX2(lin_node[i],e,NN2)]-offset]=1;
54                 }                 }
55               }               }
56             }             }
# Line 60  void Finley_ElementFile_markNodes(index_ Line 59  void Finley_ElementFile_markNodes(index_
59        } else {        } else {
60          #pragma omp parallel for private(e,i) schedule(static)          #pragma omp parallel for private(e,i) schedule(static)
61          for (e=0;e<in->numElements;e++) {          for (e=0;e<in->numElements;e++) {
62             for (i=0;i<NN;i++) mask[in->Nodes[INDEX2(lin_node[i],e,NN2)]-offset]=1;             for (i=0;i<NN;i++)
63                 mask[in->Nodes[INDEX2(lin_node[i],e,NN2)]-offset]=1;
64          }          }
65        }        }
66     }     }

Legend:
Removed from v.201  
changed lines
  Added in v.730

  ViewVC Help
Powered by ViewVC 1.1.26