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

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

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

trunk/esys2/finley/src/finleyC/ElementFile_scatter.c revision 150 by jgs, Thu Sep 15 03:44:45 2005 UTC trunk/finley/src/ElementFile_scatter.c revision 782 by bcumming, Tue Jul 18 00:47:47 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 41  void Finley_ElementFile_scatter(index_t* Line 39  void Finley_ElementFile_scatter(index_t*
39       #pragma omp parallel for private(e,k,j) schedule(static)       #pragma omp parallel for private(e,k,j) schedule(static)
40       for (e=0;e<in->numElements;e++) {       for (e=0;e<in->numElements;e++) {
41          k=index[e];          k=index[e];
42    #ifdef PASO_MPI
43            out->Dom[k]=in->Dom[e];
44    #endif
45          out->Id[k]=in->Id[e];          out->Id[k]=in->Id[e];
46          out->Tag[k]=in->Tag[e];          out->Tag[k]=in->Tag[e];
47          out->Color[k]=in->Color[e]+out->maxColor+1;          out->Color[k]=in->Color[e]+out->maxColor+1;

Legend:
Removed from v.150  
changed lines
  Added in v.782

  ViewVC Help
Powered by ViewVC 1.1.26