/[escript]/branches/arrayview_from_1695_trunk/escript/src/DataMaths.h
ViewVC logotype

Log of /branches/arrayview_from_1695_trunk/escript/src/DataMaths.h

Parent Directory Parent Directory | Revision Log Revision Log


Links to HEAD: (view) (annotate)
Sticky Revision:

Revision 1734 - (view) (annotate) - [select for diffs]
Modified Thu Aug 28 06:11:56 2008 UTC (11 years, 2 months ago) by jfenwick
File length: 32226 byte(s)
Diff to previous 1726
Added operations to Datatypes:
checkOffset
copySlice
copySliceFrom

Fixed some error reporting using EsysAssert.

Added two new c++ test suites:
DataTypesTest
DataMathsTest

Note that the test suite does not compile with dodebug=yes. There is an issue with linking one of the exception functions. I'm going to leave this 
until I have finished the rest of the work, perhaps Ken's scons changes will fix it.



Revision 1726 - (view) (annotate) - [select for diffs]
Modified Tue Aug 26 03:33:34 2008 UTC (11 years, 2 months ago) by jfenwick
File length: 32182 byte(s)
Diff to previous 1724
BinaryOp and UnaryOp - modified to accept the extra parameters required 
to operate without DataArrayView.  There are still a few parallel 
methods which accept them as params.

Added getVector() members to DataAbstract - these versions will throw.
DataC.cpp - uses new method to get the shape.
Added constant form of getVector() to DataConstant
Fixed the #include protection on DataMaths.h



Revision 1724 - (view) (annotate) - [select for diffs]
Added Mon Aug 25 05:38:57 2008 UTC (11 years, 2 months ago) by jfenwick
File length: 32145 byte(s)
Branch commit

Moved createShapeErrorMessage() into DataTypes.h
Modified functions in DataAlgorithm.h to use non-DataArrayView accesses.

Added getVector() to each of DataTagged, DataConstant, DataExpanded - This method returns 
the underlying DataVector by reference/constant reference. Note that this method does not 
exist in DataAbstract so (at the momement) in order to pull the data from something you 
need to know what you are looking at. (Lower level access is still possible via double* 
though).

DataTagged now has a getOffsetForTag method and a getDefaultOffset method.

DataMaths.h - A new file containing the reductionOps etc from DataArrayView (but without 
requiring DAV).
This file requires significant commenting improvements.



This form allows you to request diffs between any two revisions of this file. For each of the two "sides" of the diff, enter a numeric revision.

  Diffs between and
  Type of Diff should be a

  ViewVC Help
Powered by ViewVC 1.1.26