/[escript]/trunk/escript/py_src/util.py
ViewVC logotype

Log of /trunk/escript/py_src/util.py

Parent Directory Parent Directory | Revision Log Revision Log


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

Revision 6939 - (view) (annotate) - [select for diffs]
Modified Mon Jan 20 03:37:18 2020 UTC (3 years, 2 months ago) by uqaeller
File length: 740 byte(s)
Diff to previous 6651
Updated the copyright header.



Revision 6651 - (view) (annotate) - [select for diffs]
Modified Wed Feb 7 02:12:08 2018 UTC (5 years, 1 month ago) by jfenwick
File length: 670 byte(s)
Diff to previous 6523
Make everyone sad by touching all the files

Copyright dates update


Revision 6523 - (view) (annotate) - [select for diffs]
Modified Tue Mar 7 06:50:34 2017 UTC (6 years ago) by jfenwick
File length: 670 byte(s)
Diff to previous 6112
UPDATE THE COPYRIGHT DATES


Revision 6112 - (view) (annotate) - [select for diffs]
Modified Thu Mar 31 09:40:10 2016 UTC (6 years, 11 months ago) by jfenwick
File length: 670 byte(s)
Diff to previous 5863
Relicense all the things!



Revision 5863 - (view) (annotate) - [select for diffs]
Modified Wed Jan 13 02:25:48 2016 UTC (7 years, 2 months ago) by jfenwick
File length: 680 byte(s)
Diff to previous 5707
Copyright dates updated.
\version for doxygen to read


Revision 5707 - (view) (annotate) - [select for diffs]
Modified Mon Jun 29 03:59:06 2015 UTC (7 years, 9 months ago) by sshaw
File length: 680 byte(s)
Diff to previous 5706
adding copyright headers to files without copyright info, moved header to top of file in some cases where it wasn't

Revision 5706 - (view) (annotate) - [select for diffs]
Modified Mon Jun 29 03:41:36 2015 UTC (7 years, 9 months ago) by sshaw
File length: 86 byte(s)
Diff to previous 4508
all python files now force use of python3 prints and division syntax to stop sneaky errors appearing in py3 environs

Revision 4508 - (view) (annotate) - [select for diffs]
Modified Wed Jul 24 04:23:22 2013 UTC (9 years, 8 months ago) by jfenwick
File length: 38 byte(s)
Diff to previous 4447
Moving to escriptcore

Revision 4447 - (view) (annotate) - [select for diffs]
Modified Wed Jun 12 13:55:53 2013 UTC (9 years, 9 months ago) by caltinay
File length: 104014 byte(s)
Diff to previous 4446
Clean up some generated test files.


Revision 4446 - (view) (annotate) - [select for diffs]
Modified Tue Jun 11 04:00:15 2013 UTC (9 years, 9 months ago) by caltinay
File length: 103820 byte(s)
Diff to previous 4399
This should fix the py3 error...


Revision 4399 - (view) (annotate) - [select for diffs]
Modified Thu May 9 10:46:41 2013 UTC (9 years, 10 months ago) by jfenwick
File length: 103828 byte(s)
Diff to previous 4286
just fiddling

Revision 4286 - (view) (annotate) - [select for diffs]
Modified Thu Mar 7 04:28:11 2013 UTC (10 years ago) by caltinay
File length: 103844 byte(s)
Diff to previous 4285
Assorted spelling fixes.


Revision 4285 - (view) (annotate) - [select for diffs]
Modified Thu Mar 7 01:08:43 2013 UTC (10 years ago) by caltinay
File length: 103844 byte(s)
Diff to previous 4154
Corrected some spelling.


Revision 4154 - (view) (annotate) - [select for diffs]
Modified Tue Jan 22 09:30:23 2013 UTC (10 years, 2 months ago) by jfenwick
File length: 103848 byte(s)
Diff to previous 4114
Round 1 of copyright fixes

Revision 4114 - (view) (annotate) - [select for diffs]
Modified Fri Dec 14 04:24:46 2012 UTC (10 years, 3 months ago) by caltinay
File length: 103848 byte(s)
Diff to previous 4074
Time to remove deprecated saveVTK/DX methods from Data and Domain.


Revision 4074 - (view) (annotate) - [select for diffs]
Modified Thu Nov 15 03:30:59 2012 UTC (10 years, 4 months ago) by gross
File length: 106338 byte(s)
Diff to previous 4046
this will break the downundermodule: major revision of the classes.

Revision 4046 - (view) (annotate) - [select for diffs]
Modified Tue Oct 30 04:43:25 2012 UTC (10 years, 5 months ago) by caltinay
File length: 106093 byte(s)
Diff to previous 4018
Deprecated saveDX and made sure DeprecationWarnings are shown (py2.7 disabled
those). Also a fix to $BUILD_DIR being non-absolute.


Revision 4018 - (view) (annotate) - [select for diffs]
Modified Thu Oct 11 04:43:39 2012 UTC (10 years, 5 months ago) by jfenwick
File length: 105839 byte(s)
Diff to previous 4009
Used "new" raise syntax in a few places
Fixed some tabbing
Fixed some funnies involving changes to xrange/range
added a quick and nasty __hash__ function to Symbol
   def __hash__(self):
        return id(self)
This does mean that __hash__ and == do not match exactly.   Not sure if that matters for our purposes

Revision 4009 - (view) (annotate) - [select for diffs]
Modified Tue Oct 2 05:53:37 2012 UTC (10 years, 5 months ago) by caltinay
File length: 105838 byte(s)
Diff to previous 4007
don't try to flip y-coord in reader. some more fixes and doco.


Revision 4007 - (view) (annotate) - [select for diffs]
Modified Tue Oct 2 02:12:01 2012 UTC (10 years, 5 months ago) by caltinay
File length: 105836 byte(s)
Diff to previous 3997
Doco updates.
Data source paddings now take x,y not xy,z as Z padding can be done by setting
vertical extents.


Revision 3997 - (view) (annotate) - [select for diffs]
Modified Thu Sep 27 01:09:12 2012 UTC (10 years, 6 months ago) by caltinay
File length: 105984 byte(s)
Diff to previous 3995
Add note to documentation that saveDataCSV will not work in all cases.


Revision 3995 - (view) (annotate) - [select for diffs]
Modified Wed Sep 26 12:43:17 2012 UTC (10 years, 6 months ago) by jfenwick
File length: 105865 byte(s)
Diff to previous 3981
More module fiddles

Revision 3981 - (view) (annotate) - [select for diffs]
Modified Fri Sep 21 02:47:54 2012 UTC (10 years, 6 months ago) by jfenwick
File length: 105835 byte(s)
Diff to previous 3975
First pass of updating copyright notices

Revision 3975 - (view) (annotate) - [select for diffs]
Modified Thu Sep 20 01:54:06 2012 UTC (10 years, 6 months ago) by caltinay
File length: 105773 byte(s)
Diff to previous 3911
Merged symbolic branch into trunk. Curious what daniel and spartacus have to
say...


Revision 3911 - (view) (annotate) - [select for diffs]
Modified Thu Jun 14 01:01:03 2012 UTC (10 years, 9 months ago) by jfenwick
File length: 237069 byte(s)
Diff to previous 3892
Copyright changes

Revision 3892 - (view) (annotate) - [select for diffs]
Modified Tue Apr 10 08:57:23 2012 UTC (10 years, 11 months ago) by jfenwick
File length: 237069 byte(s)
Diff to previous 3852
Merged changes across from the attempt2 branch.
This version builds and passes python2 tests.
It also passes most python3 tests.




Revision 3852 - (view) (annotate) - [select for diffs]
Modified Thu Mar 1 05:34:52 2012 UTC (11 years, 1 month ago) by jfenwick
File length: 236479 byte(s)
Diff to previous 3788
Correcting some indent errors


Revision 3788 - (view) (annotate) - [select for diffs]
Modified Mon Jan 30 04:41:33 2012 UTC (11 years, 2 months ago) by caltinay
File length: 236304 byte(s)
Diff to previous 3786
Fixed showEscriptParams() which hasn't worked for 2 years or so.


Revision 3786 - (view) (annotate) - [select for diffs]
Modified Wed Jan 25 04:46:39 2012 UTC (11 years, 2 months ago) by jfenwick
File length: 236253 byte(s)
Diff to previous 3771
Made 2D interpolation call consistant with 1D and 3D.
Doco updates later


Revision 3771 - (view) (annotate) - [select for diffs]
Modified Wed Jan 18 02:30:48 2012 UTC (11 years, 2 months ago) by jfenwick
File length: 236122 byte(s)
Diff to previous 3577
First stage of 2.6/3 conversion


Revision 3577 - (view) (annotate) - [select for diffs]
Modified Mon Sep 5 08:22:52 2011 UTC (11 years, 6 months ago) by gross
File length: 236061 byte(s)
Diff to previous 3549
getFLux fixed and tests added.


Revision 3549 - (view) (annotate) - [select for diffs]
Modified Tue Aug 9 06:40:06 2011 UTC (11 years, 7 months ago) by jfenwick
File length: 236061 byte(s)
Diff to previous 3369
Fix for issue #617
A couple of extra tests to make sure it doesn't happen again


Revision 3369 - (view) (annotate) - [select for diffs]
Modified Fri Nov 19 06:26:11 2010 UTC (12 years, 4 months ago) by gross
File length: 235560 byte(s)
Diff to previous 3368
matrix balance introduced in paso

Revision 3368 - (view) (annotate) - [select for diffs]
Modified Fri Nov 19 05:59:46 2010 UTC (12 years, 4 months ago) by jfenwick
File length: 235561 byte(s)
Diff to previous 3360
3d interpolateTable support.
New more generic interface for table interpolation.
tests and doco updated

Revision 3360 - (view) (annotate) - [select for diffs]
Modified Thu Nov 18 00:20:21 2010 UTC (12 years, 4 months ago) by jfenwick
File length: 234456 byte(s)
Diff to previous 3358
Fix some epydoc errors
Fixed issue 564
removed minimize.py since it hasn't worked in who knows how long

Revision 3358 - (view) (annotate) - [select for diffs]
Modified Wed Nov 17 08:02:32 2010 UTC (12 years, 4 months ago) by gross
File length: 234434 byte(s)
Diff to previous 3344
a more flexiblae version of safeDiv

Revision 3344 - (view) (annotate) - [select for diffs]
Modified Thu Nov 11 23:26:52 2010 UTC (12 years, 4 months ago) by caltinay
File length: 234346 byte(s)
Diff to previous 3283
Phew!
-escript, finley, and dudley now uses weipa's saveVTK implementation
-moved tests from finley to weipa accordingly; dudley still to do
-rebaselined all test files
-fixed a few issues in weipa.saveVTK, e.g. saving metadata without schema
-added a deprecation warning to esys.escript.util.saveVTK
-todo: change doco, tests and other places to use weipa.saveVTK



Revision 3283 - (view) (annotate) - [select for diffs]
Modified Mon Oct 18 22:39:28 2010 UTC (12 years, 5 months ago) by gross
File length: 236856 byte(s)
Diff to previous 3201
AMG reengineered, BUG is Smoother fixed.



Revision 3201 - (view) (annotate) - [select for diffs]
Modified Thu Sep 23 06:54:18 2010 UTC (12 years, 6 months ago) by gross
File length: 236963 byte(s)
Diff to previous 3059
bug in meanValue fixed.

Revision 3059 - (view) (annotate) - [select for diffs]
Modified Tue Jul 6 03:31:48 2010 UTC (12 years, 8 months ago) by jfenwick
File length: 236916 byte(s)
Diff to previous 2941
Fix error message in launcher. Allow non-data objects to be passed to condEval

Revision 2941 - (view) (annotate) - [select for diffs]
Modified Mon Feb 22 05:17:43 2010 UTC (13 years, 1 month ago) by caltinay
File length: 236378 byte(s)
Diff to previous 2938
saveESD now doesn't store the absolute path to the files in the ESD file so
the whole dataset can be moved easily.


Revision 2938 - (view) (annotate) - [select for diffs]
Modified Thu Feb 18 00:24:35 2010 UTC (13 years, 1 month ago) by caltinay
File length: 236355 byte(s)
Diff to previous 2923
saveESD: Add a warning about the experimental status of ESD.
Save the ESD file within the data directory.


Revision 2923 - (view) (annotate) - [select for diffs]
Modified Thu Feb 4 04:05:36 2010 UTC (13 years, 1 month ago) by jfenwick
File length: 236359 byte(s)
Diff to previous 2912
Bringing non-release specific things from stage3.1 r2922 back to trunk


Revision 2912 - (view) (annotate) - [select for diffs]
Modified Wed Feb 3 03:31:24 2010 UTC (13 years, 1 month ago) by gross
File length: 236332 byte(s)
Diff to previous 2881
some missing functions

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


Revision 2863 - (view) (annotate) - [select for diffs]
Modified Thu Jan 21 07:18:37 2010 UTC (13 years, 2 months ago) by gross
File length: 235622 byte(s)
Diff to previous 2793
fix for mantis 454

Revision 2793 - (view) (annotate) - [select for diffs]
Modified Tue Dec 1 06:10:10 2009 UTC (13 years, 4 months ago) by gross
File length: 235238 byte(s)
Diff to previous 2745
some new util functions

Revision 2745 - (view) (annotate) - [select for diffs]
Modified Tue Nov 17 04:23:02 2009 UTC (13 years, 4 months ago) by jfenwick
File length: 234890 byte(s)
Diff to previous 2742
Added getInfLocator and getSupLocator to pdetools.
This means if you want to use them, you will need to import them.
These methods return a locator to a point with the smallest/largest value.

Added resolve() and delay() to utils.
Now you can do things like:

d=delay(v)
..
..
z=resolve(d+1)



Revision 2742 - (view) (annotate) - [select for diffs]
Modified Thu Nov 12 06:03:37 2009 UTC (13 years, 4 months ago) by jfenwick
File length: 234488 byte(s)
Diff to previous 2738
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 2738 - (view) (annotate) - [select for diffs]
Modified Fri Nov 6 05:33:13 2009 UTC (13 years, 4 months ago) by jfenwick
File length: 234410 byte(s)
Diff to previous 2644
Taipan and DataVector use size_type (currently long) internally to talk 
about sizes.
[A lot more work needs to be done on this].
Exceptions now give nicer messages and output the problematic numbers.

Some minor doco errors fixed.

escript.util.mkDir
Now checks to see if the pathname already exists as a non-directory.
On suggestion from slanger it now calls makedirs.




Revision 2644 - (view) (annotate) - [select for diffs]
Modified Wed Sep 2 04:14:03 2009 UTC (13 years, 6 months ago) by jfenwick
File length: 234231 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 (13 years, 7 months ago) by jfenwick
File length: 233978 byte(s)
Diff to previous 2625
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 2625 - (view) (annotate) - [select for diffs]
Modified Fri Aug 21 06:30:25 2009 UTC (13 years, 7 months ago) by jfenwick
File length: 232855 byte(s)
Diff to previous 2599
Merging changes from new doco branch.
All docstrings are now in reStructured text.
A few email addresses have been fixes as well.

Revision 2599 - (view) (annotate) - [select for diffs]
Modified Fri Aug 7 00:16:02 2009 UTC (13 years, 7 months ago) by caltinay
File length: 232662 byte(s)
Diff to previous 2549
saveESD: added option to save mesh at each timestep if required.


Revision 2549 - (view) (annotate) - [select for diffs]
Modified Mon Jul 20 06:43:47 2009 UTC (13 years, 8 months ago) by jfenwick
File length: 232210 byte(s)
Diff to previous 2548
Remainder of copyright date fixes

Revision 2548 - (view) (annotate) - [select for diffs]
Modified Mon Jul 20 06:20:06 2009 UTC (13 years, 8 months ago) by jfenwick
File length: 232210 byte(s)
Diff to previous 2534
Updating copyright notices

Revision 2534 - (view) (annotate) - [select for diffs]
Modified Thu Jul 16 06:49:19 2009 UTC (13 years, 8 months ago) by caltinay
File length: 232210 byte(s)
Diff to previous 2533
Changed examples, tests and tutorials to save VTK files as .vtu instead .xml.
Visit doesn't know what to do with xml's and vtu is the proper extension
anyway.


Revision 2533 - (view) (annotate) - [select for diffs]
Modified Wed Jul 15 05:57:01 2009 UTC (13 years, 8 months ago) by gross
File length: 232210 byte(s)
Diff to previous 2526
finley delivers now a status identifier of the mesh.

Revision 2526 - (view) (annotate) - [select for diffs]
Modified Wed Jul 8 05:52:06 2009 UTC (13 years, 8 months ago) by caltinay
File length: 231634 byte(s)
Diff to previous 2523
util: Updated saveESD to allow saving of time series. Combined with an update
of the visit plugin this fixes issue 325.


Revision 2523 - (view) (annotate) - [select for diffs]
Modified Wed Jul 8 00:07:36 2009 UTC (13 years, 8 months ago) by jfenwick
File length: 230660 byte(s)
Diff to previous 2513
Fixed bug in MPI form of mkDir


Revision 2513 - (view) (annotate) - [select for diffs]
Modified Thu Jul 2 08:42:11 2009 UTC (13 years, 8 months ago) by gross
File length: 230669 byte(s)
Diff to previous 2455
some fixes in wave.py example

Revision 2455 - (view) (annotate) - [select for diffs]
Modified Wed Jun 3 03:29:07 2009 UTC (13 years, 9 months ago) by jfenwick
File length: 229944 byte(s)
Diff to previous 2428
Merging changes from numpy branch.


Revision 2428 - (view) (annotate) - [select for diffs]
Modified Tue May 19 04:04:11 2009 UTC (13 years, 10 months ago) by gross
File length: 231408 byte(s)
Diff to previous 2422
problem for python2.4 fixed: IOError has no attribute message.

Revision 2422 - (view) (annotate) - [select for diffs]
Modified Thu May 14 03:17:28 2009 UTC (13 years, 10 months ago) by gross
File length: 231442 byte(s)
Diff to previous 2421
bug in testing saveVTK fixed

Revision 2421 - (view) (annotate) - [select for diffs]
Modified Thu May 14 02:29:06 2009 UTC (13 years, 10 months ago) by gross
File length: 231268 byte(s)
Diff to previous 2415
vtk writer supports now meta data and meta data schema

Revision 2415 - (view) (annotate) - [select for diffs]
Modified Wed May 13 02:48:39 2009 UTC (13 years, 10 months ago) by gross
File length: 230091 byte(s)
Diff to previous 2344
FileWriter added: this class takes care of writing data which are global in MPI to a file. It is recommended to use this class rather then the build in open as it takes care of the case of many processors.

Revision 2344 - (view) (annotate) - [select for diffs]
Modified Mon Mar 30 02:13:58 2009 UTC (14 years ago) by jfenwick
File length: 225824 byte(s)
Diff to previous 2304
Change __url__ to launchpad site


Revision 2304 - (view) (annotate) - [select for diffs]
Modified Fri Mar 13 03:17:24 2009 UTC (14 years ago) by gross
File length: 225829 byte(s)
Diff to previous 2300
a more robust way of doing whereZero and whereNotZero.

Revision 2300 - (view) (annotate) - [select for diffs]
Modified Wed Mar 11 08:17:57 2009 UTC (14 years ago) by gross
File length: 224790 byte(s)
Diff to previous 2288
a power law model. tests still need to be added and needs to be linked with an incompressible solver.

Revision 2288 - (view) (annotate) - [select for diffs]
Modified Tue Feb 24 06:11:48 2009 UTC (14 years, 1 month ago) by gross
File length: 224791 byte(s)
Diff to previous 2259
a new idea for the sacling factor

Revision 2259 - (view) (annotate) - [select for diffs]
Modified Tue Feb 10 01:49:44 2009 UTC (14 years, 1 month ago) by jfenwick
File length: 224160 byte(s)
Diff to previous 2255
Fixes errors due to feeding scalars and vectors into the same call to maximum.


Revision 2255 - (view) (annotate) - [select for diffs]
Modified Mon Feb 9 06:10:13 2009 UTC (14 years, 1 month ago) by gross
File length: 223474 byte(s)
Diff to previous 2237
problem in maximum fixed.

Revision 2237 - (view) (annotate) - [select for diffs]
Modified Tue Feb 3 06:14:19 2009 UTC (14 years, 1 month ago) by gross
File length: 223467 byte(s)
Diff to previous 2200
better method to du clipping

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

Revision 2188 - (view) (annotate) - [select for diffs]
Modified Tue Dec 23 04:24:03 2008 UTC (14 years, 3 months ago) by caltinay
File length: 223162 byte(s)
Diff to previous 2169
Implemented new utility function saveESD() which takes care of dumping the
given data objects with their domain and creates an ESD file containing the
required information. This obsoletes the necessity to use esdcreate for single
timestep datasets.


Revision 2169 - (view) (annotate) - [select for diffs]
Modified Wed Dec 17 03:08:58 2008 UTC (14 years, 3 months ago) by caltinay
File length: 220269 byte(s)
Diff to previous 2142
Assorted spelling, grammar, whitespace and copy/paste error fixes (Part 2).
All epydoc warnings for these files have been fixed.
This commit should be a no-op.


Revision 2142 - (view) (annotate) - [select for diffs]
Modified Tue Dec 9 06:22:57 2008 UTC (14 years, 3 months ago) by jfenwick
File length: 210784 byte(s)
Diff to previous 2100
Added showEscriptParams to output a list of available params.


Revision 2100 - (view) (annotate) - [select for diffs]
Modified Wed Nov 26 08:13:00 2008 UTC (14 years, 4 months ago) by gross
File length: 210560 byte(s)
Diff to previous 2061
This commit cleans up the incompressible solver and adds a DarcyFlux solver in model module. 
Some documentation for both classes has been added.
The convection code is only linear at the moment.




Revision 2061 - (view) (annotate) - [select for diffs]
Modified Wed Nov 19 03:40:21 2008 UTC (14 years, 4 months ago) by jfenwick
File length: 210377 byte(s)
Diff to previous 1809
Fixing some warnings from epydoc.
Disabled c++ signatures in python docstrings.
Removed references to Bruce in epydoc and the users guide.

Revision 1809 - (view) (annotate) - [select for diffs]
Modified Thu Sep 25 06:43:44 2008 UTC (14 years, 6 months ago) by ksteube
File length: 210377 byte(s)
Diff to previous 1719
Copyright updated in all python files


Revision 1719 - (view) (annotate) - [select for diffs]
Modified Thu Aug 21 06:24:29 2008 UTC (14 years, 7 months ago) by gross
File length: 210616 byte(s)
Diff to previous 1717
robust function to normalize data object added

Revision 1717 - (view) (annotate) - [select for diffs]
Modified Thu Aug 21 05:24:35 2008 UTC (14 years, 7 months ago) by gross
File length: 210139 byte(s)
Diff to previous 1625
function to calculate value closest to given value added

Revision 1625 - (view) (annotate) - [select for diffs]
Modified Thu Jul 10 23:55:31 2008 UTC (14 years, 8 months ago) by gross
File length: 215086 byte(s)
Diff to previous 1561
interpolate accepts now float and numarray as argument

Revision 1561 - (view) (annotate) - [select for diffs]
Modified Wed May 21 06:58:52 2008 UTC (14 years, 10 months ago) by ksteube
File length: 215009 byte(s)
Diff to previous 1388
Added python method printParallelThreadCounts() to tell how many MPI CPUs and OpenMP threads we are using (for testing hybrid runs)


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

Revision 1387 - (view) (annotate) - [select for diffs]
Modified Fri Jan 11 07:45:26 2008 UTC (15 years, 2 months ago) by trankine
Original Path: temp/escript/py_src/util.py
File length: 214958 byte(s)
Diff to previous 1384
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 (15 years, 2 months ago) by phornby
Original Path: temp_trunk_copy/escript/py_src/util.py
File length: 214958 byte(s)
Diff to previous 1374
Make a temp copy of the trunk before checking in the windows changes



Revision 1374 - (view) (annotate) - [select for diffs]
Modified Tue Jan 8 09:37:55 2008 UTC (15 years, 2 months ago) by gross
File length: 214958 byte(s)
Diff to previous 1357
some changes to get things going on the cognac.ivec.org.

Revision 1357 - (view) (annotate) - [select for diffs]
Modified Thu Nov 29 08:39:32 2007 UTC (15 years, 4 months ago) by gross
File length: 214941 byte(s)
Diff to previous 1312
interplote function returns now argument if it has requested function space

Revision 1312 - (view) (annotate) - [select for diffs]
Modified Mon Sep 24 06:18:44 2007 UTC (15 years, 6 months ago) by ksteube
File length: 214737 byte(s)
Diff to previous 1247
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 1247 - (view) (annotate) - [select for diffs]
Modified Tue Aug 14 01:29:20 2007 UTC (15 years, 7 months ago) by ksteube
File length: 212759 byte(s)
Diff to previous 1044
New python method getVersion() which returns the Subversion revision
from which escript was compiled


Revision 1044 - (view) (annotate) - [select for diffs]
Modified Mon Mar 19 07:29:31 2007 UTC (16 years ago) by gross
File length: 212723 byte(s)
Diff to previous 1042
clear name tagging is supported now.

Revision 1042 - (view) (annotate) - [select for diffs]
Modified Mon Mar 19 03:50:34 2007 UTC (16 years ago) by gross
File length: 211963 byte(s)
Diff to previous 912
a small fix which deals with the case that a Model class
does not take the argument debug.




Revision 912 - (view) (annotate) - [select for diffs]
Modified Wed Dec 6 03:29:49 2006 UTC (16 years, 3 months ago) by gross
File length: 211633 byte(s)
Diff to previous 881
modellib.WriteVTK has been rewritten. Instead of only three data objects scalar,
vector, tensor it takes now up to 20 data objects data0 ... data19 and writes it into a 
single VTK file. There is also the possibilty to define individiual name tags name0,..., name19.
If no name is given the corresponding attribute name of the Link target is used. 
This simplifies the usage and increases efficiency.




Revision 881 - (view) (annotate) - [select for diffs]
Modified Thu Oct 26 02:54:47 2006 UTC (16 years, 5 months ago) by gross
File length: 211014 byte(s)
Diff to previous 876
some small canges to clip function to allow unbounded upper or lower values

Revision 876 - (view) (annotate) - [select for diffs]
Modified Thu Oct 19 03:50:23 2006 UTC (16 years, 5 months ago) by ksteube
File length: 210747 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 (16 years, 7 months ago) by ksteube
File length: 210300 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 (16 years, 7 months ago) by gross
File length: 215116 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 (16 years, 7 months ago) by gross
File length: 210227 byte(s)
Diff to previous 795
new function _swap. Python wrapper + testing is still missing.



Revision 795 - (view) (annotate) - [select for diffs]
Modified Mon Jul 31 01:23:58 2006 UTC (16 years, 8 months ago) by ksteube
File length: 210233 byte(s)
Diff to previous 785
Fixed typo in method name


Revision 785 - (view) (annotate) - [select for diffs]
Modified Tue Jul 25 03:48:10 2006 UTC (16 years, 8 months ago) by gross
File length: 209319 byte(s)
Diff to previous 775
some new functions around tensor product added.

Revision 775 - (view) (annotate) - [select for diffs]
Modified Mon Jul 10 04:00:08 2006 UTC (16 years, 8 months ago) by ksteube
File length: 189794 byte(s)
Diff to previous 720
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 720 - (view) (annotate) - [select for diffs]
Modified Thu Apr 27 10:16:05 2006 UTC (16 years, 11 months ago) by gross
File length: 194186 byte(s)
Diff to previous 698
formatting errors in epydoc tags fixed

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

Revision 637 - (view) (annotate) - [select for diffs]
Modified Thu Mar 23 10:55:31 2006 UTC (17 years ago) by gross
File length: 194226 byte(s)
Diff to previous 614
more copyright statements added

Revision 614 - (view) (annotate) - [select for diffs]
Modified Wed Mar 22 01:37:07 2006 UTC (17 years ago) by elspeth
File length: 194263 byte(s)
Diff to previous 612
Corrected spelling of 'license' in url so that the link actually points to the license.


Revision 612 - (view) (annotate) - [select for diffs]
Modified Tue Mar 21 23:54:39 2006 UTC (17 years ago) by gross
File length: 194263 byte(s)
Diff to previous 608
strange problem with import numarray.linear_algebra fixed

Revision 608 - (view) (annotate) - [select for diffs]
Modified Tue Mar 21 09:46:06 2006 UTC (17 years ago) by elspeth
File length: 194470 byte(s)
Diff to previous 588
moved "import numarray.linear_algebra" to function that uses it, in case it is not installed


Revision 588 - (view) (annotate) - [select for diffs]
Modified Fri Mar 10 04:45:04 2006 UTC (17 years ago) by gross
File length: 194603 byte(s)
Diff to previous 587
1D and 3D tests for eigenvalues_and_eigenvector added.

Revision 587 - (view) (annotate) - [select for diffs]
Modified Fri Mar 10 02:26:50 2006 UTC (17 years ago) by gross
File length: 194487 byte(s)
Diff to previous 585
eigenvalues_and_eigenvector fucntion added. test for 2D problem is added and is passed.

Revision 585 - (view) (annotate) - [select for diffs]
Modified Thu Mar 9 23:47:42 2006 UTC (17 years ago) by gross
File length: 193251 byte(s)
Diff to previous 580
problem with eigenvalue of zero matrix fixed (thanks Dr Hale)

Revision 580 - (view) (annotate) - [select for diffs]
Modified Wed Mar 8 05:45:51 2006 UTC (17 years ago) by gross
File length: 193084 byte(s)
Diff to previous 574
faster version of the local eigenvalue calculation

Revision 574 - (view) (annotate) - [select for diffs]
Modified Thu Mar 2 06:31:24 2006 UTC (17 years, 1 month ago) by gross
File length: 195764 byte(s)
Diff to previous 550
some modifications on eigenvalues to make it a bit more robust.

Revision 550 - (view) (annotate) - [select for diffs]
Modified Wed Feb 22 02:14:38 2006 UTC (17 years, 1 month ago) by gross
File length: 194127 byte(s)
Diff to previous 536
more tests on slicing

Revision 536 - (view) (annotate) - [select for diffs]
Modified Fri Feb 17 03:20:53 2006 UTC (17 years, 1 month ago) by gross
File length: 189657 byte(s)
Diff to previous 530
symmetric and nonsymmetric part functions added

Revision 530 - (view) (annotate) - [select for diffs]
Modified Wed Feb 15 07:11:00 2006 UTC (17 years, 1 month ago) by gross
File length: 188830 byte(s)
Diff to previous 529
eigenvalues is working now

Revision 529 - (view) (annotate) - [select for diffs]
Modified Wed Feb 15 03:58:50 2006 UTC (17 years, 1 month ago) by gross
File length: 187349 byte(s)
Diff to previous 528
small bugs in eigenvalues function fixed. 3x3 on data still given wrong results

Revision 528 - (view) (annotate) - [select for diffs]
Modified Wed Feb 15 02:20:33 2006 UTC (17 years, 1 month ago) by gross
File length: 187277 byte(s)
Diff to previous 517
local eigenvalues added (not tested yet)

Revision 517 - (view) (annotate) - [select for diffs]
Modified Tue Feb 14 02:25:02 2006 UTC (17 years, 1 month ago) by gross
File length: 184720 byte(s)
Diff to previous 492
tests for __getitem__ added

Revision 492 - (view) (annotate) - [select for diffs]
Modified Fri Feb 3 02:07:24 2006 UTC (17 years, 1 month ago) by gross
File length: 180658 byte(s)
Diff to previous 443
transpose function added

Revision 443 - (view) (annotate) - [select for diffs]
Modified Fri Jan 20 06:22:38 2006 UTC (17 years, 2 months ago) by gross
File length: 174250 byte(s)
Diff to previous 442
L2 function added

Revision 442 - (view) (annotate) - [select for diffs]
Modified Fri Jan 20 04:39:43 2006 UTC (17 years, 2 months ago) by gross
File length: 173901 byte(s)
Diff to previous 441
kronecker (and relatives) take now a FunctionSpace as argument and return a Data object in tthis functionspace

Revision 441 - (view) (annotate) - [select for diffs]
Modified Fri Jan 20 03:40:39 2006 UTC (17 years, 2 months ago) by gross
File length: 173551 byte(s)
Diff to previous 437
and finally test for the divergence operator added. div() has been modified to take Symbol arguments

Revision 437 - (view) (annotate) - [select for diffs]
Modified Fri Jan 20 00:16:58 2006 UTC (17 years, 2 months ago) by gross
File length: 173545 byte(s)
Diff to previous 433
comprehensive testing for integrate function added. tests for grad will be added in the next check in. GradTest is obsolete now.

Revision 433 - (view) (annotate) - [select for diffs]
Modified Tue Jan 17 23:54:38 2006 UTC (17 years, 2 months ago) by gross
File length: 173563 byte(s)
Diff to previous 429
new function inverse and tests added

Revision 429 - (view) (annotate) - [select for diffs]
Modified Wed Jan 11 05:53:40 2006 UTC (17 years, 2 months ago) by gross
File length: 167666 byte(s)
Diff to previous 414
new implementation and testing for trace function

Revision 414 - (view) (annotate) - [select for diffs]
Modified Wed Jan 4 05:29:05 2006 UTC (17 years, 2 months ago) by gross
File length: 150722 byte(s)
Diff to previous 413
bug in CPP substitute fixed.

Revision 413 - (view) (annotate) - [select for diffs]
Modified Tue Jan 3 08:27:19 2006 UTC (17 years, 2 months ago) by gross
File length: 150722 byte(s)
Diff to previous 400
inner returns right functionspace now

Revision 400 - (view) (annotate) - [select for diffs]
Modified Wed Dec 21 23:13:39 2005 UTC (17 years, 3 months ago) by gross
File length: 150582 byte(s)
Diff to previous 397
Some chnages required for oder numarray versions. mai problem is that
operations on array objects with rank 0 sometimes return float rather
than arrays. This problem seems to be fixed in newer releases.



Revision 397 - (view) (annotate) - [select for diffs]
Modified Wed Dec 21 05:11:31 2005 UTC (17 years, 3 months ago) by gross
File length: 150573 byte(s)
Diff to previous 396
typo fixed

Revision 396 - (view) (annotate) - [select for diffs]
Modified Wed Dec 21 05:08:25 2005 UTC (17 years, 3 months ago) by gross
File length: 150615 byte(s)
Diff to previous 378
tests for clip, maximum, minimum added

Revision 378 - (view) (annotate) - [select for diffs]
Modified Fri Dec 16 09:02:28 2005 UTC (17 years, 3 months ago) by gross
File length: 150782 byte(s)
Diff to previous 353
clip added

Revision 353 - (view) (annotate) - [select for diffs]
Modified Wed Dec 14 04:13:59 2005 UTC (17 years, 3 months ago) by gross
File length: 150001 byte(s)
Diff to previous 341
bug fixed (thanks to Estelle)

Revision 341 - (view) (annotate) - [select for diffs]
Modified Mon Dec 12 05:26:10 2005 UTC (17 years, 3 months ago) by gross
File length: 150047 byte(s)
Diff to previous 329
some fixes to make the test to run for older numarray versions

Revision 329 - (view) (annotate) - [select for diffs]
Modified Wed Dec 7 04:42:43 2005 UTC (17 years, 3 months ago) by gross
File length: 149021 byte(s)
Diff to previous 312
fixing the problem that older versions of numarray don't have a sign method

Revision 312 - (view) (annotate) - [select for diffs]
Modified Mon Dec 5 07:01:00 2005 UTC (17 years, 3 months ago) by gross
File length: 149002 byte(s)
Diff to previous 290
reimplementation of maxval,minval and length. small bug in generalTensorProduct fixed

Revision 290 - (view) (annotate) - [select for diffs]
Modified Fri Dec 2 03:09:32 2005 UTC (17 years, 4 months ago) by gross
File length: 144482 byte(s)
Diff to previous 155
some minor bugs in util.py fixed.

Revision 155 - (view) (annotate) - [select for diffs]
Modified Wed Nov 9 02:02:19 2005 UTC (17 years, 4 months ago) by jgs
File length: 21503 byte(s)
Diff to previous 154
move all directories from trunk/esys2 into trunk and remove esys2


Revision 154 - (view) (annotate) - [select for diffs]
Modified Mon Nov 7 05:51:17 2005 UTC (17 years, 4 months ago) by jgs
Original Path: trunk/esys2/escript/py_src/util.py
File length: 21503 byte(s)
Diff to previous 153
Merge of development branch dev-02 back to main trunk on 2005-11-07


Revision 153 - (view) (annotate) - [select for diffs]
Modified Tue Oct 25 01:51:20 2005 UTC (17 years, 5 months ago) by jgs
Original Path: trunk/esys2/escript/py_src/util.py
File length: 21502 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 (17 years, 6 months ago) by jgs
Original Path: trunk/esys2/escript/py_src/util.py
File length: 25359 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 (17 years, 7 months ago) by jgs
Original Path: trunk/esys2/escript/py_src/util.py
File length: 43121 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 (17 years, 7 months ago) by jgs
Original Path: trunk/esys2/escript/py_src/util.py
File length: 41409 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 (17 years, 7 months ago) by jgs
Original Path: trunk/esys2/escript/py_src/util.py
File length: 41602 byte(s)
Diff to previous 142
erge of development branch dev-02 back to main trunk on 2005-08-12


Revision 142 - (view) (annotate) - [select for diffs]
Modified Mon Jul 25 05:28:20 2005 UTC (17 years, 8 months ago) by jgs
Original Path: trunk/esys2/escript/py_src/util.py
File length: 40907 byte(s)
Diff to previous 126
Merge of development branch back to main trunk on 2005-07-25


Revision 126 - (view) (annotate) - [select for diffs]
Modified Fri Jul 22 03:53:08 2005 UTC (17 years, 8 months ago) by jgs
Original Path: trunk/esys2/escript/py_src/util.py
File length: 40710 byte(s)
Diff to previous 124
Merge of development branch back to main trunk on 2005-07-22


Revision 124 - (view) (annotate) - [select for diffs]
Modified Wed Jul 20 06:14:58 2005 UTC (17 years, 8 months ago) by jgs
Original Path: trunk/esys2/escript/py_src/util.py
File length: 39957 byte(s)
Diff to previous 123
added ln(data) style wrapper for data.ln() - also added corresponding
implementation of Ln_Symbol class (not sure if this is right though)


Revision 123 - (view) (annotate) - [select for diffs]
Modified Fri Jul 8 04:08:13 2005 UTC (17 years, 8 months ago) by jgs
Original Path: trunk/esys2/escript/py_src/util.py
File length: 39052 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 (17 years, 9 months ago) by jgs
Original Path: trunk/esys2/escript/py_src/util.py
File length: 12104 byte(s)
Diff to previous 117
Merge of development branch back to main trunk on 2005-06-09


Revision 117 - (view) (annotate) - [select for diffs]
Modified Fri Apr 1 05:48:57 2005 UTC (18 years ago) by jgs
Original Path: trunk/esys2/escript/py_src/util.py
File length: 9534 byte(s)
Diff to previous 113
*** empty log message ***


Revision 113 - (view) (annotate) - [select for diffs]
Modified Mon Feb 28 07:06:33 2005 UTC (18 years, 1 month ago) by jgs
Original Path: trunk/esys2/escript/py_src/util.py
File length: 9097 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 (18 years, 2 months ago) by jgs
Original Path: trunk/esys2/escript/py_src/util.py
File length: 7426 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 (18 years, 3 months ago) by jgs
Original Path: trunk/esys2/escript/py_src/util.py
File length: 6138 byte(s)
Diff to previous 102
*** empty log message ***


Revision 102 - (view) (annotate) - [select for diffs]
Modified Wed Dec 15 07:08:39 2004 UTC (18 years, 3 months ago) by jgs
Original Path: trunk/esys2/escript/py_src/util.py
File length: 4659 byte(s)
Diff to previous 100
*** empty log message ***


Revision 100 - (view) (annotate) - [select for diffs]
Modified Wed Dec 15 03:48:48 2004 UTC (18 years, 3 months ago) by jgs
Original Path: trunk/esys2/escript/py_src/util.py
File length: 3250 byte(s)
Diff to previous 97
*** empty log message ***


Revision 97 - (view) (annotate) - [select for diffs]
Modified Tue Dec 14 05:39:33 2004 UTC (18 years, 3 months ago) by jgs
Original Path: trunk/esys2/escript/py_src/util.py
File length: 5793 byte(s)
Diff to previous 88
*** empty log message ***


Revision 88 - (view) (annotate) - [select for diffs]
Modified Wed Oct 27 00:23:36 2004 UTC (18 years, 5 months ago) by jgs
Original Path: trunk/esys2/escript/py_src/util.py
File length: 3179 byte(s)
Diff to previous 82
fixed minor syntax error


Revision 82 - (view) (annotate) - [select for diffs]
Added Tue Oct 26 06:53:54 2004 UTC (18 years, 5 months ago) by jgs
Original Path: trunk/esys2/escript/py_src/util.py
File length: 3093 byte(s)
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