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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

Revision 922 - (view) (annotate) - [select for diffs]
Modified Fri Jan 5 04:23:05 2007 UTC (12 years, 9 months ago) by gross
File length: 11320 byte(s)
Diff to previous 921
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, 9 months ago) by gross
File length: 11245 byte(s)
Diff to previous 914
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, 10 months ago) by gross
File length: 11165 byte(s)
Diff to previous 876
access to the number of samples added

Revision 876 - (view) (annotate) - [select for diffs]
Modified Thu Oct 19 03:50:23 2006 UTC (13 years ago) by ksteube
File length: 11104 byte(s)
Diff to previous 813
Added erf (error function) implementation


Revision 813 - (view) (annotate) - [select for diffs]
Modified Mon Aug 21 02:08:47 2006 UTC (13 years, 2 months ago) by ksteube
File length: 11067 byte(s)
Diff to previous 804
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 (13 years, 2 months ago) by gross
File length: 10840 byte(s)
Diff to previous 800
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, 2 months ago) by gross
File length: 10831 byte(s)
Diff to previous 797
new function _swap. Python wrapper + testing is still missing.



Revision 797 - (view) (annotate) - [select for diffs]
Modified Thu Aug 3 02:03:18 2006 UTC (13 years, 2 months ago) by gross
File length: 10804 byte(s)
Diff to previous 783
function added to manually free unused memory in the memory manager

Revision 783 - (view) (annotate) - [select for diffs]
Modified Tue Jul 18 01:32:50 2006 UTC (13 years, 3 months ago) by gross
File length: 10720 byte(s)
Diff to previous 775
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 775 - (view) (annotate) - [select for diffs]
Modified Mon Jul 10 04:00:08 2006 UTC (13 years, 3 months ago) by ksteube
File length: 10612 byte(s)
Diff to previous 767
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 767 - (view) (annotate) - [select for diffs]
Modified Fri Jun 30 07:29:08 2006 UTC (13 years, 3 months ago) by gross
File length: 10455 byte(s)
Diff to previous 699
new FunctionSpace method setTags added

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

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

Revision 693 - (view) (annotate) - [select for diffs]
Modified Thu Mar 30 08:34:08 2006 UTC (13 years, 6 months ago) by gross
File length: 10426 byte(s)
Diff to previous 682
DataVariable removed. it is not used.

Revision 682 - (view) (annotate) - [select for diffs]
Modified Mon Mar 27 02:43:09 2006 UTC (13 years, 6 months ago) by robwdcock
File length: 10452 byte(s)
Diff to previous 615
+ NEW BUILD SYSTEM

This commit contains the new build system with cross-platform support.
Most things work are before though you can have more control.

ENVIRONMENT settings have changed:
+ You no longer require LD_LIBRARY_PATH or PYTHONPATH to point to the
esysroot for building and testing performed via scons
+ ACcESS altix users: It is recommended you change your modules to load
the latest intel compiler and other libraries required by boost to match
the setup in svn (you can override). The correct modules are as follows

module load intel_cc.9.0.026
export
MODULEPATH=${MODULEPATH}:/data/raid2/toolspp4/modulefiles/gcc-3.3.6
module load boost/1.33.0/python-2.4.1
module load python/2.4.1
module load numarray/1.3.3



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


Revision 595 - (view) (annotate) - [select for diffs]
Modified Tue Mar 14 23:52:45 2006 UTC (13 years, 7 months ago) by gross
File length: 10922 byte(s)
Diff to previous 576
test_utilOnFinley fixed (did run the tests that still fail)

Revision 576 - (view) (annotate) - [select for diffs]
Modified Fri Mar 3 08:28:42 2006 UTC (13 years, 7 months ago) by gross
File length: 11201 byte(s)
Diff to previous 571
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, 7 months ago) by jgs
File length: 11041 byte(s)
Diff to previous 480
modify whereZero etc methods to also accept a tolerance parameter

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


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


Revision 468 - (view) (annotate) - [select for diffs]
Modified Wed Jan 25 06:50:39 2006 UTC (13 years, 8 months ago) by jgs
Original Path: trunk/escript/src/Data/escriptcpp.cpp
File length: 11009 byte(s)
Diff to previous 391
reorganised esysUtils to remove inc directory

Revision 391 - (view) (annotate) - [select for diffs]
Modified Tue Dec 20 05:36:50 2005 UTC (13 years, 10 months ago) by gross
Original Path: trunk/escript/src/Data/escriptcpp.cpp
File length: 11019 byte(s)
Diff to previous 358
intreface for setting the number of threads from python

Revision 358 - (view) (annotate) - [select for diffs]
Modified Wed Dec 14 07:55:19 2005 UTC (13 years, 10 months ago) by cochrane
Original Path: trunk/escript/src/Data/escriptcpp.cpp
File length: 10873 byte(s)
Diff to previous 285
Updated link to epydoc generated documentation on the web site.


Revision 285 - (view) (annotate) - [select for diffs]
Modified Thu Dec 1 06:40:04 2005 UTC (13 years, 10 months ago) by gross
Original Path: trunk/escript/src/Data/escriptcpp.cpp
File length: 10882 byte(s)
Diff to previous 155
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, 11 months ago) by jgs
Original Path: trunk/escript/src/Data/escriptcpp.cpp
File length: 10975 byte(s)
Diff to previous 153
move all directories from trunk/esys2 into trunk and remove esys2


Revision 153 - (view) (annotate) - [select for diffs]
Modified Tue Oct 25 01:51:20 2005 UTC (13 years, 11 months ago) by jgs
Original Path: trunk/esys2/escript/src/Data/escriptcpp.cpp
File length: 10975 byte(s)
Diff to previous 150
Merge of development branch dev-02 back to main trunk on 2005-10-25


Revision 150 - (view) (annotate) - [select for diffs]
Modified Thu Sep 15 03:44:45 2005 UTC (14 years, 1 month ago) by jgs
Original Path: trunk/esys2/escript/src/Data/escriptcpp.cpp
File length: 10779 byte(s)
Diff to previous 149
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 (14 years, 1 month ago) by jgs
Original Path: trunk/esys2/escript/src/Data/escriptcpp.cpp
File length: 10579 byte(s)
Diff to previous 148
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 (14 years, 2 months ago) by jgs
Original Path: trunk/esys2/escript/src/Data/escriptcpp.cpp
File length: 10485 byte(s)
Diff to previous 147
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 (14 years, 2 months ago) by jgs
Original Path: trunk/esys2/escript/src/Data/escriptcpp.cpp
File length: 10486 byte(s)
Diff to previous 126
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 (14 years, 3 months ago) by jgs
Original Path: trunk/esys2/escript/src/Data/escriptcpp.cpp
File length: 10486 byte(s)
Diff to previous 123
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, 3 months ago) by jgs
Original Path: trunk/esys2/escript/src/Data/escriptcpp.cpp
File length: 10386 byte(s)
Diff to previous 122
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, 4 months ago) by jgs
Original Path: trunk/esys2/escript/src/Data/escriptcpp.cpp
File length: 10327 byte(s)
Diff to previous 121
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 (14 years, 5 months ago) by jgs
Original Path: trunk/esys2/escript/src/Data/escriptcpp.cpp
File length: 9742 byte(s)
Diff to previous 119
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, 6 months ago) by jgs
Original Path: trunk/esys2/escript/src/Data/escriptcpp.cpp
File length: 9176 byte(s)
Diff to previous 117
*** empty log message ***


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


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


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


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


Revision 102 - (view) (annotate) - [select for diffs]
Added Wed Dec 15 07:08:39 2004 UTC (14 years, 10 months ago) by jgs
Original Path: trunk/esys2/escript/src/Data/escriptcpp.cpp
File length: 8711 byte(s)
*** 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