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

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

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

revision 1761 by trankine, Fri Jan 11 07:45:58 2008 UTC revision 1762 by gross, Mon Sep 8 02:42:39 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.1761  
changed lines
  Added in v.1762

  ViewVC Help
Powered by ViewVC 1.1.26