/[escript]/branches/arrexp_2137_win_merge/finley/src/Assemble_AverageElementData.c
ViewVC logotype

Diff of /branches/arrexp_2137_win_merge/finley/src/Assemble_AverageElementData.c

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

revision 2221 by jfenwick, Wed Jan 14 00:23:39 2009 UTC revision 2222 by jfenwick, Tue Jan 20 04:52:39 2009 UTC
# Line 72  void Finley_Assemble_AverageElementData( Line 72  void Finley_Assemble_AverageElementData(
72               vol=0;               vol=0;
73               for (q=0; q< numQuad_in;++q) vol+=wq[q];               for (q=0; q< numQuad_in;++q) vol+=wq[q];
74               volinv=1./vol;               volinv=1./vol;
75             requireWrite(out);
76           #pragma omp parallel private(n, i, rtmp, q, in_array, out_array)           #pragma omp parallel private(n, i, rtmp, q, in_array, out_array)
77           {           {
78             void* buffer=allocSampleBuffer(in);             void* buffer=allocSampleBuffer(in);
# Line 90  void Finley_Assemble_AverageElementData( Line 91  void Finley_Assemble_AverageElementData(
91           }           }
92           } else {           } else {
93               numComps_size=numComps*sizeof(double);               numComps_size=numComps*sizeof(double);
94             requireWrite(out);
95           #pragma omp parallel private(q,n,out_array,in_array)           #pragma omp parallel private(q,n,out_array,in_array)
96           {           {
97             void* buffer=allocSampleBuffer(in);             void* buffer=allocSampleBuffer(in);

Legend:
Removed from v.2221  
changed lines
  Added in v.2222

  ViewVC Help
Powered by ViewVC 1.1.26