/[escript]/branches/RW_WIN32/finley/src/finleyC/Assemble_interpolate.c
ViewVC logotype

Diff of /branches/RW_WIN32/finley/src/finleyC/Assemble_interpolate.c

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

revision 209 by robwdcock, Sun Nov 20 05:43:12 2005 UTC revision 210 by robwdcock, Wed Nov 23 09:54:02 2005 UTC
# Line 46  void Finley_Assemble_interpolate(Finley_ Line 46  void Finley_Assemble_interpolate(Finley_
46    dim_t numComps=getDataPointSize(data);    dim_t numComps=getDataPointSize(data);
47    type_t data_type=getFunctionSpaceType(data);    type_t data_type=getFunctionSpaceType(data);
48    dim_t numQuad=elements->ReferenceElement->numQuadNodes;    dim_t numQuad=elements->ReferenceElement->numQuadNodes;
49    index_t id[NN];  
50      /* win32 refactor */
51      index_t *id = (NN>0) ? TMPMEMALLOC(NN,index_t) : (index_t*)NULL;
52    
53    for (i=0;i<NN;i++) id[i]=i;    for (i=0;i<NN;i++) id[i]=i;
54    Finley_resetError();    Finley_resetError();
55    
# Line 144  void Finley_Assemble_interpolate(Finley_ Line 147  void Finley_Assemble_interpolate(Finley_
147        THREAD_MEMFREE(local_data);        THREAD_MEMFREE(local_data);
148       } /* end of parallel region */       } /* end of parallel region */
149    }    }
150      /* win32 refactor */
151      TMPMEMFREE(id);
152    
153    #undef NODES    #undef NODES
154    #undef DOF    #undef DOF
155    #undef REDUCED_DOF    #undef REDUCED_DOF

Legend:
Removed from v.209  
changed lines
  Added in v.210

  ViewVC Help
Powered by ViewVC 1.1.26