/[escript]/trunk/escript/src/DataExpanded.h
ViewVC logotype

Log of /trunk/escript/src/DataExpanded.h

Parent Directory Parent Directory | Revision Log Revision Log


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

Revision 2881 - (view) (annotate) - [select for diffs]
Modified Thu Jan 28 02:03:15 2010 UTC (9 years, 6 months ago) by jfenwick
File length: 10475 byte(s)
Diff to previous 2792 , to selected 2653
Don't panic.
Updating copyright stamps


Revision 2792 - (view) (annotate) - [select for diffs]
Modified Tue Dec 1 05:02:18 2009 UTC (9 years, 8 months ago) by jfenwick
File length: 10475 byte(s)
Diff to previous 2766 , to selected 2653
Oops.
matrixInverse now checks MPI to see if any other ranks raised exceptions.

Revision 2766 - (view) (annotate) - [select for diffs]
Modified Mon Nov 23 05:10:53 2009 UTC (9 years, 8 months ago) by jfenwick
File length: 10432 byte(s)
Diff to previous 2742 , to selected 2653
inf, sup and Lsup now correctly handle +-infinity.
They also will return NaN if any part of their input is NaN.

This will break unit tests since it exposes the hidden bug (#447 in mantis)

This code relies on the ability to test for NaNs.
To do this it makes use of macros and functions from C99.
If you do not have a C99 compiler, then you will probably get the old behaviour.
That is, you won't know when you have NaNs.


Also did minor tweak to saveDataCSV doco.

Revision 2742 - (view) (annotate) - [select for diffs]
Modified Thu Nov 12 06:03:37 2009 UTC (9 years, 9 months ago) by jfenwick
File length: 10314 byte(s)
Diff to previous 2653
Merging changes from the lapack branch.

The inverse() operation has been moved into c++. [No lazy support for this operation yet.]
Optional Lapack support has been added for matrices larger than 3x3. 
service0 is set to use mkl_lapack.




Revision 2653 - (view) (annotate) - [selected]
Modified Tue Sep 8 04:26:30 2009 UTC (9 years, 11 months ago) by jfenwick
File length: 10147 byte(s)
Diff to previous 2548
Fix bug in maxGlobalDataPoint and minGlobalDataPoint.
They now give the correct answers and the datapoint ids returned are globally
correct.

Removed some #defines from before COW
Removed hasNoSamples() - I don't trust myself to use that properly let alone anybody else.



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

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

Revision 2458 - (view) (annotate) - [select for diffs]
Modified Wed Jun 3 06:18:21 2009 UTC (10 years, 2 months ago) by jfenwick
File length: 9996 byte(s)
Diff to previous 2271 , to selected 2653
Various numarray erasures


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


Revision 2005 - (view) (annotate) - [select for diffs]
Modified Mon Nov 10 01:21:39 2008 UTC (10 years, 9 months ago) by jfenwick
File length: 10483 byte(s)
Diff to previous 1811 , to selected 2653
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
File length: 10259 byte(s)
Diff to previous 1808 , to selected 2653
Copyright updated in all files


Revision 1808 - (view) (annotate) - [select for diffs]
Modified Thu Sep 25 03:14:56 2008 UTC (10 years, 10 months ago) by jfenwick
File length: 10294 byte(s)
Diff to previous 1799 , to selected 2653
Removed some commented out lines.
Modified DataExpanded to not throw when creating objects with zero 
samples.
Modified toString() to report "(data contains no samples)" rather than 
printing a blank line.
Modified DataExpanded::dump() and load so that they do not attempt so 
save/load the ids and data fields if the data object contains no 
samples.




Revision 1799 - (view) (annotate) - [select for diffs]
Modified Wed Sep 17 06:33:18 2008 UTC (10 years, 11 months ago) by jfenwick
File length: 11679 byte(s)
Diff to previous 1796 , to selected 2653
Added Data::copySelf() [Note: this is exposed as copy() in python].
This method returns a pointer to a deep copy of the target.
There are c++ tests but no python tests for this yet.

All DataAbstracts now have a deepCopy() which simplifies the 
implementation of the compy methods.



Revision 1796 - (view) (annotate) - [select for diffs]
Modified Wed Sep 17 01:45:46 2008 UTC (10 years, 11 months ago) by jfenwick
File length: 11553 byte(s)
Diff to previous 1487 , to selected 2653
Merged noarrayview branch onto trunk.



Revision 1487 - (view) (annotate) - [select for diffs]
Modified Thu Apr 10 05:28:01 2008 UTC (11 years, 4 months ago) by gross
File length: 11568 byte(s)
Diff to previous 1388 , to selected 2653
reordering when reading Netcfd files added.

Revision 1388 - (view) (annotate) - [select for diffs]
Modified Fri Jan 11 07:45:58 2008 UTC (11 years, 7 months ago) by trankine
File length: 11256 byte(s)
Diff to previous 1387 , to selected 2653
And get the *(&(*&(* name right

Revision 1387 - (view) (annotate) - [select for diffs]
Modified Fri Jan 11 07:45:26 2008 UTC (11 years, 7 months ago) by trankine
Original Path: temp/escript/src/DataExpanded.h
File length: 11256 byte(s)
Diff to previous 1384 , to selected 2653
Restore the trunk that existed before the windows changes were committed to the (now moved to branches) old trunk.

Revision 1384 - (view) (annotate) - [select for diffs]
Modified Fri Jan 11 02:29:38 2008 UTC (11 years, 7 months ago) by phornby
Original Path: temp_trunk_copy/escript/src/DataExpanded.h
File length: 11256 byte(s)
Diff to previous 1358 , to selected 2653
Make a temp copy of the trunk before checking in the windows changes



Revision 1358 - (view) (annotate) - [select for diffs]
Modified Wed Dec 5 03:41:06 2007 UTC (11 years, 8 months ago) by gross
File length: 11256 byte(s)
Diff to previous 1312 , to selected 2653
setTaggedValue works now for expanded data.

Revision 1312 - (view) (annotate) - [select for diffs]
Modified Mon Sep 24 06:18:44 2007 UTC (11 years, 10 months ago) by ksteube
File length: 10925 byte(s)
Diff to previous 1118 , to selected 2653
The MPI branch is hereby closed. All future work should be in trunk.

Previously in revision 1295 I merged the latest changes to trunk into trunk-mpi-branch.
In this revision I copied all files from trunk-mpi-branch over the corresponding
trunk files. I did not use 'svn merge', it was a copy.


Revision 1118 - (view) (annotate) - [select for diffs]
Modified Tue Apr 24 08:55:04 2007 UTC (12 years, 3 months ago) by gross
File length: 11059 byte(s)
Diff to previous 964 , to selected 2653
problem with reset of faulty PDE rhs fixed.

Revision 964 - (view) (annotate) - [select for diffs]
Modified Tue Feb 13 05:10:26 2007 UTC (12 years, 6 months ago) by gross
File length: 10958 byte(s)
Diff to previous 950 , to selected 2653
The set/getRefVal functions of Data objects have been removed (mainly to avoid later problems with MPI).
Moreover, a faster access to the reference id of samples has been introduced. I don't think that anybody will
profit form this at this stage but it will allow a faster dump of data objects.



Revision 950 - (view) (annotate) - [select for diffs]
Modified Tue Feb 6 07:01:11 2007 UTC (12 years, 6 months ago) by gross
File length: 12714 byte(s)
Diff to previous 922 , to selected 2653
escript data objects can now be saved to netCDF files, see http://www.unidata.ucar.edu/software/netcdf/.
Currently only constant data are implemented with expanded and tagged data to follow.
There are two new functions to dump a data object

   s=Data(...)
   s.dump(<filename>)

and to recover it

   s=load(<filename>, domain)

Notice that the function space of s is recovered but domain is still need. 

dump and load will replace archive and extract.

The installation needs now the netCDF installed. 



Revision 922 - (view) (annotate) - [select for diffs]
Modified Fri Jan 5 04:23:05 2007 UTC (12 years, 7 months ago) by gross
File length: 12546 byte(s)
Diff to previous 921 , to selected 2653
setValueOfDataPoint accepts double value as argument now

Revision 921 - (view) (annotate) - [select for diffs]
Modified Fri Jan 5 00:54:37 2007 UTC (12 years, 7 months ago) by gross
File length: 12050 byte(s)
Diff to previous 854 , to selected 2653
I have done some clarification on functions that allow to access individual data point values in a Data object. 
The term "data point number" is always local on a MPI process and referes to the value (data_point_in_sample, sample)
as a single identifyer (data_point_in_sample + sample * number_data_points_per_sample). a "global data point number"
referes to a tuple of a processour id and local data point number.

The function convertToNumArrayFromSampleNo has been removed now and convertToNumArrayFromDPNo renamed to getValueOfDataPoint.
There are two new functions:

   getNumberOfDataPoints
   setValueOfDataPoint

This allows you to do things like:

  in=Data(..)
  out=Data(..)
   for i in xrange(in.getNumberOfDataPoints())
       in_loc=in.getValueOfDataPoint(i)
       out_loc=< some operations on in_loc>
       out.setValueOfDataPoint(i,out_loc)


Also mindp  is renamed to  minGlobalDataPoint and there is a new function getValueOfGlobalDataPoint. While in MPI the functions getNumberOfDataPoints and getValueOfDataPoint are working locally on each process (so the code above is executed in parallel).
the latter allows getting a single value across all processors. 



Revision 854 - (view) (annotate) - [select for diffs]
Modified Thu Sep 21 05:29:42 2006 UTC (12 years, 11 months ago) by gross
File length: 11547 byte(s)
Diff to previous 804 , to selected 2653
Some modifications to the binary operations +,-,*/, pow. 
The code is a bit simpler now and more efficient has there is
no reseising required now. the resizing method has been removed as
it is very, very inefficient. Even serial code should be faster now.
It is now forbidden to do an inplace update of scalar data object with an object 
of rank >0 as this is very slow (and does not make much sense). 



Revision 804 - (view) (annotate) - [select for diffs]
Modified Thu Aug 10 01:12:16 2006 UTC (13 years ago) by gross
File length: 11808 byte(s)
Diff to previous 800 , to selected 2653
the new function swap_axes + tests added. (It replaces swap).



Revision 800 - (view) (annotate) - [select for diffs]
Modified Tue Aug 8 11:23:18 2006 UTC (13 years ago) by gross
File length: 11813 byte(s)
Diff to previous 775 , to selected 2653
new function _swap. Python wrapper + testing is still missing.



Revision 775 - (view) (annotate) - [select for diffs]
Modified Mon Jul 10 04:00:08 2006 UTC (13 years, 1 month ago) by ksteube
File length: 11547 byte(s)
Diff to previous 757 , to selected 2653
Modified the following python methods in escript/py_src/util.py to
call faster C++ methods:
	escript_trace
	escript_transpose
	escript_symmetric
	escript_nonsymmetric


Revision 757 - (view) (annotate) - [select for diffs]
Modified Mon Jun 26 13:12:56 2006 UTC (13 years, 1 month ago) by woo409
File length: 10828 byte(s)
Diff to previous 615 , to selected 2653
+ Merge of intelc_win32 branch (revision 741:755) with trunk. Tested on iVEC altix (run_tests and py_tests all pass)


Revision 615 - (view) (annotate) - [select for diffs]
Modified Wed Mar 22 02:12:00 2006 UTC (13 years, 5 months ago) by elspeth
File length: 10426 byte(s)
Diff to previous 580 , to selected 2653
More copyright information.


Revision 580 - (view) (annotate) - [select for diffs]
Modified Wed Mar 8 05:45:51 2006 UTC (13 years, 5 months ago) by gross
File length: 10748 byte(s)
Diff to previous 480 , to selected 2653
faster version of the local eigenvalue calculation

Revision 480 - (view) (annotate) - [select for diffs]
Modified Wed Feb 1 05:15:12 2006 UTC (13 years, 6 months ago) by jgs
File length: 9969 byte(s)
Diff to previous 474 , to selected 2653
rationalise #includes and forward declarations


Revision 474 - (view) (annotate) - [select for diffs]
Modified Mon Jan 30 04:23:44 2006 UTC (13 years, 6 months ago) by jgs
File length: 10093 byte(s)
Copied from: trunk/escript/src/Data/DataExpanded.h revision 469
Diff to previous 155 , to selected 2653
restructure escript source tree
move src/Data/* -> src
remove inc
modify #includes and cpppath settings accordingly


Revision 155 - (view) (annotate) - [select for diffs]
Modified Wed Nov 9 02:02:19 2005 UTC (13 years, 9 months ago) by jgs
Original Path: trunk/escript/src/Data/DataExpanded.h
File length: 10093 byte(s)
Diff to previous 126 , to selected 2653
move all directories from trunk/esys2 into trunk and remove esys2


Revision 126 - (view) (annotate) - [select for diffs]
Modified Fri Jul 22 03:53:08 2005 UTC (14 years, 1 month ago) by jgs
Original Path: trunk/esys2/escript/src/Data/DataExpanded.h
File length: 10093 byte(s)
Diff to previous 123 , to selected 2653
Merge of development branch back to main trunk on 2005-07-22


Revision 123 - (view) (annotate) - [select for diffs]
Modified Fri Jul 8 04:08:13 2005 UTC (14 years, 1 month ago) by jgs
Original Path: trunk/esys2/escript/src/Data/DataExpanded.h
File length: 9506 byte(s)
Diff to previous 122 , to selected 2653
Merge of development branch back to main trunk on 2005-07-08


Revision 122 - (view) (annotate) - [select for diffs]
Modified Thu Jun 9 05:38:05 2005 UTC (14 years, 2 months ago) by jgs
Original Path: trunk/esys2/escript/src/Data/DataExpanded.h
File length: 8802 byte(s)
Diff to previous 119 , to selected 2653
Merge of development branch back to main trunk on 2005-06-09


Revision 119 - (view) (annotate) - [select for diffs]
Modified Tue Apr 12 04:45:05 2005 UTC (14 years, 4 months ago) by jgs
Original Path: trunk/esys2/escript/src/Data/DataExpanded.h
File length: 8793 byte(s)
Diff to previous 117 , to selected 2653
*** empty log message ***


Revision 117 - (view) (annotate) - [select for diffs]
Modified Fri Apr 1 05:48:57 2005 UTC (14 years, 4 months ago) by jgs
Original Path: trunk/esys2/escript/src/Data/DataExpanded.h
File length: 8298 byte(s)
Diff to previous 113 , to selected 2653
*** empty log message ***


Revision 113 - (view) (annotate) - [select for diffs]
Modified Mon Feb 28 07:06:33 2005 UTC (14 years, 5 months ago) by jgs
Original Path: trunk/esys2/escript/src/Data/DataExpanded.h
File length: 7447 byte(s)
Diff to previous 110 , to selected 2653
*** empty log message ***


Revision 110 - (view) (annotate) - [select for diffs]
Modified Mon Feb 14 04:14:42 2005 UTC (14 years, 6 months ago) by jgs
Original Path: trunk/esys2/escript/src/Data/DataExpanded.h
File length: 7440 byte(s)
Diff to previous 102 , to selected 2653
*** empty log message ***


Revision 102 - (view) (annotate) - [select for diffs]
Modified Wed Dec 15 07:08:39 2004 UTC (14 years, 8 months ago) by jgs
Original Path: trunk/esys2/escript/src/Data/DataExpanded.h
File length: 5755 byte(s)
Diff to previous 100 , to selected 2653
*** empty log message ***


Revision 100 - (view) (annotate) - [select for diffs]
Modified Wed Dec 15 03:48:48 2004 UTC (14 years, 8 months ago) by jgs
Original Path: trunk/esys2/escript/src/Data/DataExpanded.h
File length: 5582 byte(s)
Diff to previous 97 , to selected 2653
*** empty log message ***


Revision 97 - (view) (annotate) - [select for diffs]
Modified Tue Dec 14 05:39:33 2004 UTC (14 years, 8 months ago) by jgs
Original Path: trunk/esys2/escript/src/Data/DataExpanded.h
File length: 5755 byte(s)
Diff to previous 82 , to selected 2653
*** empty log message ***


Revision 82 - (view) (annotate) - [select for diffs]
Added Tue Oct 26 06:53:54 2004 UTC (14 years, 9 months ago) by jgs
Original Path: trunk/esys2/escript/src/Data/DataExpanded.h
File length: 5582 byte(s)
Diff to selected 2653
Initial revision


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