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

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

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

revision 1765 by gross, Thu Aug 21 05:03:49 2008 UTC revision 1766 by gross, Mon Sep 8 02:51:14 2008 UTC
# Line 20  Line 20 
20  /**************************************************************/  /**************************************************************/
21    
22  #include "NodeFile.h"  #include "NodeFile.h"
23    #include "Util.h"
24    
25  /**************************************************************/  /**************************************************************/
26    
# Line 80  void Finley_NodeFile_allocTable(Finley_N Line 81  void Finley_NodeFile_allocTable(Finley_N
81      /* this initialization makes sure that data are located on the right processor */      /* this initialization makes sure that data are located on the right processor */
82      #pragma omp parallel for private(n,i) schedule(static)      #pragma omp parallel for private(n,i) schedule(static)
83      for (n=0;n<numNodes;n++) {      for (n=0;n<numNodes;n++) {
        for (i=0;i<in->numDim;i++) in->Coordinates[INDEX2(i,n,in->numDim)]=0.;  
84         in->Id[n]=-1;         in->Id[n]=-1;
85           for (i=0;i<in->numDim;i++) in->Coordinates[INDEX2(i,n,in->numDim)]=0.;
86         in->Tag[n]=-1;         in->Tag[n]=-1;
87         in->globalDegreesOfFreedom[n]=-1;         in->globalDegreesOfFreedom[n]=-1;
88         in->globalReducedDOFIndex[n]=-1;         in->globalReducedDOFIndex[n]=-1;

Legend:
Removed from v.1765  
changed lines
  Added in v.1766

  ViewVC Help
Powered by ViewVC 1.1.26