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

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

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

revision 1388 by trankine, Fri Jan 11 07:45:58 2008 UTC revision 1628 by phornby, Fri Jul 11 13:12:46 2008 UTC
# Line 33  void Finley_NodeFile_gatherEntries(dim_t Line 33  void Finley_NodeFile_gatherEntries(dim_t
33                                     index_t* globalDegreesOfFreedom_out, index_t* globalDegreesOfFreedom_in,                                     index_t* globalDegreesOfFreedom_out, index_t* globalDegreesOfFreedom_in,
34                                     dim_t numDim, double* Coordinates_out, double* Coordinates_in)                                     dim_t numDim, double* Coordinates_out, double* Coordinates_in)
35  {  {
36     dim_t i,j;     dim_t i;
37     register index_t k;     register index_t k;
38     register const index_t range=max_index-min_index;     register const index_t range=max_index-min_index;
39     const  size_t numDim_size=(size_t)numDim*sizeof(double);     const  size_t numDim_size=(size_t)numDim*sizeof(double);
40    
41     #pragma omp parallel for private(i,j,k) schedule(static)     #pragma omp parallel for private(i,k) schedule(static)
42     for (i=0;i<n;i++) {     for (i=0;i<n;i++) {
43        k=index[i]-min_index;        k=index[i]-min_index;
44        if ((k>=0) && (k <range)) {        if ((k>=0) && (k <range)) {

Legend:
Removed from v.1388  
changed lines
  Added in v.1628

  ViewVC Help
Powered by ViewVC 1.1.26