/[escript]/branches/arrexp_2137_win_merge/escript/src/DataTypes.cpp
ViewVC logotype

Log of /branches/arrexp_2137_win_merge/escript/src/DataTypes.cpp

Parent Directory Parent Directory | Revision Log Revision Log


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

Revision 2213 - (view) (annotate) - [select for diffs]
Modified Wed Jan 14 00:23:39 2009 UTC (10 years, 7 months ago) by jfenwick
File length: 19195 byte(s)
Diff to previous 2202
In preparation for merging to trunk


Revision 2202 - (view) (annotate) - [select for diffs]
Modified Fri Jan 9 01:28:32 2009 UTC (10 years, 7 months ago) by jfenwick
Original Path: branches/arrexp_2137_win/escript/src/DataTypes.cpp
File length: 19195 byte(s)
Diff to previous 2111
Branching the array experiments from version 2137.
The idea is to make the changes required for the c++ changes to compile 
on windows without bringing in the later python changes.



Revision 2111 - (view) (annotate) - [select for diffs]
Modified Mon Dec 1 01:16:18 2008 UTC (10 years, 8 months ago) by jfenwick
Original Path: branches/arrexp_trunk2098/escript/src/DataTypes.cpp
File length: 19195 byte(s)
Diff to previous 2005
Doin' some experiments


Revision 2005 - (view) (annotate) - [select for diffs]
Modified Mon Nov 10 01:21:39 2008 UTC (10 years, 9 months ago) by jfenwick
Original Path: trunk/escript/src/DataTypes.cpp
File length: 19195 byte(s)
Diff to previous 1811
Bringing all changes across from schroedinger.
(Note this does not mean development is done, just that it will happen
on the trunk for now).
If anyone notices any problems please contact me.



Revision 1811 - (view) (annotate) - [select for diffs]
Modified Thu Sep 25 23:11:13 2008 UTC (10 years, 10 months ago) by ksteube
Original Path: trunk/escript/src/DataTypes.cpp
File length: 19195 byte(s)
Diff to previous 1802
Copyright updated in all files


Revision 1802 - (view) (annotate) - [select for diffs]
Modified Tue Sep 23 01:03:29 2008 UTC (10 years, 11 months ago) by jfenwick
Original Path: trunk/escript/src/DataTypes.cpp
File length: 19220 byte(s)
Diff to previous 1796
Added canTag methods to FunctionSpace and AbstractDomain (and its 
offspring).
This checks to see if the domain supports tags for the given type of 
function space.

Constructors for DataTagged now throw exceptions if you attempt to make 
a DataTagged with a FunctionSpace which does not support tags.
To allow the default constructor to work, NullDomain has a single 
functioncode which "supports" tagging.

Fixed a bug in DataTagged::toString and DataTypes::pointToString.

Added FunctionSpace::getListOfTagsSTL.

algorithm(DataTagged, BinaryFunction) in DataAlgorithm now only 
processes tags known to be in use.
This fixes mantis issue #0000186.

Added comment to Data.h intro warning about holding references if the 
underlying DataAbstract changes.

_python_ unit tests have been updated to test TaggedData with invalid 
FunctionSpaces and to give the correct answers to Lsup etc.



Revision 1796 - (view) (annotate) - [select for diffs]
Modified Wed Sep 17 01:45:46 2008 UTC (10 years, 11 months ago) by jfenwick
Original Path: trunk/escript/src/DataTypes.cpp
File length: 19215 byte(s)
Copied from: branches/arrayview_from_1695_trunk/escript/src/DataTypes.cpp revision 1795
Diff to previous 1781
Merged noarrayview branch onto trunk.



Revision 1781 - (view) (annotate) - [select for diffs]
Modified Thu Sep 11 05:03:14 2008 UTC (10 years, 11 months ago) by jfenwick
Original Path: branches/arrayview_from_1695_trunk/escript/src/DataTypes.cpp
File length: 19215 byte(s)
Diff to previous 1779
Branch commit

Merged changes from trunk version 1695 up to and including version 1779.



Revision 1779 - (view) (annotate) - [select for diffs]
Modified Thu Sep 11 01:06:15 2008 UTC (10 years, 11 months ago) by jfenwick
Original Path: branches/arrayview_from_1695_trunk/escript/src/DataTypes.cpp
File length: 19214 byte(s)
Diff to previous 1773
Branch commit:

Updated the doxyfile for deprecated/modified options (eg encoding is set 
to UTF-8).
Also set it not to scan directories called .svn or deprecated.

Removed #includes of DataArrayView.h
Moved DataArrayView into a new deprecated directory

Commented out setTaggedValue in DataExpanded which still referred to 
DataArrayView

Fixed some of the doxygen comments in DataMaths.h, DataTypes.h, 
DataTagged.h

Removed the empty JoelMods.cpp_

Unit tests appear to indicate that this branch is now "no more broken" 
than the version I branched from.




Revision 1773 - (view) (annotate) - [select for diffs]
Modified Tue Sep 9 02:52:26 2008 UTC (10 years, 11 months ago) by jfenwick
Original Path: branches/arrayview_from_1695_trunk/escript/src/DataTypes.cpp
File length: 19105 byte(s)
Diff to previous 1751
Branch commit

Fixed some bugs.
Code now passes all_tests.
Next step is to test under OMP and MPI



Revision 1751 - (view) (annotate) - [select for diffs]
Modified Fri Sep 5 06:16:34 2008 UTC (10 years, 11 months ago) by jfenwick
Original Path: branches/arrayview_from_1695_trunk/escript/src/DataTypes.cpp
File length: 19090 byte(s)
Diff to previous 1747
test

Revision 1747 - (view) (annotate) - [select for diffs]
Modified Wed Sep 3 04:56:50 2008 UTC (10 years, 11 months ago) by jfenwick
Original Path: branches/arrayview_from_1695_trunk/escript/src/DataTypes.cpp
File length: 19101 byte(s)
Diff to previous 1734
Branch commit.

Current status, this version compiles as passes run_tests (haven't tried 
all_tests), provided that the following files are moved out of the way:

DataAlgorithmAdapterTestCase.h 
DataTaggedTestCase.cpp 
DataTestCase.cpp 
DataTaggedTestCase.h

(They are not run by the unit tests at the moment).

I will fix those next.




Revision 1734 - (view) (annotate) - [select for diffs]
Modified Thu Aug 28 06:11:56 2008 UTC (10 years, 11 months ago) by jfenwick
Original Path: branches/arrayview_from_1695_trunk/escript/src/DataTypes.cpp
File length: 16107 byte(s)
Diff to previous 1724
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 1724 - (view) (annotate) - [select for diffs]
Modified Mon Aug 25 05:38:57 2008 UTC (10 years, 11 months ago) by jfenwick
Original Path: branches/arrayview_from_1695_trunk/escript/src/DataTypes.cpp
File length: 6328 byte(s)
Diff to previous 1715
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.



Revision 1715 - (view) (annotate) - [select for diffs]
Modified Thu Aug 21 04:52:14 2008 UTC (11 years ago) by jfenwick
Original Path: branches/arrayview_from_1695_trunk/escript/src/DataTypes.cpp
File length: 5919 byte(s)
Diff to previous 1714
Branch commit.

Moved getSliceRegionLoopRange and checkShape into DataTypes.h
Some work on methods to set/addTaggedValues without using DataArrayView.
To do this I added copyFromNumArray() on DataVector (It buggy at the 
moment).

This build passes the tests but only because copyFromNumArray is not 
used.



Revision 1714 - (view) (annotate) - [select for diffs]
Modified Thu Aug 21 00:01:55 2008 UTC (11 years ago) by jfenwick
Original Path: branches/arrayview_from_1695_trunk/escript/src/DataTypes.cpp
File length: 5330 byte(s)
Diff to previous 1698
Branch commit

Moved getSliceRegion() and getSliceRange() into DataTypes
Data.cpp - modified not to rely on operator() from DataArrayView
         - Used more const& to avoid copies



Revision 1698 - (view) (annotate) - [select for diffs]
Added Tue Aug 12 01:13:16 2008 UTC (11 years ago) by jfenwick
Original Path: branches/arrayview_from_1695_trunk/escript/src/DataTypes.cpp
File length: 1509 byte(s)
Branch commit DO NOT PANIC.

Moved shapeToString and noValues from DataArrayView to 
DataTypes{.h,.cpp}



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