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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

Revision 950 - (view) (annotate) - [select for diffs]
Modified Tue Feb 6 07:01:11 2007 UTC (12 years, 2 months ago) by gross
File length: 42415 byte(s)
Diff to previous 922 , to selected 782
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, 3 months ago) by gross
File length: 42176 byte(s)
Diff to previous 921 , to selected 782
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, 3 months ago) by gross
File length: 42013 byte(s)
Diff to previous 914 , to selected 782
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 914 - (view) (annotate) - [select for diffs]
Modified Thu Dec 14 04:38:18 2006 UTC (12 years, 4 months ago) by gross
File length: 41748 byte(s)
Diff to previous 876 , to selected 782
access to the number of samples added

Revision 876 - (view) (annotate) - [select for diffs]
Modified Thu Oct 19 03:50:23 2006 UTC (12 years, 6 months ago) by ksteube
File length: 41952 byte(s)
Diff to previous 854 , to selected 782
Added erf (error function) implementation


Revision 854 - (view) (annotate) - [select for diffs]
Modified Thu Sep 21 05:29:42 2006 UTC (12 years, 7 months ago) by gross
File length: 41806 byte(s)
Diff to previous 813 , to selected 782
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 813 - (view) (annotate) - [select for diffs]
Modified Mon Aug 21 02:08:47 2006 UTC (12 years, 8 months ago) by ksteube
File length: 43635 byte(s)
Diff to previous 804 , to selected 782
Tensor products for Data objects are now computed by a C++ method
C_GeneralTensorProduct, which calls C function matrix_matrix_product
to do the actual calculation.

Can perform product with either input transposed in place, meaning
without first computing the transpose in a separate step.


Revision 804 - (view) (annotate) - [select for diffs]
Modified Thu Aug 10 01:12:16 2006 UTC (12 years, 8 months ago) by gross
File length: 43031 byte(s)
Diff to previous 800 , to selected 782
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 (12 years, 8 months ago) by gross
File length: 43024 byte(s)
Diff to previous 790 , to selected 782
new function _swap. Python wrapper + testing is still missing.



Revision 790 - (view) (annotate) - [select for diffs]
Modified Wed Jul 26 23:12:34 2006 UTC (12 years, 9 months ago) by bcumming
File length: 43025 byte(s)
Diff to previous 789 , to selected 782
changes to escript/py_src/pdetools.py and /escript/src/Data.h/.cpp to
make the Locator work in MPI. escript::Data::mindp now returns a 3 tuple,
with the MPI rank of the process on which the minimum value occurs
included. escript::Data::convertToNumArrayFromDPNo also takes the ProcNo
to perform the MPI reduction.

This had to be implemented in both the MPI and non-MPI versions to allow
the necesary changes to the Python code in pdetools.py. In the non-MPI
version ProcNo is set to 0. This works for the explicit scripts tested
thus far, however if it causes problems in your scripts contact Ben or
Lutz, or revert the three files (pdetools.py, Data.h and Data.cpp) to
the previous version.  



Revision 789 - (view) (annotate) - [select for diffs]
Modified Wed Jul 26 05:41:11 2006 UTC (12 years, 9 months ago) by dhawcroft
File length: 43074 byte(s)
Diff to previous 783 , to selected 782
Inserted PASO_MPI macro in Data.h to match source file

Revision 783 - (view) (annotate) - [select for diffs]
Modified Tue Jul 18 01:32:50 2006 UTC (12 years, 9 months ago) by gross
File length: 42897 byte(s)
Diff to previous 782
coordinates, element size and normals returned by corresponding
FunctionSpace mesthods are now protected against updates. So 
+=, -=, *=, /=, setTaggedValue, fillFromNumArray will through an
excpetion.

The FunctionSpace class does nut buffer the oordinates, element size and
normals yet.



Revision 782 - (view) (annotate) - [selected]
Modified Tue Jul 18 00:47:47 2006 UTC (12 years, 9 months ago) by bcumming
File length: 42574 byte(s)
Diff to previous 775
Large number of changes to Finley for meshing in MPI.

- optimisation and neatening up of rectcanglular mesh generation code
- first and second order 1D, 2D and 3D rectangular meshes are now
  available in finley and escript using MPI.
- reduced meshes now generated in MPI, and interpolation to and from 
  reduced data types now supported.  


Revision 775 - (view) (annotate) - [select for diffs]
Modified Mon Jul 10 04:00:08 2006 UTC (12 years, 9 months ago) by ksteube
File length: 41834 byte(s)
Diff to previous 757 , to selected 782
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 (12 years, 10 months ago) by woo409
File length: 41395 byte(s)
Diff to previous 751 , to selected 782
+ Merge of intelc_win32 branch (revision 741:755) with trunk. Tested on iVEC altix (run_tests and py_tests all pass)


Revision 751 - (view) (annotate) - [select for diffs]
Modified Mon Jun 26 01:46:34 2006 UTC (12 years, 10 months ago) by bcumming
File length: 39151 byte(s)
Diff to previous 699 , to selected 782
Changes relating to the MPI version of escript
The standard OpenMP version of escript is unchanged

- updated data types (Finley_Mesh, Finley_NodeFile, etc) to store meshes
  over multiple MPI processes.
- added CommBuffer code in Paso for communication of Data associated
  with distributed meshes
- updates in Finley and Escript to support distributed data and operations
  on distributed data (such as interpolation).
- construction of RHS in MPI, so that simple explicit schemes (such as
  /docs/examples/wave.py without IO and the Locator) can run in MPI.
- updated mesh generation for first order line, rectangle and brick
  meshes and second order line meshes in MPI.        
- small changes to trunk/SConstruct and trunk/scons/ess_options.py to
  build the MPI version, these changes are turned off by default.


Revision 699 - (view) (annotate) - [select for diffs]
Modified Fri Mar 31 06:27:56 2006 UTC (13 years ago) by gross
File length: 39027 byte(s)
Diff to previous 698 , to selected 782
now float**Data is running

Revision 698 - (view) (annotate) - [select for diffs]
Modified Fri Mar 31 04:52:55 2006 UTC (13 years ago) by gross
File length: 38821 byte(s)
Diff to previous 615 , to selected 782
test with tagged data pass now

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


Revision 576 - (view) (annotate) - [select for diffs]
Modified Fri Mar 3 08:28:42 2006 UTC (13 years, 1 month ago) by gross
File length: 39199 byte(s)
Diff to previous 571 , to selected 782
some steps towards eigenvalue and eigenvector calculation

Revision 571 - (view) (annotate) - [select for diffs]
Modified Tue Feb 28 06:53:17 2006 UTC (13 years, 1 month ago) by jgs
File length: 38385 byte(s)
Diff to previous 562 , to selected 782
modify whereZero etc methods to also accept a tolerance parameter

Revision 562 - (view) (annotate) - [select for diffs]
Modified Thu Feb 23 05:03:16 2006 UTC (13 years, 2 months ago) by jgs
File length: 38301 byte(s)
Diff to previous 559 , to selected 782
further fix for DataTAgged::dp_algorithm, was not working for DataTagged objects with 0 tags

Revision 559 - (view) (annotate) - [select for diffs]
Modified Thu Feb 23 01:43:44 2006 UTC (13 years, 2 months ago) by jgs
File length: 38299 byte(s)
Diff to previous 544 , to selected 782
reimplement dp_algorithm for DataTagged, existing
implementation was complete rubbish
(ich bin so beschämt!)


Revision 544 - (view) (annotate) - [select for diffs]
Modified Tue Feb 21 01:23:23 2006 UTC (13 years, 2 months ago) by jgs
File length: 37623 byte(s)
Diff to previous 480 , to selected 782
minor comment fixes


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


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


Revision 286 - (view) (annotate) - [select for diffs]
Modified Thu Dec 1 06:40:20 2005 UTC (13 years, 4 months ago) by gross
Original Path: trunk/escript/src/Data/Data.h
File length: 37803 byte(s)
Diff to previous 155 , to selected 782
length method is removed as it is too slow. use length in util.py instead

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


Revision 151 - (view) (annotate) - [select for diffs]
Modified Thu Sep 22 01:55:00 2005 UTC (13 years, 7 months ago) by jgs
Original Path: trunk/esys2/escript/src/Data/Data.h
File length: 37948 byte(s)
Diff to previous 150 , to selected 782
Merge of development branch dev-02 back to main trunk on 2005-09-22


Revision 150 - (view) (annotate) - [select for diffs]
Modified Thu Sep 15 03:44:45 2005 UTC (13 years, 7 months ago) by jgs
Original Path: trunk/esys2/escript/src/Data/Data.h
File length: 37898 byte(s)
Diff to previous 149 , to selected 782
Merge of development branch dev-02 back to main trunk on 2005-09-15


Revision 149 - (view) (annotate) - [select for diffs]
Modified Thu Sep 1 03:31:39 2005 UTC (13 years, 7 months ago) by jgs
Original Path: trunk/esys2/escript/src/Data/Data.h
File length: 36857 byte(s)
Diff to previous 148 , to selected 782
Merge of development branch dev-02 back to main trunk on 2005-09-01


Revision 148 - (view) (annotate) - [select for diffs]
Modified Tue Aug 23 01:24:31 2005 UTC (13 years, 8 months ago) by jgs
Original Path: trunk/esys2/escript/src/Data/Data.h
File length: 36611 byte(s)
Diff to previous 147 , to selected 782
Merge of development branch dev-02 back to main trunk on 2005-08-23


Revision 147 - (view) (annotate) - [select for diffs]
Modified Fri Aug 12 01:45:47 2005 UTC (13 years, 8 months ago) by jgs
Original Path: trunk/esys2/escript/src/Data/Data.h
File length: 36537 byte(s)
Diff to previous 126 , to selected 782
erge of development branch dev-02 back to main trunk on 2005-08-12


Revision 126 - (view) (annotate) - [select for diffs]
Modified Fri Jul 22 03:53:08 2005 UTC (13 years, 9 months ago) by jgs
Original Path: trunk/esys2/escript/src/Data/Data.h
File length: 36330 byte(s)
Diff to previous 123 , to selected 782
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 (13 years, 9 months ago) by jgs
Original Path: trunk/esys2/escript/src/Data/Data.h
File length: 36168 byte(s)
Diff to previous 122 , to selected 782
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 (13 years, 10 months ago) by jgs
Original Path: trunk/esys2/escript/src/Data/Data.h
File length: 35806 byte(s)
Diff to previous 121 , to selected 782
Merge of development branch back to main trunk on 2005-06-09


Revision 121 - (view) (annotate) - [select for diffs]
Modified Fri May 6 04:26:16 2005 UTC (13 years, 11 months ago) by jgs
Original Path: trunk/esys2/escript/src/Data/Data.h
File length: 35766 byte(s)
Diff to previous 119 , to selected 782
Merge of development branch back to main trunk on 2005-05-06


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


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


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


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


Revision 108 - (view) (annotate) - [select for diffs]
Modified Thu Jan 27 06:21:59 2005 UTC (14 years, 3 months ago) by jgs
Original Path: trunk/esys2/escript/src/Data/Data.h
File length: 32508 byte(s)
Diff to previous 106 , to selected 782
*** empty log message ***


Revision 106 - (view) (annotate) - [select for diffs]
Modified Thu Dec 23 07:20:12 2004 UTC (14 years, 4 months ago) by jgs
Original Path: trunk/esys2/escript/src/Data/Data.h
File length: 32468 byte(s)
Diff to previous 104 , to selected 782
*** empty log message ***


Revision 104 - (view) (annotate) - [select for diffs]
Modified Fri Dec 17 07:43:12 2004 UTC (14 years, 4 months ago) by jgs
Original Path: trunk/esys2/escript/src/Data/Data.h
File length: 32398 byte(s)
Diff to previous 102 , to selected 782
*** empty log message ***


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


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


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


Revision 94 - (view) (annotate) - [select for diffs]
Added Wed Oct 27 00:45:54 2004 UTC (14 years, 6 months ago) by jgs
Original Path: trunk/esys2/escript/src/Data/Data.h
File length: 26799 byte(s)
Diff to selected 782
*** empty log message ***


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