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

Diff of /branches/arrayview_from_1695_trunk/finley/src/NodeFile_setCoordinates.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 41  void Finley_NodeFile_setCoordinates(Finl Line 41  void Finley_NodeFile_setCoordinates(Finl
41            numDim_size=self->numDim*sizeof(double);            numDim_size=self->numDim*sizeof(double);
42            Finley_increaseStatus(self);            Finley_increaseStatus(self);
43            #pragma omp parallel for private(n) schedule(static)            #pragma omp parallel for private(n) schedule(static)
44            for (n=0;n<self->numNodes;n++)            for (n=0;n<self->numNodes;n++) {
45              memcpy(&(self->Coordinates[INDEX2(0,n,self->numDim)]), getSampleDataFast(newX,n), numDim_size);              memcpy(&(self->Coordinates[INDEX2(0,n,self->numDim)]), getSampleDataFast(newX,n), numDim_size);
46              }
47     }     }
48  }  }

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

  ViewVC Help
Powered by ViewVC 1.1.26