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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

Revision 2282 - (view) (annotate) - [select for diffs]
Modified Thu Feb 19 06:30:19 2009 UTC (10 years, 8 months ago) by jfenwick
File length: 81407 byte(s)
Diff to previous 2271 , to selected 1312
setTaggedValueByName now throws if the tag name does not exist.
The documentation says this is what happens - now the code matches the doco.
This resolves issue 238

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


Revision 2260 - (view) (annotate) - [select for diffs]
Modified Tue Feb 10 04:50:10 2009 UTC (10 years, 9 months ago) by jfenwick
File length: 86548 byte(s)
Diff to previous 2246 , to selected 1312
That should be the last of the copyWithMask related errors.



Revision 2246 - (view) (annotate) - [select for diffs]
Modified Thu Feb 5 06:04:55 2009 UTC (10 years, 9 months ago) by jfenwick
File length: 85997 byte(s)
Diff to previous 2200 , to selected 1312
Made some changes to the way copyWithMask works.


Revision 2200 - (view) (annotate) - [select for diffs]
Modified Thu Jan 8 23:55:40 2009 UTC (10 years, 10 months ago) by jfenwick
File length: 81519 byte(s)
Diff to previous 2199 , to selected 1312
Fixed python string substitution in error messages for trace and transpose.
Added tests for invalid axis offsets for trace on the c++ side.

Revision 2199 - (view) (annotate) - [select for diffs]
Modified Thu Jan 8 06:10:52 2009 UTC (10 years, 10 months ago) by jfenwick
File length: 81345 byte(s)
Diff to previous 2179 , to selected 1312
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 2179 - (view) (annotate) - [select for diffs]
Modified Thu Dec 18 00:23:55 2008 UTC (10 years, 10 months ago) by caltinay
File length: 81283 byte(s)
Diff to previous 2147 , to selected 1312
Fixed compilation with boost 1.37 (namespace clash).


Revision 2147 - (view) (annotate) - [select for diffs]
Modified Wed Dec 10 04:41:26 2008 UTC (10 years, 11 months ago) by jfenwick
File length: 81278 byte(s)
Diff to previous 2146 , to selected 1312
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 2146 - (view) (annotate) - [select for diffs]
Modified Wed Dec 10 02:59:46 2008 UTC (10 years, 11 months ago) by jfenwick
File length: 81088 byte(s)
Diff to previous 2105 , to selected 1312
Replaced duplicate code in Data with macro calls.
Added AUTOLAZY parameter (defaults to off for now.)

Revision 2105 - (view) (annotate) - [select for diffs]
Modified Fri Nov 28 01:52:12 2008 UTC (10 years, 11 months ago) by jfenwick
File length: 85301 byte(s)
Diff to previous 2089 , to selected 1312
Data::copySelf() now returns an object instead of a pointer.
Fixed a bug in copyFromArray relating to expanded data.

Revision 2089 - (view) (annotate) - [select for diffs]
Modified Mon Nov 24 06:07:29 2008 UTC (10 years, 11 months ago) by jfenwick
File length: 85302 byte(s)
Diff to previous 2087 , to selected 1312
Resolve mantis issue 216.

Removed the asAbstractContinuousDomain(X) member which did not take cast 
failure into account.
Rewrote the few places where it was used.




Revision 2087 - (view) (annotate) - [select for diffs]
Modified Mon Nov 24 04:51:30 2008 UTC (10 years, 11 months ago) by jfenwick
File length: 85221 byte(s)
Diff to previous 2086 , to selected 1312
Addressing mantis issue #221.
Interpolation.. and probeInterpolation.. now "work" for the NullDomain.
Work means throw a descriptive exception if you try to move into or out 
of the NullDomain.
The bad_cast exception related to this has been fixed.



Revision 2086 - (view) (annotate) - [select for diffs]
Modified Mon Nov 24 02:38:50 2008 UTC (10 years, 11 months ago) by jfenwick
File length: 85194 byte(s)
Diff to previous 2085 , to selected 1312
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, 11 months ago) by jfenwick
File length: 85934 byte(s)
Diff to previous 2084 , to selected 1312
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, 11 months ago) by jfenwick
File length: 85826 byte(s)
Diff to previous 2081 , to selected 1312
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 2081 - (view) (annotate) - [select for diffs]
Modified Fri Nov 21 01:28:31 2008 UTC (10 years, 11 months ago) by caltinay
File length: 86281 byte(s)
Diff to previous 2078 , to selected 1312
escript/Data: Another fix for parallel var initialization. Also, the (error) return value of MPI_Gather was not used. I applied the same 'hack' as in other places in the file, namely declaring the variable beforehand but still ignoring the return value :-/


Revision 2078 - (view) (annotate) - [select for diffs]
Modified Thu Nov 20 16:10:10 2008 UTC (10 years, 11 months ago) by phornby
File length: 86256 byte(s)
Diff to previous 2066 , to selected 1312
Two changes.

1. Move blocktimer from escript to esysUtils.
2. Make it possible to link to paso as a DLL or .so.

Should have no effect on 'nix's

In respect of 1., blocktimer had begun to spring up everywhere, so
for the moment I thought it best to move it to the only other library that
pops up all over the place.

In respect of 2., paso needed to be a DLL in order to use the windows intelc /fast
option, which does aggressive multi-file optimisations. Even in its current form, it either
vectorises or parallelises  hundreds more loops in the esys system than appear in the pragmas.

In achieving 2. I have not been too delicate in adding

PASO_DLL_API

declarations to the .h files in paso/src. Only toward the end of the process of
the conversion, when the number of linker errors dropped below 20, say, did I choosy about what
functions in a header I declared PASO_DLL_API. As a result, there are likely to be many routines
declared as external functions symbols that are in fact internal to the paso DLL. 
Why is this an issue?  It prevents the intelc compiler from getting aggressive on the paso module.
With pain there is sometimes gain. At least all the DLL rules in windows give good
(non-microsoft) compiler writers a chance to really shine.

So, if you should see a PASO_DLL_API on a function in a paso header file,
and think to yourself, "that function is only called in paso, why export it?", then feel free to
delete the PASO_DLL_API export declaration.

Here's hoping for no breakage.....

Revision 2066 - (view) (annotate) - [select for diffs]
Modified Thu Nov 20 05:31:33 2008 UTC (10 years, 11 months ago) by jfenwick
File length: 86254 byte(s)
Diff to previous 2049 , to selected 1312
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 2049 - (view) (annotate) - [select for diffs]
Modified Mon Nov 17 08:54:33 2008 UTC (10 years, 11 months ago) by phornby
File length: 86085 byte(s)
Diff to previous 2048 , to selected 1312
A little refinement of what to leave out of UnaryFuncs.h
if using the intelc compiler on windows.



Revision 2048 - (view) (annotate) - [select for diffs]
Modified Mon Nov 17 08:46:00 2008 UTC (10 years, 11 months ago) by phornby
File length: 86143 byte(s)
Diff to previous 2037 , to selected 1312
Experimental commit to move the code to a windows box
on the other side of a firewall. Purpose: add support for the
imploved intelc math library on windows.



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

Revision 2005 - (view) (annotate) - [select for diffs]
Modified Mon Nov 10 01:21:39 2008 UTC (11 years ago) by jfenwick
File length: 85415 byte(s)
Diff to previous 1977 , to selected 1312
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 1977 - (view) (annotate) - [select for diffs]
Modified Thu Nov 6 03:54:35 2008 UTC (11 years ago) by jfenwick
File length: 75256 byte(s)
Diff to previous 1953 , to selected 1312
More warning removal.

Revision 1953 - (view) (annotate) - [select for diffs]
Modified Thu Oct 30 07:01:11 2008 UTC (11 years ago) by phornby
File length: 75229 byte(s)
Diff to previous 1946 , to selected 1312
removed one signed/unsigned value comparison. The remaining one at line 863 is far more difficult to deal with.

Revision 1946 - (view) (annotate) - [select for diffs]
Modified Wed Oct 29 05:48:53 2008 UTC (11 years ago) by jfenwick
File length: 75220 byte(s)
Diff to previous 1921 , to selected 1312
A cleanup of some of the problems I found doing a Wall compile.

Removed some commented out lines.
Swapped some member initialisers.
Removed virtual qualifiers from some methods in FunctionSpace.
Fixed some unused or (possibly) uninitialised variables.



Revision 1921 - (view) (annotate) - [select for diffs]
Modified Thu Oct 23 11:32:24 2008 UTC (11 years ago) by phornby
File length: 75284 byte(s)
Diff to previous 1918 , to selected 1312
Jump through hoops to meet the OPENMP 2.5 restrictions on loop variables.
It's all ready for OPENMP 3.0 improvments, and should compile cleanly on other platforms.



Revision 1918 - (view) (annotate) - [select for diffs]
Modified Thu Oct 23 09:14:13 2008 UTC (11 years ago) by phornby
File length: 75174 byte(s)
Diff to previous 1897 , to selected 1312
fix a signed and unsigned integer comparison. As your meshes get larger, this type of error will bite.

Revision 1897 - (view) (annotate) - [select for diffs]
Modified Mon Oct 20 00:32:30 2008 UTC (11 years ago) by jfenwick
File length: 75172 byte(s)
Diff to previous 1878 , to selected 1312
Modified Data::toString() so it doesn't throw on DataEmpty.
Added setEscriptParamInt and getEscriptParamInt as free functions.
At the moment all they do is allow you to set the param TOO_MANY_LINES.
This is used to determine when printing a Data object will show you the 
points and when it will print a summary.

I've set the default value back to 80 lines.
If you need to see more lines use (in python):

setEscriptParamInt("TOO_MANY_LINES",80000)



Revision 1878 - (view) (annotate) - [select for diffs]
Modified Tue Oct 14 03:39:13 2008 UTC (11 years, 1 month ago) by gross
File length: 75169 byte(s)
Diff to previous 1873 , to selected 1312
new version of JacobiFree Newton GMRES + test added.

Revision 1873 - (view) (annotate) - [select for diffs]
Modified Mon Oct 13 04:32:22 2008 UTC (11 years, 1 month ago) by jfenwick
File length: 75167 byte(s)
Diff to previous 1872 , to selected 1312
Fixed a compile error under MPI.
Cleaned up a comment.


Revision 1872 - (view) (annotate) - [select for diffs]
Modified Mon Oct 13 00:18:55 2008 UTC (11 years, 1 month ago) by jfenwick
File length: 75166 byte(s)
Diff to previous 1859 , to selected 1312
Closing the moreshared branch


Revision 1859 - (view) (annotate) - [select for diffs]
Modified Wed Oct 8 03:03:37 2008 UTC (11 years, 1 month ago) by gross
File length: 75845 byte(s)
Diff to previous 1855 , to selected 1312
first version of testing for transport solver.

Revision 1855 - (view) (annotate) - [select for diffs]
Modified Tue Oct 7 05:25:30 2008 UTC (11 years, 1 month ago) by jfenwick
File length: 75842 byte(s)
Diff to previous 1841 , to selected 1312
Modified Data::copyWithMask to have a less cryptic implementation.


Revision 1841 - (view) (annotate) - [select for diffs]
Modified Fri Oct 3 03:57:52 2008 UTC (11 years, 1 month ago) by gross
File length: 73724 byte(s)
Diff to previous 1811 , to selected 1312
modification on LinearPDE class and a first version of Transport class

Revision 1811 - (view) (annotate) - [select for diffs]
Modified Thu Sep 25 23:11:13 2008 UTC (11 years, 1 month ago) by ksteube
File length: 73725 byte(s)
Diff to previous 1803 , to selected 1312
Copyright updated in all files


Revision 1803 - (view) (annotate) - [select for diffs]
Modified Wed Sep 24 06:20:29 2008 UTC (11 years, 1 month ago) by jfenwick
File length: 73760 byte(s)
Diff to previous 1799 , to selected 1312
All about making DataEmpty instances throw.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Exposed getDim from AbstractDomain to python to fix bug.

Added isEmpty member to DataAbstract to allow it to throw is queries are 
made about a DataEmpty instance.


Added exceptions to DataAbstract, DataEmpty and Data to prevent calls 
being made against DataEmpty objects.
The following still work as expected on DataEmpty instances

copy, getDomain, getFunctionSpace, isEmpty, isExpanded, isProtected, 
isTagged, setprotection.

You can also call interpolate, however it should throw if you try to 
change FunctionSpaces.



Revision 1799 - (view) (annotate) - [select for diffs]
Modified Wed Sep 17 06:33:18 2008 UTC (11 years, 1 month ago) by jfenwick
File length: 72960 byte(s)
Diff to previous 1796 , to selected 1312
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 (11 years, 1 month ago) by jfenwick
File length: 73653 byte(s)
Diff to previous 1693 , to selected 1312
Merged noarrayview branch onto trunk.



Revision 1693 - (view) (annotate) - [select for diffs]
Modified Fri Aug 8 04:22:58 2008 UTC (11 years, 3 months ago) by jfenwick
File length: 76250 byte(s)
Diff to previous 1455 , to selected 1312
Modified toString() on Data objects.
str(x) or print x will now print a summary of the data rather than all 
the points if the output would take more than 80 lines.



Revision 1455 - (view) (annotate) - [select for diffs]
Modified Thu Feb 28 17:19:44 2008 UTC (11 years, 8 months ago) by phornby
File length: 75892 byte(s)
Diff to previous 1409 , to selected 1312
Merge of branches/windows_from_1431_trunk.

Revamp of the exception system.
Fix unused vars and signed/unsigned comparisons.
defined a macro THROW(ARG) in the system_dep.h's to
deal with the expectations of declarations on different architectures.

Details in the logs of branches/windows_from_1431_trunk.

pre-merge snapshot of the trunk in tags/trunk_at_1452



Revision 1409 - (view) (annotate) - [select for diffs]
Modified Wed Feb 6 22:44:28 2008 UTC (11 years, 9 months ago) by gross
File length: 75855 byte(s)
Diff to previous 1388 , to selected 1312
getTagNumber called the wrong corresponding FunctionSpace method. Results were wrong for number of data points per sample >1.

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

Revision 1387 - (view) (annotate) - [select for diffs]
Modified Fri Jan 11 07:45:26 2008 UTC (11 years, 10 months ago) by trankine
Original Path: temp/escript/src/Data.cpp
File length: 75852 byte(s)
Diff to previous 1384 , to selected 1312
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, 10 months ago) by phornby
Original Path: temp_trunk_copy/escript/src/Data.cpp
File length: 75852 byte(s)
Diff to previous 1358 , to selected 1312
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, 11 months ago) by gross
File length: 75852 byte(s)
Diff to previous 1353 , to selected 1312
setTaggedValue works now for expanded data.

Revision 1353 - (view) (annotate) - [select for diffs]
Modified Thu Nov 22 06:05:35 2007 UTC (11 years, 11 months ago) by matt
File length: 75985 byte(s)
Diff to previous 1351 , to selected 1312
Reversed the removal of blocktimer code. This needs to be fixed properly for
the Windows stuff to work.



Revision 1351 - (view) (annotate) - [select for diffs]
Modified Thu Nov 22 01:54:26 2007 UTC (11 years, 11 months ago) by matt
File length: 75991 byte(s)
Diff to previous 1350 , to selected 1312
Removed blocktimer code from gradOn().


Revision 1350 - (view) (annotate) - [select for diffs]
Modified Thu Nov 22 01:17:20 2007 UTC (11 years, 11 months ago) by matt
File length: 75985 byte(s)
Diff to previous 1349 , to selected 1312
Disambiguation of more template argument parameters so that it compiles under Windows.


Revision 1349 - (view) (annotate) - [select for diffs]
Modified Wed Nov 21 06:38:08 2007 UTC (11 years, 11 months ago) by matt
File length: 75737 byte(s)
Diff to previous 1334 , to selected 1312
Disambiguation of several template argument parameters so that it compiles under Windows.


Revision 1334 - (view) (annotate) - [select for diffs]
Modified Thu Oct 25 05:08:54 2007 UTC (12 years ago) by matt
File length: 75677 byte(s)
Diff to previous 1332 , to selected 1312
Initial rewrite of escript unary operations. The rewritten operations are now single-pass.


Revision 1332 - (view) (annotate) - [select for diffs]
Modified Tue Oct 23 03:28:51 2007 UTC (12 years ago) by matt
File length: 76193 byte(s)
Diff to previous 1328 , to selected 1312
Pow now uses the new binary function interface of C_TensorBinaryOperation.


Revision 1328 - (view) (annotate) - [select for diffs]
Modified Mon Oct 15 03:23:15 2007 UTC (12 years, 1 month ago) by matt
File length: 76015 byte(s)
Diff to previous 1327 , to selected 1312
Fixed bug in power operation.


Revision 1327 - (view) (annotate) - [select for diffs]
Modified Fri Oct 12 07:10:40 2007 UTC (12 years, 1 month ago) by matt
File length: 76014 byte(s)
Diff to previous 1319 , to selected 1312
Initial rewrite of binary escript operations.



Revision 1319 - (view) (annotate) - [select for diffs]
Modified Thu Sep 27 00:27:51 2007 UTC (12 years, 1 month ago) by matt
File length: 76648 byte(s)
Diff to previous 1312
DataArray is no longer needed. However, the unit tests still require it.


Revision 1312 - (view) (annotate) - [selected]
Modified Mon Sep 24 06:18:44 2007 UTC (12 years, 1 month ago) by ksteube
File length: 75618 byte(s)
Diff to previous 1141
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 1141 - (view) (annotate) - [select for diffs]
Modified Tue May 15 04:24:51 2007 UTC (12 years, 6 months ago) by gross
File length: 75604 byte(s)
Diff to previous 1137 , to selected 1312
Some changes to make things run on windows. There is still a problem with netcdf an long file names on windows but there is the suspicion that this is a bigger problem related to boost (compiler options). In fact runs with large numbers of iteration/time steps tend to create seg faults. 

Revision 1137 - (view) (annotate) - [select for diffs]
Modified Thu May 10 08:11:31 2007 UTC (12 years, 6 months ago) by gross
File length: 75417 byte(s)
Diff to previous 1118 , to selected 1312
This version passes the tests on windows except for 

   * vtk
   * netCDF

The version needs to be tested on altix and linux

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

Revision 1092 - (view) (annotate) - [select for diffs]
Modified Fri Apr 13 03:39:49 2007 UTC (12 years, 7 months ago) by gross
File length: 74839 byte(s)
Diff to previous 1044 , to selected 1312
the useless profilinf for data.cpp removed (doDebug=yes should work again)
and a small bug in the gmsh reader fixed.


Revision 1044 - (view) (annotate) - [select for diffs]
Modified Mon Mar 19 07:29:31 2007 UTC (12 years, 7 months ago) by gross
File length: 78743 byte(s)
Diff to previous 1034 , to selected 1312
clear name tagging is supported now.

Revision 1034 - (view) (annotate) - [select for diffs]
Modified Wed Mar 14 23:49:20 2007 UTC (12 years, 8 months ago) by gross
File length: 78554 byte(s)
Diff to previous 1032 , to selected 1312
In VC++ boost has problems with numarray arguments from python. This
fixes that problem by taking python::object arguments from the python
level and converting it into python::numeric::array on the C++ level.
This hasn't been tested with VC++ yet.

Moreover the two Data methods dealing with big numarrays as argument and
return value have been removed.



Revision 1032 - (view) (annotate) - [select for diffs]
Modified Wed Mar 14 06:32:09 2007 UTC (12 years, 8 months ago) by phornby
File length: 82220 byte(s)
Diff to previous 1031 , to selected 1312
Implement inverse hyp. functions.



Revision 1031 - (view) (annotate) - [select for diffs]
Modified Wed Mar 14 06:03:21 2007 UTC (12 years, 8 months ago) by phornby
File length: 81959 byte(s)
Diff to previous 1028 , to selected 1312
Finer control of the inverse hyp. functions.



Revision 1028 - (view) (annotate) - [select for diffs]
Modified Wed Mar 14 00:15:24 2007 UTC (12 years, 8 months ago) by gross
File length: 82220 byte(s)
Diff to previous 1026 , to selected 1312
modifications to be compliant with _WIN32. The substitutes for asinh, acosh, atanh are still missing (erf will through an exception)

Revision 1026 - (view) (annotate) - [select for diffs]
Modified Tue Mar 13 08:25:00 2007 UTC (12 years, 8 months ago) by phornby
File length: 82020 byte(s)
Diff to previous 964 , to selected 1312
Data.cpp - indefed out the erf & inv. hyperbolics on windows.
DataAlgorithmAdapterTestCase & DataTestCase - Fix the ifndef on _WIN32 & _INTEL_COMPILER
SConstruct - chamges to the PATH so windows can find DLLs.



Revision 964 - (view) (annotate) - [select for diffs]
Modified Tue Feb 13 05:10:26 2007 UTC (12 years, 9 months ago) by gross
File length: 81838 byte(s)
Diff to previous 950 , to selected 1312
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, 9 months ago) by gross
File length: 83954 byte(s)
Diff to previous 924 , to selected 1312
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 924 - (view) (annotate) - [select for diffs]
Modified Wed Jan 10 03:39:27 2007 UTC (12 years, 10 months ago) by trankine
File length: 83884 byte(s)
Diff to previous 922 , to selected 1312
Win32 port modifications
"or" is not a valid modifier under win intel compiler

* Data.cpp - incorrect "or"s
* DataExpanded.cpp - incorrect "or"s



Revision 922 - (view) (annotate) - [select for diffs]
Modified Fri Jan 5 04:23:05 2007 UTC (12 years, 10 months ago) by gross
File length: 83868 byte(s)
Diff to previous 921 , to selected 1312
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, 10 months ago) by gross
File length: 83284 byte(s)
Diff to previous 876 , to selected 1312
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 876 - (view) (annotate) - [select for diffs]
Modified Thu Oct 19 03:50:23 2006 UTC (13 years ago) by ksteube
File length: 83039 byte(s)
Diff to previous 854 , to selected 1312
Added erf (error function) implementation


Revision 854 - (view) (annotate) - [select for diffs]
Modified Thu Sep 21 05:29:42 2006 UTC (13 years, 1 month ago) by gross
File length: 82904 byte(s)
Diff to previous 826 , to selected 1312
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 826 - (view) (annotate) - [select for diffs]
Modified Tue Aug 29 09:12:33 2006 UTC (13 years, 2 months ago) by gross
File length: 84033 byte(s)
Diff to previous 824 , to selected 1312
ken and I did not have a good afternoon. our checkin was very buggy. fixed

Revision 824 - (view) (annotate) - [select for diffs]
Modified Tue Aug 29 05:22:50 2006 UTC (13 years, 2 months ago) by ksteube
File length: 83826 byte(s)
Diff to previous 814 , to selected 1312
C_GeneralTensorProduct was modifying the function space of the
first arg.  Now creating a shallow copy and using the copy to
avoid this.


Revision 814 - (view) (annotate) - [select for diffs]
Modified Wed Aug 23 09:31:10 2006 UTC (13 years, 2 months ago) by gross
File length: 83822 byte(s)
Diff to previous 813 , to selected 1312
small bug in general tensor propduct fixed

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: 83823 byte(s)
Diff to previous 804 , to selected 1312
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, 3 months ago) by gross
File length: 65891 byte(s)
Diff to previous 800 , to selected 1312
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, 3 months ago) by gross
File length: 65317 byte(s)
Diff to previous 790 , to selected 1312
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 (13 years, 3 months ago) by bcumming
File length: 64492 byte(s)
Diff to previous 783 , to selected 1312
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 783 - (view) (annotate) - [select for diffs]
Modified Tue Jul 18 01:32:50 2006 UTC (13 years, 3 months ago) by gross
File length: 62557 byte(s)
Diff to previous 782 , to selected 1312
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) - [select for diffs]
Modified Tue Jul 18 00:47:47 2006 UTC (13 years, 3 months ago) by bcumming
File length: 60681 byte(s)
Diff to previous 775 , to selected 1312
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 (13 years, 4 months ago) by ksteube
File length: 59356 byte(s)
Diff to previous 757 , to selected 1312
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, 4 months ago) by woo409
File length: 54977 byte(s)
Diff to previous 751 , to selected 1312
+ 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 (13 years, 4 months ago) by bcumming
File length: 54964 byte(s)
Diff to previous 711 , to selected 1312
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 711 - (view) (annotate) - [select for diffs]
Modified Wed Apr 26 22:39:51 2006 UTC (13 years, 6 months ago) by gross
File length: 53373 byte(s)
Diff to previous 699 , to selected 1312
tests pass now on gcc: some tests did not take round-off errors into consideration

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

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

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: 53199 byte(s)
Diff to previous 576 , to selected 1312
More copyright information.


Revision 576 - (view) (annotate) - [select for diffs]
Modified Fri Mar 3 08:28:42 2006 UTC (13 years, 8 months ago) by gross
File length: 53677 byte(s)
Diff to previous 571 , to selected 1312
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, 8 months ago) by jgs
File length: 52060 byte(s)
Diff to previous 480 , to selected 1312
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, 9 months ago) by jgs
File length: 51939 byte(s)
Diff to previous 474 , to selected 1312
rationalise #includes and forward declarations


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


Revision 436 - (view) (annotate) - [select for diffs]
Modified Thu Jan 19 22:36:36 2006 UTC (13 years, 9 months ago) by gross
Original Path: trunk/escript/src/Data/Data.cpp
File length: 52188 byte(s)
Diff to previous 286 , to selected 1312
bug fixed in integrate method. don;t use a[i,j]=.. to set a value in the numeric::array a but 
a[make_tuple(i,j)].



Revision 286 - (view) (annotate) - [select for diffs]
Modified Thu Dec 1 06:40:20 2005 UTC (13 years, 11 months ago) by gross
Original Path: trunk/escript/src/Data/Data.cpp
File length: 52097 byte(s)
Diff to previous 155 , to selected 1312
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 (14 years ago) by jgs
Original Path: trunk/escript/src/Data/Data.cpp
File length: 52231 byte(s)
Diff to previous 153 , to selected 1312
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 (14 years ago) by jgs
Original Path: trunk/esys2/escript/src/Data/Data.cpp
File length: 52231 byte(s)
Diff to previous 151 , to selected 1312
Merge of development branch dev-02 back to main trunk on 2005-10-25


Revision 151 - (view) (annotate) - [select for diffs]
Modified Thu Sep 22 01:55:00 2005 UTC (14 years, 1 month ago) by jgs
Original Path: trunk/esys2/escript/src/Data/Data.cpp
File length: 52056 byte(s)
Diff to previous 150 , to selected 1312
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 (14 years, 2 months ago) by jgs
Original Path: trunk/esys2/escript/src/Data/Data.cpp
File length: 50424 byte(s)
Diff to previous 149 , to selected 1312
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, 2 months ago) by jgs
Original Path: trunk/esys2/escript/src/Data/Data.cpp
File length: 49419 byte(s)
Diff to previous 148 , to selected 1312
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/Data.cpp
File length: 52180 byte(s)
Diff to previous 147 , to selected 1312
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, 3 months ago) by jgs
Original Path: trunk/esys2/escript/src/Data/Data.cpp
File length: 51355 byte(s)
Diff to previous 126 , to selected 1312
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/Data.cpp
File length: 51343 byte(s)
Diff to previous 123 , to selected 1312
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, 4 months ago) by jgs
Original Path: trunk/esys2/escript/src/Data/Data.cpp
File length: 47581 byte(s)
Diff to previous 122 , to selected 1312
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, 5 months ago) by jgs
Original Path: trunk/esys2/escript/src/Data/Data.cpp
File length: 43332 byte(s)
Diff to previous 121 , to selected 1312
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, 6 months ago) by jgs
Original Path: trunk/esys2/escript/src/Data/Data.cpp
File length: 43372 byte(s)
Diff to previous 119 , to selected 1312
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, 7 months ago) by jgs
Original Path: trunk/esys2/escript/src/Data/Data.cpp
File length: 37286 byte(s)
Diff to previous 117 , to selected 1312
*** empty log message ***


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


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


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


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


Revision 106 - (view) (annotate) - [select for diffs]
Modified Thu Dec 23 07:20:12 2004 UTC (14 years, 10 months ago) by jgs
Original Path: trunk/esys2/escript/src/Data/Data.cpp
File length: 23609 byte(s)
Diff to previous 104 , to selected 1312
*** 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/Data.cpp
File length: 23516 byte(s)
Diff to previous 102 , to selected 1312
*** empty log message ***


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


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


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


Revision 94 - (view) (annotate) - [select for diffs]
Added Wed Oct 27 00:45:54 2004 UTC (15 years ago) by jgs
Original Path: trunk/esys2/escript/src/Data/Data.cpp
File length: 21577 byte(s)
Diff to selected 1312
*** 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