/[escript]/branches/clazy/escriptcore/src/DataLazy.cpp
ViewVC logotype

Log of /branches/clazy/escriptcore/src/DataLazy.cpp

Parent Directory Parent Directory | Revision Log Revision Log


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

Revision 6513 - (view) (annotate) - [select for diffs]
Modified Fri Mar 3 03:04:03 2017 UTC (7 months, 2 weeks ago) by jfenwick
File length: 64203 byte(s)
Diff to previous 6512
Add information for the promote operation
Operation not implemented yet



Revision 6512 - (view) (annotate) - [select for diffs]
Modified Fri Mar 3 02:01:57 2017 UTC (7 months, 2 weeks ago) by jfenwick
File length: 62825 byte(s)
Diff to previous 6511
Experiments on starting complex lazy


Revision 6511 - (view) (annotate) - [select for diffs]
Modified Fri Mar 3 01:41:39 2017 UTC (7 months, 2 weeks ago) by jfenwick
File length: 62652 byte(s)
Diff to previous 6469
For some experiments


Revision 6469 - (view) (annotate) - [select for diffs]
Modified Tue Jan 17 07:45:36 2017 UTC (8 months, 4 weeks ago) by jfenwick
Original Path: trunk/escriptcore/src/DataLazy.cpp
File length: 62652 byte(s)
Diff to previous 6174
Add zeroed copy


Revision 6174 - (view) (annotate) - [select for diffs]
Modified Fri Apr 15 03:41:03 2016 UTC (18 months ago) by caltinay
Original Path: trunk/escriptcore/src/DataLazy.cpp
File length: 62471 byte(s)
Diff to previous 6168
Some reorganisation of EscriptParams and related changes.
We now distinguish between modifiable parameters and build features.
To interrogate the latter use:
escript::hasFeature()  [ python: escript.hasFeature() ]
and
escript::listFeatures() [ python: escript.listFeatures() ]

I have decided to add specific getters for the remaining few parameters to
avoid the penalty of string comparisons and to remove the wealth of friend
declarations with Data* classes.

Also made some changes in SConstruct to make sure we set *all* preprocessor
directives *before* building anything.

Still to do is dealing with checks for direct solver and gmsh. The latter needs
to be a runtime check rather than a compile time check.


Revision 6168 - (view) (annotate) - [select for diffs]
Modified Wed Apr 13 03:08:12 2016 UTC (18 months ago) by jfenwick
Original Path: trunk/escriptcore/src/DataLazy.cpp
File length: 62400 byte(s)
Diff to previous 6144
Making Lazy and the rest of escript use the same operator enumeration



Revision 6144 - (view) (annotate) - [select for diffs]
Modified Wed Apr 6 05:25:13 2016 UTC (18 months, 1 week ago) by caltinay
Original Path: trunk/escriptcore/src/DataLazy.cpp
File length: 66467 byte(s)
Diff to previous 6125
last round of namespacing defines.


Revision 6125 - (view) (annotate) - [select for diffs]
Modified Tue Apr 5 04:12:13 2016 UTC (18 months, 1 week ago) by jfenwick
Original Path: trunk/escriptcore/src/DataLazy.cpp
File length: 66516 byte(s)
Diff to previous 6114
Fix incorrect behaviour of anti-symmetric for scalars.

Also add hermitian and antihermitian.
Very quick check looks ok but really not tested yet.


Revision 6114 - (view) (annotate) - [select for diffs]
Modified Fri Apr 1 03:37:52 2016 UTC (18 months, 2 weeks ago) by jfenwick
Original Path: trunk/escriptcore/src/DataLazy.cpp
File length: 66372 byte(s)
Diff to previous 6112
symmetric and antisymmetric now support complex

Also a number of methods are renamed from nonsymmetric


Revision 6112 - (view) (annotate) - [select for diffs]
Modified Thu Mar 31 09:40:10 2016 UTC (18 months, 2 weeks ago) by jfenwick
Original Path: trunk/escriptcore/src/DataLazy.cpp
File length: 66370 byte(s)
Diff to previous 6110
Relicense all the things!



Revision 6110 - (view) (annotate) - [select for diffs]
Modified Thu Mar 31 06:31:03 2016 UTC (18 months, 2 weeks ago) by jfenwick
Original Path: trunk/escriptcore/src/DataLazy.cpp
File length: 66380 byte(s)
Diff to previous 6088
Rename nonsymetric to antisymmetric.

nonsymmetric is now an alias to antisymmetric.
At some stage later, we can try to remove nonsymmetric



Revision 6088 - (view) (annotate) - [select for diffs]
Modified Wed Mar 23 00:44:58 2016 UTC (18 months, 3 weeks ago) by jfenwick
Original Path: trunk/escriptcore/src/DataLazy.cpp
File length: 66379 byte(s)
Diff to previous 6084
Removing old shared tracking


Revision 6084 - (view) (annotate) - [select for diffs]
Modified Tue Mar 22 04:23:02 2016 UTC (18 months, 3 weeks ago) by jfenwick
Original Path: trunk/escriptcore/src/DataLazy.cpp
File length: 66408 byte(s)
Diff to previous 6083
Renaming headers for (hopefully) easier understanding



Revision 6083 - (view) (annotate) - [select for diffs]
Modified Tue Mar 22 03:30:18 2016 UTC (18 months, 3 weeks ago) by jfenwick
Original Path: trunk/escriptcore/src/DataLazy.cpp
File length: 66404 byte(s)
Diff to previous 6082
Removing the DataMaths namespace


Revision 6082 - (view) (annotate) - [select for diffs]
Modified Tue Mar 22 02:57:49 2016 UTC (18 months, 3 weeks ago) by jfenwick
Original Path: trunk/escriptcore/src/DataLazy.cpp
File length: 66428 byte(s)
Diff to previous 6074
More cleanup

Moving some includes around.
The plan is to rename some includes to better reflect their purpose.
Removing inheritance from std::binary_function   (since that is deprecated).
Replacing some doubles with real_t.



Revision 6074 - (view) (annotate) - [select for diffs]
Modified Fri Mar 18 02:42:48 2016 UTC (19 months ago) by jfenwick
Original Path: trunk/escriptcore/src/DataLazy.cpp
File length: 66416 byte(s)
Diff to previous 6072
Starting to remove dead code.

DataAlgorithmAdapter is only used by the code which tests it.


Revision 6072 - (view) (annotate) - [select for diffs]
Modified Thu Mar 17 00:34:01 2016 UTC (19 months ago) by jfenwick
Original Path: trunk/escriptcore/src/DataLazy.cpp
File length: 66465 byte(s)
Diff to previous 6066
Remove horrible debug output


Revision 6066 - (view) (annotate) - [select for diffs]
Modified Tue Mar 15 06:42:55 2016 UTC (19 months ago) by jfenwick
Original Path: trunk/escriptcore/src/DataLazy.cpp
File length: 66516 byte(s)
Diff to previous 6057
Code path conversions.

TestDomain can now return a JMPI.
Some tests now use TestDomain (didn't want to undo all that work
from before I found the ASSERT fix).
Moving more code to new path.
Commenting out a bunch of old ops.



Revision 6057 - (view) (annotate) - [select for diffs]
Modified Thu Mar 10 06:00:58 2016 UTC (19 months, 1 week ago) by jfenwick
Original Path: trunk/escriptcore/src/DataLazy.cpp
File length: 68662 byte(s)
Diff to previous 6056
Well it passes my tests



Revision 6056 - (view) (annotate) - [select for diffs]
Modified Thu Mar 10 04:29:53 2016 UTC (19 months, 1 week ago) by jfenwick
Original Path: trunk/escriptcore/src/DataLazy.cpp
File length: 68154 byte(s)
Diff to previous 6042
Small fix - hard to find



Revision 6042 - (view) (annotate) - [select for diffs]
Modified Wed Mar 9 04:30:36 2016 UTC (19 months, 1 week ago) by jfenwick
Original Path: trunk/escriptcore/src/DataLazy.cpp
File length: 68126 byte(s)
Diff to previous 6001
Preliminary to lazy cleanup


Lazy is not templated for complex as yet but hopefully
we can relieve the dependency on the briarpatch of
the current methods.



Revision 6001 - (view) (annotate) - [select for diffs]
Modified Tue Mar 1 05:01:49 2016 UTC (19 months, 2 weeks ago) by caltinay
Original Path: trunk/escriptcore/src/DataLazy.cpp
File length: 67756 byte(s)
Diff to previous 5997
Bye bye esysUtils.
Also removed first.h as escript/DataTypes.h is now required everywhere
and fulfills that role by including a boost python header first.


Revision 5997 - (view) (annotate) - [select for diffs]
Modified Mon Feb 29 07:24:47 2016 UTC (19 months, 2 weeks ago) by caltinay
Original Path: trunk/escriptcore/src/DataLazy.cpp
File length: 67807 byte(s)
Diff to previous 5985
moved esys MPI to escript.


Revision 5985 - (view) (annotate) - [select for diffs]
Modified Fri Feb 26 02:21:44 2016 UTC (19 months, 3 weeks ago) by jfenwick
Original Path: trunk/escriptcore/src/DataLazy.cpp
File length: 67898 byte(s)
Diff to previous 5972
Adding #define for namespace on dynamic_pointer_cast<>

Also for static_pointer_cast<>
The plan is to make it easy to switch between boost::
and std::  for shared_ptr

This will be important if we start to rely on more recent
share_ptr features (guaranteed to be in c++11 not necessarily in boost)


Revision 5972 - (view) (annotate) - [select for diffs]
Modified Wed Feb 24 04:05:30 2016 UTC (19 months, 3 weeks ago) by caltinay
Original Path: trunk/escriptcore/src/DataLazy.cpp
File length: 67893 byte(s)
Diff to previous 5938
Major rework of our exceptions. We now have specific
AssertException
NotImplementedError
ValueError
which translate to the corresponding python exception type.
I have gone through a few places and replaced things but not everywhere.



Revision 5938 - (view) (annotate) - [select for diffs]
Modified Thu Feb 18 06:30:35 2016 UTC (19 months, 4 weeks ago) by jfenwick
Original Path: trunk/escriptcore/src/DataLazy.cpp
File length: 61055 byte(s)
Diff to previous 5863
Merging from 5937 on the complex branch

Some parts of complex work but all of it is
not unit tested and it is certainly not feature
complete (I haven't put any time into dealing with
subworld for complex).

The other important aspect of this merge is that
c++11 is now required to build escript.



Revision 5863 - (view) (annotate) - [select for diffs]
Modified Wed Jan 13 02:25:48 2016 UTC (21 months ago) by jfenwick
Original Path: trunk/escriptcore/src/DataLazy.cpp
File length: 60911 byte(s)
Diff to previous 5593
Copyright dates updated.
\version for doxygen to read


Revision 5593 - (view) (annotate) - [select for diffs]
Modified Fri Apr 24 01:36:26 2015 UTC (2 years, 5 months ago) by jfenwick
Original Path: trunk/escriptcore/src/DataLazy.cpp
File length: 60911 byte(s)
Diff to previous 5464
Fixing institution name to comply with policy

Revision 5464 - (view) (annotate) - [select for diffs]
Modified Sat Feb 14 00:25:03 2015 UTC (2 years, 8 months ago) by jfenwick
Original Path: trunk/escriptcore/src/DataLazy.cpp
File length: 60907 byte(s)
Diff to previous 5448
Fix for python compile warnings

Revision 5448 - (view) (annotate) - [select for diffs]
Modified Fri Feb 6 05:31:37 2015 UTC (2 years, 8 months ago) by jfenwick
Original Path: trunk/escriptcore/src/DataLazy.cpp
File length: 60857 byte(s)
Diff to previous 4657
Updating all the dates

Revision 4657 - (view) (annotate) - [select for diffs]
Modified Thu Feb 6 06:12:20 2014 UTC (3 years, 8 months ago) by jfenwick
Original Path: trunk/escriptcore/src/DataLazy.cpp
File length: 60857 byte(s)
Diff to previous 4634
I changed some files.
Updated copyright notices, added GeoComp.




Revision 4634 - (view) (annotate) - [select for diffs]
Modified Tue Jan 28 03:33:03 2014 UTC (3 years, 8 months ago) by jfenwick
Original Path: trunk/escriptcore/src/DataLazy.cpp
File length: 60789 byte(s)
Diff to previous 4621
Fixes to keep clang happy

Revision 4621 - (view) (annotate) - [select for diffs]
Modified Thu Jan 16 10:07:44 2014 UTC (3 years, 9 months ago) by jfenwick
Original Path: trunk/escriptcore/src/DataLazy.cpp
File length: 60793 byte(s)
Diff to previous 4507
getSampleDataRO is now const

Revision 4507 - (view) (annotate) - [select for diffs]
Modified Wed Jul 24 02:50:22 2013 UTC (4 years, 2 months ago) by jfenwick
Original Path: trunk/escriptcore/src/DataLazy.cpp
File length: 60721 byte(s)
Diff to previous 4286
It begins

Revision 4286 - (view) (annotate) - [select for diffs]
Modified Thu Mar 7 04:28:11 2013 UTC (4 years, 7 months ago) by caltinay
Original Path: trunk/escript/src/DataLazy.cpp
File length: 60721 byte(s)
Diff to previous 4264
Assorted spelling fixes.


Revision 4264 - (view) (annotate) - [select for diffs]
Modified Thu Feb 28 11:32:57 2013 UTC (4 years, 7 months ago) by jfenwick
Original Path: trunk/escript/src/DataLazy.cpp
File length: 60721 byte(s)
Diff to previous 4154
Trying

Revision 4154 - (view) (annotate) - [select for diffs]
Modified Tue Jan 22 09:30:23 2013 UTC (4 years, 8 months ago) by jfenwick
Original Path: trunk/escript/src/DataLazy.cpp
File length: 60653 byte(s)
Diff to previous 3981
Round 1 of copyright fixes

Revision 3981 - (view) (annotate) - [select for diffs]
Modified Fri Sep 21 02:47:54 2012 UTC (5 years ago) by jfenwick
Original Path: trunk/escript/src/DataLazy.cpp
File length: 60653 byte(s)
Diff to previous 3917
First pass of updating copyright notices

Revision 3917 - (view) (annotate) - [select for diffs]
Modified Thu Jul 5 00:17:50 2012 UTC (5 years, 3 months ago) by jfenwick
Original Path: trunk/escript/src/DataLazy.cpp
File length: 60534 byte(s)
Diff to previous 3911
Fixing a bug in lazy reduction operations.
Will add extra test to prevent regression once I can find out why the test is crashing


Revision 3911 - (view) (annotate) - [select for diffs]
Modified Thu Jun 14 01:01:03 2012 UTC (5 years, 4 months ago) by jfenwick
Original Path: trunk/escript/src/DataLazy.cpp
File length: 60526 byte(s)
Diff to previous 3490
Copyright changes

Revision 3490 - (view) (annotate) - [select for diffs]
Modified Wed Mar 30 02:24:33 2011 UTC (6 years, 6 months ago) by caltinay
Original Path: trunk/escript/src/DataLazy.cpp
File length: 60526 byte(s)
Diff to previous 3317
More gcc-4.6 fixes (mostly initialized-but-unused-var warnings)


Revision 3317 - (view) (annotate) - [select for diffs]
Modified Thu Oct 28 00:50:41 2010 UTC (6 years, 11 months ago) by caltinay
Original Path: trunk/escript/src/DataLazy.cpp
File length: 60562 byte(s)
Diff to previous 3259
Removed bogus mpi.h includes, replaced others by our esysUtils wrapper
and rearranged so that the wrapper always comes before netcdf which fixes
linking problems when disabling mpi on systems with netCDF 4.x.


Revision 3259 - (view) (annotate) - [select for diffs]
Modified Mon Oct 11 01:48:14 2010 UTC (7 years ago) by jfenwick
Original Path: trunk/escript/src/DataLazy.cpp
File length: 60569 byte(s)
Diff to previous 3035
Merging dudley and scons updates from branches


Revision 3035 - (view) (annotate) - [select for diffs]
Modified Thu Jun 10 01:48:41 2010 UTC (7 years, 4 months ago) by jfenwick
Original Path: trunk/escript/src/DataLazy.cpp
File length: 60569 byte(s)
Diff to previous 2881
Lazy node support for conditional evaluation.
It should be a complete operation now.


Revision 2881 - (view) (annotate) - [select for diffs]
Modified Thu Jan 28 02:03:15 2010 UTC (7 years, 8 months ago) by jfenwick
Original Path: trunk/escript/src/DataLazy.cpp
File length: 57954 byte(s)
Diff to previous 2825
Don't panic.
Updating copyright stamps


Revision 2825 - (view) (annotate) - [select for diffs]
Modified Thu Dec 17 00:10:06 2009 UTC (7 years, 10 months ago) by jfenwick
Original Path: trunk/escript/src/DataLazy.cpp
File length: 57954 byte(s)
Diff to previous 2824
More fixes to resolveGroup


Revision 2824 - (view) (annotate) - [select for diffs]
Modified Wed Dec 16 01:22:56 2009 UTC (7 years, 10 months ago) by jfenwick
Original Path: trunk/escript/src/DataLazy.cpp
File length: 57953 byte(s)
Diff to previous 2799
ResolveGroup fixed so it actually resolves groups.
Children, when you iterate backwards remember its i>=0 not i>0


Revision 2799 - (view) (annotate) - [select for diffs]
Modified Thu Dec 3 01:35:08 2009 UTC (7 years, 10 months ago) by jfenwick
Original Path: trunk/escript/src/DataLazy.cpp
File length: 57951 byte(s)
Diff to previous 2795
resolveGroup function added to python.
Unit tests for resolveGroup, resolve and delay.

Revision 2795 - (view) (annotate) - [select for diffs]
Modified Wed Dec 2 02:39:23 2009 UTC (7 years, 10 months ago) by jfenwick
Original Path: trunk/escript/src/DataLazy.cpp
File length: 55927 byte(s)
Diff to previous 2791
Removed node limit on lazy expressions.
The parameter LAZY_STR_FMT {0,1,2}  controls how lazy expressions are printed.
0 gives default output
1 gives a tree form.
2 just prints depth

Revision 2791 - (view) (annotate) - [select for diffs]
Modified Tue Dec 1 03:36:36 2009 UTC (7 years, 10 months ago) by jfenwick
Original Path: trunk/escript/src/DataLazy.cpp
File length: 55600 byte(s)
Diff to previous 2782
Added expression depth to toString for LazyData.


Revision 2782 - (view) (annotate) - [select for diffs]
Modified Thu Nov 26 04:42:29 2009 UTC (7 years, 10 months ago) by caltinay
Original Path: trunk/escript/src/DataLazy.cpp
File length: 55573 byte(s)
Diff to previous 2779
Added missing var declaration.


Revision 2779 - (view) (annotate) - [select for diffs]
Modified Thu Nov 26 03:51:15 2009 UTC (7 years, 10 months ago) by caltinay
Original Path: trunk/escript/src/DataLazy.cpp
File length: 55549 byte(s)
Diff to previous 2777
Fixed more instances of garbage=cstring+integer errors (d'oh!)


Revision 2777 - (view) (annotate) - [select for diffs]
Modified Thu Nov 26 01:06:00 2009 UTC (7 years, 10 months ago) by jfenwick
Original Path: trunk/escript/src/DataLazy.cpp
File length: 55425 byte(s)
Diff to previous 2770
Added the LAZY_STACK_PROF #define for Lazy.
If enabled lazy will print the (roughly) maximum stack used by any openmp 
thread over the course of this session.


Revision 2770 - (view) (annotate) - [select for diffs]
Modified Wed Nov 25 01:24:51 2009 UTC (7 years, 10 months ago) by jfenwick
Original Path: trunk/escript/src/DataLazy.cpp
File length: 54086 byte(s)
Diff to previous 2737
Removed buffer implementation of Lazy.
Removed supporting Alloc/Free Sample buffer calls.

Revision 2737 - (view) (annotate) - [select for diffs]
Modified Tue Nov 3 00:44:00 2009 UTC (7 years, 11 months ago) by jfenwick
Original Path: trunk/escript/src/DataLazy.cpp
File length: 87393 byte(s)
Diff to previous 2734
icc will now record compiler options in libraries.
escriptParams now has a pretty printer option for lazy expressions.

Revision 2734 - (view) (annotate) - [select for diffs]
Modified Fri Oct 30 05:39:48 2009 UTC (7 years, 11 months ago) by jfenwick
Original Path: trunk/escript/src/DataLazy.cpp
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 (8 years ago) by jfenwick
Original Path: trunk/escript/src/DataLazy.cpp
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 (8 years, 1 month ago) by jfenwick
Original Path: trunk/escript/src/DataLazy.cpp
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 (8 years, 1 month ago) by jfenwick
Original Path: trunk/escript/src/DataLazy.cpp
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 (8 years, 3 months ago) by jfenwick
Original Path: trunk/escript/src/DataLazy.cpp
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 (8 years, 3 months ago) by jfenwick
Original Path: trunk/escript/src/DataLazy.cpp
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 (8 years, 3 months ago) by jfenwick
Original Path: trunk/escript/src/DataLazy.cpp
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 (8 years, 3 months ago) by jfenwick
Original Path: trunk/escript/src/DataLazy.cpp
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 (8 years, 3 months ago) by jfenwick
Original Path: trunk/escript/src/DataLazy.cpp
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 (8 years, 3 months ago) by jfenwick
Original Path: trunk/escript/src/DataLazy.cpp
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 (8 years, 3 months ago) by jfenwick
Original Path: trunk/escript/src/DataLazy.cpp
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 (8 years, 4 months ago) by jfenwick
Original Path: trunk/escript/src/DataLazy.cpp
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 (8 years, 8 months ago) by jfenwick
Original Path: trunk/escript/src/DataLazy.cpp
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 (8 years, 9 months ago) by jfenwick
Original Path: trunk/escript/src/DataLazy.cpp
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 (8 years, 9 months ago) by jfenwick
Original Path: trunk/escript/src/DataLazy.cpp
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 (8 years, 10 months ago) by jfenwick
Original Path: trunk/escript/src/DataLazy.cpp
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 (8 years, 10 months ago) by phornby
Original Path: trunk/escript/src/DataLazy.cpp
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 (8 years, 10 months ago) by jfenwick
Original Path: trunk/escript/src/DataLazy.cpp
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 (8 years, 10 months ago) by jfenwick
Original Path: trunk/escript/src/DataLazy.cpp
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 (8 years, 10 months ago) by jfenwick
Original Path: trunk/escript/src/DataLazy.cpp
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 (8 years, 10 months ago) by jfenwick
Original Path: trunk/escript/src/DataLazy.cpp
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 (8 years, 10 months ago) by jfenwick
Original Path: trunk/escript/src/DataLazy.cpp
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 (8 years, 10 months ago) by jfenwick
Original Path: trunk/escript/src/DataLazy.cpp
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 (8 years, 10 months ago) by jfenwick
Original Path: trunk/escript/src/DataLazy.cpp
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 (8 years, 10 months ago) by jfenwick
Original Path: trunk/escript/src/DataLazy.cpp
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 (8 years, 10 months ago) by jfenwick
Original Path: trunk/escript/src/DataLazy.cpp
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 (8 years, 10 months ago) by caltinay
Original Path: trunk/escript/src/DataLazy.cpp
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 (8 years, 10 months ago) by jfenwick
Original Path: trunk/escript/src/DataLazy.cpp
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 (8 years, 11 months ago) by phornby
Original Path: trunk/escript/src/DataLazy.cpp
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 (8 years, 11 months ago) by jfenwick
Original Path: trunk/escript/src/DataLazy.cpp
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 (8 years, 11 months ago) by phornby
Original Path: trunk/escript/src/DataLazy.cpp
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 (8 years, 11 months ago) by jfenwick
Original Path: trunk/escript/src/DataLazy.cpp
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 (8 years, 11 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 (8 years, 11 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 (8 years, 11 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 (8 years, 11 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 (8 years, 11 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 (8 years, 11 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 (8 years, 11 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 (8 years, 11 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 (8 years, 11 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 (8 years, 11 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 (8 years, 11 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 (8 years, 11 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 (8 years, 11 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 (8 years, 11 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 (8 years, 11 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 (9 years 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 (9 years 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 (9 years 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 (9 years 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 (9 years 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 (9 years 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 (9 years 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 (9 years 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