/[escript]/trunk/escript/src/DataLazy.cpp
ViewVC logotype

Log of /trunk/escript/src/DataLazy.cpp

Parent Directory Parent Directory | Revision Log Revision Log


Sticky Revision:
(Current path doesn't exist after revision 4507)

Revision 2734 - (view) (annotate) - [select for diffs]
Modified Fri Oct 30 05:39:48 2009 UTC (9 years, 5 months ago) by jfenwick
File length: 86177 byte(s)
Diff to previous 2721
Fixed bug in lazy maxval and minval


Revision 2721 - (view) (annotate) - [select for diffs]
Modified Fri Oct 16 05:40:12 2009 UTC (9 years, 6 months ago) by jfenwick
File length: 85637 byte(s)
Diff to previous 2644
minval and maxval are now lazy operations (they weren't before).
Whether or not Lsup, sup and inf resolve their arguments before computing answers is controlled by the escriptParam 'RESOLVE_COLLECTIVE'.
Note: integrate() still forces a resolve.

Added some unit tests for operations which weren't tested before.
Added deepcopy implementations for lazy operations which got missed somehow.

Revision 2644 - (view) (annotate) - [select for diffs]
Modified Wed Sep 2 04:14:03 2009 UTC (9 years, 7 months ago) by jfenwick
File length: 81937 byte(s)
Diff to previous 2635
Add unit tests for saveDataCSV which should be ready for use now.
Keyword args are now output in sorted order.

Removed some unneeded functions.

Revision 2635 - (view) (annotate) - [select for diffs]
Modified Thu Aug 27 04:54:41 2009 UTC (9 years, 8 months ago) by jfenwick
File length: 82007 byte(s)
Diff to previous 2548
A bunch of changes related to saveDataCSV.
[Not completed or unit tested yet]

Added saveDataCSV to util.py
AbstractDomain (and MeshAdapter) have a commonFunctionSpace method to 
take a group of FunctionSpaces and return something they can all be interpolated to.

Added pointToStream() in DataTypes to help print points.

added actsConstant() to data - required because DataConstant doesn't store samples the same way other Data do.

Revision 2548 - (view) (annotate) - [select for diffs]
Modified Mon Jul 20 06:20:06 2009 UTC (9 years, 9 months ago) by jfenwick
File length: 81937 byte(s)
Diff to previous 2521
Updating copyright notices

Revision 2521 - (view) (annotate) - [select for diffs]
Modified Tue Jul 7 00:08:58 2009 UTC (9 years, 9 months ago) by jfenwick
File length: 81937 byte(s)
Diff to previous 2514
Modified Lazy so that resolving a single sample uses the node cache method.
Fixed some doxygen problems.

Revision 2514 - (view) (annotate) - [select for diffs]
Modified Fri Jul 3 00:57:45 2009 UTC (9 years, 9 months ago) by jfenwick
File length: 81776 byte(s)
Diff to previous 2501
Fixed compile warning on Mac



Revision 2501 - (view) (annotate) - [select for diffs]
Modified Tue Jun 30 04:43:01 2009 UTC (9 years, 9 months ago) by jfenwick
File length: 81770 byte(s)
Diff to previous 2500
Caching now works.
Number of levels and nodes permitted in a lazy expression has increased to 70 and 15000.

Revision 2500 - (view) (annotate) - [select for diffs]
Modified Tue Jun 30 00:42:38 2009 UTC (9 years, 9 months ago) by jfenwick
File length: 81775 byte(s)
Diff to previous 2497
Experimental per node cache for lazy evaluation is now available via the 
LAZY_NODE_STORAGE #define 
It's a bit slower and larger for small problems but a bit faster and 
smaller for large (drucker prager) problems.


Revision 2497 - (view) (annotate) - [select for diffs]
Modified Mon Jun 29 00:04:45 2009 UTC (9 years, 9 months ago) by jfenwick
File length: 61127 byte(s)
Diff to previous 2496
Calling resolve now replaces resolved expression with an identity node.


Revision 2496 - (view) (annotate) - [select for diffs]
Modified Fri Jun 26 06:09:47 2009 UTC (9 years, 10 months ago) by jfenwick
File length: 61080 byte(s)
Diff to previous 2472
Added lazy version of swapaxes operation.

Revision 2472 - (view) (annotate) - [select for diffs]
Modified Thu Jun 11 23:33:47 2009 UTC (9 years, 10 months ago) by jfenwick
File length: 55932 byte(s)
Diff to previous 2271
Added new params to control auto resolving for lazy data

Revision 2271 - (view) (annotate) - [select for diffs]
Modified Mon Feb 16 05:08:29 2009 UTC (10 years, 2 months ago) by jfenwick
File length: 55741 byte(s)
Diff to previous 2199
Merging version 2269 to trunk


Revision 2199 - (view) (annotate) - [select for diffs]
Modified Thu Jan 8 06:10:52 2009 UTC (10 years, 3 months ago) by jfenwick
File length: 55552 byte(s)
Diff to previous 2195
Misc fixes:
Added some svn:ignore properties for output files that were cluttering things up.

Lazy fixes:
Fixed shape calculations for TRACE and TRANSPOSE for rank>2.
Adjusted unit test accordingly.

As a Temporary change to DataC.cpp to test for lazy data in DataC's expanded check.
This is wrong but would only affect people using lazy data.
The proper fix will come when the numarray removal code moves over from the branch.

Made tensor product AUTOLAZY capable.
Fixed some bugs resolving tensor products (incorrect offsets in buffers).
Macro'd some stray couts.

- It appears that AUTOLAZY now passes all unit tests.
- It will not be _really_ safe for general use until I can add COW. 
- (Everything's better with COW)

Revision 2195 - (view) (annotate) - [select for diffs]
Modified Wed Jan 7 04:13:52 2009 UTC (10 years, 3 months ago) by jfenwick
File length: 53873 byte(s)
Diff to previous 2177
Fixed a bug in lazy evaluation of Tensor Products.
Added / to end of boost path


Revision 2177 - (view) (annotate) - [select for diffs]
Modified Wed Dec 17 23:51:23 2008 UTC (10 years, 4 months ago) by jfenwick
File length: 51708 byte(s)
Diff to previous 2171
used unused variable.
Added support for limiting the size of lazy expression trees.
500,000 seems a bit high

Revision 2171 - (view) (annotate) - [select for diffs]
Modified Wed Dec 17 08:21:29 2008 UTC (10 years, 4 months ago) by phornby
File length: 51182 byte(s)
Diff to previous 2166
Unitary minus applied to unsigned returns unsigned error fixed
lines 1124 & 1142. Probably not what was intended......

Revision 2166 - (view) (annotate) - [select for diffs]
Modified Tue Dec 16 06:08:02 2008 UTC (10 years, 4 months ago) by jfenwick
File length: 51164 byte(s)
Diff to previous 2157
Fixed a bug related to lazy trace

Revision 2157 - (view) (annotate) - [select for diffs]
Modified Mon Dec 15 06:05:58 2008 UTC (10 years, 4 months ago) by jfenwick
File length: 50286 byte(s)
Diff to previous 2153
Some lazy fixes to the symmetric operation.

Revision 2153 - (view) (annotate) - [select for diffs]
Modified Fri Dec 12 00:18:18 2008 UTC (10 years, 4 months ago) by jfenwick
File length: 48525 byte(s)
Diff to previous 2152
Fixed a bug related to lazy tensor product.

Revision 2152 - (view) (annotate) - [select for diffs]
Modified Thu Dec 11 04:26:42 2008 UTC (10 years, 4 months ago) by jfenwick
File length: 47508 byte(s)
Diff to previous 2147
Fixed some errors related to lazy processing of scalars.
AutoLazy passes more unit tests before failing.

Revision 2147 - (view) (annotate) - [select for diffs]
Modified Wed Dec 10 04:41:26 2008 UTC (10 years, 4 months ago) by jfenwick
File length: 44818 byte(s)
Diff to previous 2092
Made some changes to c++ unit tests to accomodate AUTOLAZY.
whereZero and whereNonZero can now work with lazy data.
There are some double frees if AUTOLAZY is turned on so don't use it yet.

Revision 2092 - (view) (annotate) - [select for diffs]
Modified Tue Nov 25 04:18:17 2008 UTC (10 years, 5 months ago) by jfenwick
File length: 43332 byte(s)
Diff to previous 2086
Added macro to disable debug output from Lazy Data.

Revision 2086 - (view) (annotate) - [select for diffs]
Modified Mon Nov 24 02:38:50 2008 UTC (10 years, 5 months ago) by jfenwick
File length: 43128 byte(s)
Diff to previous 2085
Added checks in C_GeneralTensorProduct (Data:: and Delayed forms) as 
well as the DataAbstract Constructor to prevent Objects with Rank>4 
being created.

Moved the relevant #define into systemdep.

Removed some comments.


Revision 2085 - (view) (annotate) - [select for diffs]
Modified Mon Nov 24 00:45:48 2008 UTC (10 years, 5 months ago) by jfenwick
File length: 42860 byte(s)
Diff to previous 2084
Added c++ unit tests for new operations.
Added resolve to some operations in Data


Revision 2084 - (view) (annotate) - [select for diffs]
Modified Fri Nov 21 05:20:42 2008 UTC (10 years, 5 months ago) by jfenwick
File length: 42745 byte(s)
Diff to previous 2082
Fixed a warning in cpp unit tests under dodebug
Pointed the url for python doco at shake200 rather than iservo.
Added support for trace and transpose to LazyData.
Fixed bug in trace to initialise running totals.

Revision 2082 - (view) (annotate) - [select for diffs]
Modified Fri Nov 21 01:46:05 2008 UTC (10 years, 5 months ago) by caltinay
File length: 39090 byte(s)
Diff to previous 2066
Removed unused variable.


Revision 2066 - (view) (annotate) - [select for diffs]
Modified Thu Nov 20 05:31:33 2008 UTC (10 years, 5 months ago) by jfenwick
File length: 39119 byte(s)
Diff to previous 2050
Fixed Data::toString to look at the amount of data actually stored rather than the number of points in the domain.

Added support for GeneralTensorProduct to LazyData

Revision 2050 - (view) (annotate) - [select for diffs]
Modified Mon Nov 17 08:59:57 2008 UTC (10 years, 5 months ago) by phornby
File length: 30938 byte(s)
Diff to previous 2037
OK, I have to include this file in the experiment
to use the intelc math library on windows.



Revision 2037 - (view) (annotate) - [select for diffs]
Modified Thu Nov 13 06:17:12 2008 UTC (10 years, 5 months ago) by jfenwick
File length: 30790 byte(s)
Diff to previous 2021
Fixed some warnings in the unit tests.
Added support for symmetric and nonsymmetric operations on LazyData.

Revision 2021 - (view) (annotate) - [select for diffs]
Modified Mon Nov 10 14:07:49 2008 UTC (10 years, 5 months ago) by phornby
File length: 28145 byte(s)
Diff to previous 2005
Use the NO_ARG trick on the PROC_OP macro expansions.



Revision 2005 - (view) (annotate) - [select for diffs]
Modified Mon Nov 10 01:21:39 2008 UTC (10 years, 5 months ago) by jfenwick
File length: 28137 byte(s)
Copied from: branches/schroedinger_upto2002/escript/src/DataLazy.cpp revision 2004
Diff to previous 2003
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 2003 - (view) (annotate) - [select for diffs]
Modified Sun Nov 9 23:57:05 2008 UTC (10 years, 5 months ago) by jfenwick
Original Path: branches/schroedinger_upto2002/escript/src/DataLazy.cpp
File length: 28137 byte(s)
Diff to previous 1994
Merging from trunk again


Revision 1994 - (view) (annotate) - [select for diffs]
Modified Fri Nov 7 05:18:17 2008 UTC (10 years, 5 months ago) by phornby
Original Path: branches/schroedinger_upto1946/escript/src/DataLazy.cpp
File length: 28137 byte(s)
Diff to previous 1993
Revert to assuming template_function<>(arg,....) is allowed calling
syntax when the template arg type is well defined.



Revision 1993 - (view) (annotate) - [select for diffs]
Modified Fri Nov 7 04:52:15 2008 UTC (10 years, 5 months ago) by phornby
Original Path: branches/schroedinger_upto1946/escript/src/DataLazy.cpp
File length: 28137 byte(s)
Diff to previous 1987
Remove duplicate declaration of opToString.

Revision 1987 - (view) (annotate) - [select for diffs]
Modified Fri Nov 7 02:59:02 2008 UTC (10 years, 5 months ago) by phornby
Original Path: branches/schroedinger_upto1946/escript/src/DataLazy.cpp
File length: 28183 byte(s)
Diff to previous 1972
Test checkin to see if other compilers' macro preprocessors can sustain this abuse.

Added a TYPE argument to PROC_OP so that the user can optionally disambiguate the
type of the second argument. Needed for ::pow on windows.

Revision 1972 - (view) (annotate) - [select for diffs]
Modified Thu Nov 6 01:49:39 2008 UTC (10 years, 5 months ago) by jfenwick
Original Path: branches/schroedinger_upto1946/escript/src/DataLazy.cpp
File length: 28084 byte(s)
Diff to previous 1950
Branch commit.
Fixed to help windows determine template params.


Revision 1950 - (view) (annotate) - [select for diffs]
Modified Thu Oct 30 00:59:34 2008 UTC (10 years, 5 months ago) by jfenwick
Original Path: branches/schroedinger_upto1946/escript/src/DataLazy.cpp
File length: 27804 byte(s)
Diff to previous 1947
Branch commit
Brought schroedinger merge upto trunk@1946.


Revision 1947 - (view) (annotate) - [select for diffs]
Modified Wed Oct 29 23:19:45 2008 UTC (10 years, 5 months ago) by jfenwick
Original Path: branches/schroedinger_upto1946/escript/src/DataLazy.cpp
File length: 27785 byte(s)
Diff to previous 1943
This does not actually have the changes in it yet.


Revision 1943 - (view) (annotate) - [select for diffs]
Modified Wed Oct 29 04:05:14 2008 UTC (10 years, 5 months ago) by jfenwick
Original Path: branches/schroedinger/escript/src/DataLazy.cpp
File length: 27785 byte(s)
Diff to previous 1935
Branch commit
Added interpolation.


Revision 1935 - (view) (annotate) - [select for diffs]
Modified Mon Oct 27 06:06:39 2008 UTC (10 years, 6 months ago) by jfenwick
Original Path: branches/schroedinger/escript/src/DataLazy.cpp
File length: 27173 byte(s)
Diff to previous 1926
Branch commit
More cleanup of DataTestCase - still don't have all the LazyTests in 
there yet.
Added tests to make sure the resolve() operation does what it is 
supposed to.
Added non-constant versions of getPointOffset to DataAbstract 
classes.
Fixed a bug in deepCopy on DataLazy.
Changed setToZero to not check the type of the data.


Revision 1926 - (view) (annotate) - [select for diffs]
Modified Fri Oct 24 05:54:08 2008 UTC (10 years, 6 months ago) by jfenwick
Original Path: branches/schroedinger/escript/src/DataLazy.cpp
File length: 25840 byte(s)
Diff to previous 1910
Branch commit.
Changed some text so it doesn't mention DataArrayView.
Added some tests for DataLazy.
Factored common code in the Data tests (will add tests against lazy 
later).



Revision 1910 - (view) (annotate) - [select for diffs]
Modified Thu Oct 23 03:05:28 2008 UTC (10 years, 6 months ago) by jfenwick
Original Path: branches/schroedinger/escript/src/DataLazy.cpp
File length: 25840 byte(s)
Diff to previous 1908
Branch commit.
Support for ** added.


Revision 1908 - (view) (annotate) - [select for diffs]
Modified Thu Oct 23 01:35:31 2008 UTC (10 years, 6 months ago) by jfenwick
Original Path: branches/schroedinger/escript/src/DataLazy.cpp
File length: 25778 byte(s)
Diff to previous 1901
Branch commit.
Fixed to support scalar op non-scalar operations.


Revision 1901 - (view) (annotate) - [select for diffs]
Modified Wed Oct 22 02:44:34 2008 UTC (10 years, 6 months ago) by jfenwick
Original Path: branches/schroedinger/escript/src/DataLazy.cpp
File length: 24840 byte(s)
Diff to previous 1899
Improved the api_doxygen target a bit.
Added some documentation.
Added FORCERESOLVE macro to a number of operations.


Revision 1899 - (view) (annotate) - [select for diffs]
Modified Mon Oct 20 05:13:24 2008 UTC (10 years, 6 months ago) by jfenwick
Original Path: branches/schroedinger/escript/src/DataLazy.cpp
File length: 24053 byte(s)
Diff to previous 1898
Branch commit.
Added some doco to DataLazy.
Made Data::integrate aware of DataLazy.



Revision 1898 - (view) (annotate) - [select for diffs]
Modified Mon Oct 20 01:20:18 2008 UTC (10 years, 6 months ago) by jfenwick
Original Path: branches/schroedinger/escript/src/DataLazy.cpp
File length: 29022 byte(s)
Diff to previous 1889
Branch commit.
Now can add Tagged and Constant as well as Expanded.
Other operations to follow.



Revision 1889 - (view) (annotate) - [select for diffs]
Modified Thu Oct 16 05:57:09 2008 UTC (10 years, 6 months ago) by jfenwick
Original Path: branches/schroedinger/escript/src/DataLazy.cpp
File length: 23014 byte(s)
Diff to previous 1888
Branch commit
Rewrote resolve to take into account Tagged and Constant Data.
Mixing expanded and Tagged does not work yet.


Revision 1888 - (view) (annotate) - [select for diffs]
Modified Wed Oct 15 04:00:21 2008 UTC (10 years, 6 months ago) by jfenwick
Original Path: branches/schroedinger/escript/src/DataLazy.cpp
File length: 13096 byte(s)
Diff to previous 1886
Branch commit.
Added more binary ops.


Revision 1886 - (view) (annotate) - [select for diffs]
Modified Wed Oct 15 01:34:18 2008 UTC (10 years, 6 months ago) by jfenwick
Original Path: branches/schroedinger/escript/src/DataLazy.cpp
File length: 12266 byte(s)
Diff to previous 1885
Branch commit.
Added unary ops up to pos.
toString now prints expression.
Added inlines to UnaryFuncs.h.

Still only supporting DataExpanded.


Revision 1885 - (view) (annotate) - [select for diffs]
Modified Tue Oct 14 05:51:59 2008 UTC (10 years, 6 months ago) by jfenwick
Original Path: branches/schroedinger/escript/src/DataLazy.cpp
File length: 9122 byte(s)
Diff to previous 1884
memory management for basic ops done.


Revision 1884 - (view) (annotate) - [select for diffs]
Modified Tue Oct 14 04:54:59 2008 UTC (10 years, 6 months ago) by jfenwick
Original Path: branches/schroedinger/escript/src/DataLazy.cpp
File length: 9398 byte(s)
Diff to previous 1879
Branch commit
Not crashing.


Revision 1879 - (view) (annotate) - [select for diffs]
Modified Tue Oct 14 03:54:42 2008 UTC (10 years, 6 months ago) by jfenwick
Original Path: branches/schroedinger/escript/src/DataLazy.cpp
File length: 9053 byte(s)
Diff to previous 1868
Branch commit.
About to make some changes.


Revision 1868 - (view) (annotate) - [select for diffs]
Modified Thu Oct 9 06:30:49 2008 UTC (10 years, 6 months ago) by jfenwick
Original Path: branches/schroedinger/escript/src/DataLazy.cpp
File length: 4351 byte(s)
Diff to previous 1865
Branch commit.
Bulk resolve for + - * /


Revision 1865 - (view) (annotate) - [select for diffs]
Added Thu Oct 9 03:53:57 2008 UTC (10 years, 6 months ago) by jfenwick
Original Path: branches/schroedinger/escript/src/DataLazy.cpp
File length: 3525 byte(s)
Branch commit
Added some missing files.

In python can ask a data object if it-  isReady(), isConstant(), 
isLazy().




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