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

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

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

revision 1713 by jfenwick, Wed Aug 20 05:04:28 2008 UTC revision 1714 by jfenwick, Thu Aug 21 00:01:55 2008 UTC
# Line 186  DataTagged::DataTagged(const DataTagged& Line 186  DataTagged::DataTagged(const DataTagged&
186    // slice constructor    // slice constructor
187    
188    // get the shape of the slice to copy from other    // get the shape of the slice to copy from other
189    DataTypes::ShapeType regionShape(DataArrayView::getResultSliceShape(region));    DataTypes::ShapeType regionShape(DataTypes::getResultSliceShape(region));
190    DataTypes::RegionLoopRangeType regionLoopRange=getSliceRegionLoopRange(region);    DataTypes::RegionLoopRangeType regionLoopRange=getSliceRegionLoopRange(region);
191    
192    // allocate enough space in this for all values    // allocate enough space in this for all values
# Line 224  DataTagged::setSlice(const DataAbstract* Line 224  DataTagged::setSlice(const DataAbstract*
224    }    }
225    
226    // determine shape of the specified region    // determine shape of the specified region
227    DataTypes::ShapeType regionShape(DataArrayView::getResultSliceShape(region));    DataTypes::ShapeType regionShape(DataTypes::getResultSliceShape(region));
228    
229    // modify region specification as needed to match rank of this object    // modify region specification as needed to match rank of this object
230    DataTypes::RegionLoopRangeType regionLoopRange=getSliceRegionLoopRange(region);    DataTypes::RegionLoopRangeType regionLoopRange=getSliceRegionLoopRange(region);

Legend:
Removed from v.1713  
changed lines
  Added in v.1714

  ViewVC Help
Powered by ViewVC 1.1.26