/[escript]/branches/arrayview_from_1695_trunk/escript/src/DataFactory.cpp
ViewVC logotype

Diff of /branches/arrayview_from_1695_trunk/escript/src/DataFactory.cpp

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

revision 1720 by jfenwick, Mon Aug 11 06:29:54 2008 UTC revision 1721 by jfenwick, Fri Aug 22 00:39:32 2008 UTC
# Line 217  load(const std::string fileName, Line 217  load(const std::string fileName,
217        }        }
218        out=Data(DataArrayView(data,shape,0),function_space);        out=Data(DataArrayView(data,shape,0),function_space);
219        for (int t=1; t<ntags; ++t) {        for (int t=1; t<ntags; ++t) {
220           out.setTaggedValueFromCPP(tags[t],DataArrayView(data,shape,t*len_data_point));       out.setTaggedValueFromCPP(tags[t],shape, data, t*len_data_point);
221    //         out.setTaggedValueFromCPP(tags[t],DataArrayView(data,shape,t*len_data_point));
222        }        }
223        esysUtils::free(tags);        esysUtils::free(tags);
224     } else if (type == 2) {     } else if (type == 2) {

Legend:
Removed from v.1720  
changed lines
  Added in v.1721

  ViewVC Help
Powered by ViewVC 1.1.26