/[escript]/branches/arrayview_from_1695_trunk/escript/test/DataTaggedTestCase.cpp
ViewVC logotype

Diff of /branches/arrayview_from_1695_trunk/escript/test/DataTaggedTestCase.cpp

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

revision 1780 by jfenwick, Fri Sep 5 06:16:34 2008 UTC revision 1781 by jfenwick, Thu Sep 11 05:03:14 2008 UTC
# Line 158  void DataTaggedTestCase::testOperations( Line 158  void DataTaggedTestCase::testOperations(
158      for (int i=0;i<viewShape[0];i++) {      for (int i=0;i<viewShape[0];i++) {
159        viewData[i]=i;        viewData[i]=i;
160      }      }
     DataArrayView myView(viewData,viewShape);  
161    
162  //     DataTagged myData(keys,values,myView,FunctionSpace());  //     DataTagged myData(keys,values,myView,FunctionSpace());
163  //     DataTagged right(keys,values,myView,FunctionSpace());  //     DataTagged right(keys,values,myView,FunctionSpace());
# Line 1165  void DataTaggedTestCase::testAddTaggedVa Line 1164  void DataTaggedTestCase::testAddTaggedVa
1164      for (int i=0;i<viewShape[0];i++) {      for (int i=0;i<viewShape[0];i++) {
1165        viewData[i]=i;        viewData[i]=i;
1166      }      }
     DataArrayView myView(viewData,viewShape);  
1167    
1168      DataTagged myData(FunctionSpace(),viewShape,viewData);      DataTagged myData(FunctionSpace(),viewShape,viewData);
1169    

Legend:
Removed from v.1780  
changed lines
  Added in v.1781

  ViewVC Help
Powered by ViewVC 1.1.26