/[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 4762 by jfenwick, Thu Mar 6 05:22:12 2014 UTC revision 4763 by jfenwick, Tue Mar 18 05:20:23 2014 UTC
# Line 154  bool DataVar::initFromEscript(escript::D Line 154  bool DataVar::initFromEscript(escript::D
154          float* destPtr = tempData;          float* destPtr = tempData;
155          if (escriptData.isConstant()) {          if (escriptData.isConstant()) {
156              const escript::DataAbstract::ValueType::value_type* values =              const escript::DataAbstract::ValueType::value_type* values =
157                  escriptData.getSampleDataRO(0);                  escriptData.getDataRO();
158              for (int pointNo=0; pointNo<numSamples*ptsPerSample; pointNo++) {              for (int pointNo=0; pointNo<numSamples*ptsPerSample; pointNo++) {
159                  copy(values, values+dimSize, destPtr);                  copy(values, values+dimSize, destPtr);
160                  destPtr += dimSize;                  destPtr += dimSize;

Legend:
Removed from v.4762  
changed lines
  Added in v.4763

  ViewVC Help
Powered by ViewVC 1.1.26