/[escript]/branches/split/weipa/src/DataVar.cpp
ViewVC logotype

Diff of /branches/split/weipa/src/DataVar.cpp

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

revision 2939 by caltinay, Wed Feb 3 03:22:31 2010 UTC revision 2940 by caltinay, Fri Feb 19 00:38:45 2010 UTC
# Line 373  float* DataVar::averageData(const float* Line 373  float* DataVar::averageData(const float*
373          res = new float[cellFactor * numSamples];          res = new float[cellFactor * numSamples];
374          float* dest = res;          float* dest = res;
375          QuadMaskInfo qmi = cells->getQuadMask(funcSpace);          QuadMaskInfo qmi = cells->getQuadMask(funcSpace);
376          if (qmi.mask.size() > 0) {          if (!qmi.mask.empty()) {
377              const float* tmpSrc = src;              const float* tmpSrc = src;
378              for (int i=0; i<numSamples; i++, tmpSrc+=stride*ptsPerSample) {              for (int i=0; i<numSamples; i++, tmpSrc+=stride*ptsPerSample) {
379                  for (int l=0; l<cellFactor; l++) {                  for (int l=0; l<cellFactor; l++) {

Legend:
Removed from v.2939  
changed lines
  Added in v.2940

  ViewVC Help
Powered by ViewVC 1.1.26