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

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

Parent Directory Parent Directory | Revision Log Revision Log


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

Revision 1514 - (view) (annotate) - [select for diffs]
Modified Wed Apr 16 00:15:44 2008 UTC (14 years, 11 months ago) by artak
File length: 47751 byte(s)
Diff to previous 1489
default input parameter iter_restart for GMRES is set to 20

Revision 1489 - (view) (annotate) - [select for diffs]
Modified Mon Apr 14 04:29:30 2008 UTC (14 years, 11 months ago) by artak
File length: 47751 byte(s)
Diff to previous 1488
Initial version of TFQMR method

Revision 1488 - (view) (annotate) - [select for diffs]
Modified Fri Apr 11 00:22:31 2008 UTC (14 years, 11 months ago) by artak
File length: 45391 byte(s)
Diff to previous 1486
restart parameter is changed in GMRES(m)

Revision 1486 - (view) (annotate) - [select for diffs]
Modified Thu Apr 10 00:10:50 2008 UTC (14 years, 11 months ago) by artak
File length: 45323 byte(s)
Diff to previous 1484
minor

Revision 1484 - (view) (annotate) - [select for diffs]
Modified Wed Apr 9 03:25:53 2008 UTC (14 years, 11 months ago) by artak
File length: 45339 byte(s)
Diff to previous 1482
minor: PCG set as default solver

Revision 1482 - (view) (annotate) - [select for diffs]
Modified Wed Apr 9 02:29:47 2008 UTC (14 years, 11 months ago) by artak
File length: 45456 byte(s)
Diff to previous 1481
inital x taken into account in MINRES algorithm

Revision 1481 - (view) (annotate) - [select for diffs]
Modified Wed Apr 9 00:45:47 2008 UTC (14 years, 11 months ago) by artak
File length: 45374 byte(s)
Diff to previous 1476
initial version of MINRES algorithm

Revision 1476 - (view) (annotate) - [select for diffs]
Modified Mon Apr 7 23:38:50 2008 UTC (14 years, 11 months ago) by gross
File length: 39889 byte(s)
Diff to previous 1475
Jacobian-free Newton method added to Paso

Revision 1475 - (view) (annotate) - [select for diffs]
Modified Mon Apr 7 05:13:21 2008 UTC (14 years, 11 months ago) by artak
File length: 39891 byte(s)
Diff to previous 1469
Initial version of GMRES with restart

Revision 1469 - (view) (annotate) - [select for diffs]
Modified Thu Apr 3 05:16:56 2008 UTC (14 years, 11 months ago) by gross
File length: 39312 byte(s)
Diff to previous 1467
additional stopping criterion added

Revision 1467 - (view) (annotate) - [select for diffs]
Modified Wed Apr 2 08:10:37 2008 UTC (14 years, 11 months ago) by gross
File length: 38512 byte(s)
Diff to previous 1465
a bit of reengineering.

Revision 1465 - (view) (annotate) - [select for diffs]
Modified Wed Apr 2 03:28:25 2008 UTC (14 years, 11 months ago) by artak
File length: 38222 byte(s)
Diff to previous 1414


Revision 1414 - (view) (annotate) - [select for diffs]
Modified Thu Feb 14 10:01:43 2008 UTC (15 years, 1 month ago) by gross
File length: 33536 byte(s)
Diff to previous 1388
a first verion of a Stokes solver

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: 29931 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/pdetools.py
File length: 29931 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/pdetools.py
File length: 29931 byte(s)
Diff to previous 1331
Make a temp copy of the trunk before checking in the windows changes



Revision 1331 - (view) (annotate) - [select for diffs]
Modified Tue Oct 23 00:42:15 2007 UTC (15 years, 5 months ago) by gross
File length: 29931 byte(s)
Diff to previous 1330
ArithmeticTuple added. It is useful for certain applications of PCG

Revision 1330 - (view) (annotate) - [select for diffs]
Modified Mon Oct 22 04:54:49 2007 UTC (15 years, 5 months ago) by gross
File length: 27987 byte(s)
Diff to previous 1312
more flexible stopping criterium for the PCG

Revision 1312 - (view) (annotate) - [select for diffs]
Modified Mon Sep 24 06:18:44 2007 UTC (15 years, 5 months ago) by ksteube
File length: 26672 byte(s)
Diff to previous 1137
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 1137 - (view) (annotate) - [select for diffs]
Modified Thu May 10 08:11:31 2007 UTC (15 years, 10 months ago) by gross
File length: 21654 byte(s)
Diff to previous 1125
This version passes the tests on windows except for 

   * vtk
   * netCDF

The version needs to be tested on altix and linux

Revision 1125 - (view) (annotate) - [select for diffs]
Modified Thu May 3 05:40:30 2007 UTC (15 years, 10 months ago) by ksteube
File length: 21665 byte(s)
Diff to previous 1122
Print more convergence info in the verbose output


Revision 1122 - (view) (annotate) - [select for diffs]
Modified Tue May 1 03:21:04 2007 UTC (15 years, 10 months ago) by gross
File length: 21624 byte(s)
Diff to previous 1107
As the LinearPDE uses coefficients as reduced even if they are handed
over as full the projector runs into a problem when reduced and full
arguments are used in the same projector. Now the projector resets the
coefficients befor starting the projection.



Revision 1107 - (view) (annotate) - [select for diffs]
Modified Thu Apr 19 02:14:18 2007 UTC (15 years, 11 months ago) by gross
File length: 21552 byte(s)
Diff to previous 1106
Small bug in ReadMeh call fixed.
Test for typ of verbose argument in pdetools.SaddlePointSolver added.



Revision 1106 - (view) (annotate) - [select for diffs]
Modified Thu Apr 19 01:54:57 2007 UTC (15 years, 11 months ago) by gross
File length: 21480 byte(s)
Diff to previous 1105
I take it all back! Ignore the last check in.



Revision 1105 - (view) (annotate) - [select for diffs]
Modified Thu Apr 19 01:10:49 2007 UTC (15 years, 11 months ago) by gross
File length: 21543 byte(s)
Diff to previous 990
The modification fixes a problem with the garbage collection in python. 
The problem seems that a default value of a method argument is seen as
being dependend on the the instance of the class. This produces a
circular dependence and can stop the garbage collection to delete the
object. The situation becomes in particulary bad if the class provides a
__del__ method as it is not clear where to break the circle.

We need to revisit all python classes in escript & Co to remove this
possible problem. 



Revision 990 - (view) (annotate) - [select for diffs]
Modified Wed Feb 21 04:27:52 2007 UTC (16 years, 1 month ago) by ksteube
File length: 21480 byte(s)
Diff to previous 921
Cleaned up the python in-line doc to make epydoc work better

Configured for shake71 to find NetCDF libraries


Revision 921 - (view) (annotate) - [select for diffs]
Modified Fri Jan 5 00:54:37 2007 UTC (16 years, 2 months ago) by gross
File length: 21477 byte(s)
Diff to previous 893
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 893 - (view) (annotate) - [select for diffs]
Modified Wed Nov 8 08:20:19 2006 UTC (16 years, 4 months ago) by gross
File length: 21451 byte(s)
Diff to previous 880
small bug fixed

Revision 880 - (view) (annotate) - [select for diffs]
Modified Wed Oct 25 23:58:16 2006 UTC (16 years, 4 months ago) by gross
File length: 21476 byte(s)
Diff to previous 877
Locator accepts list of locations now

Revision 877 - (view) (annotate) - [select for diffs]
Modified Wed Oct 25 03:06:58 2006 UTC (16 years, 4 months ago) by gross
File length: 20538 byte(s)
Diff to previous 873
backtraking in the saddlepoint problem (not perfect yet)

Revision 873 - (view) (annotate) - [select for diffs]
Modified Mon Oct 16 04:07:33 2006 UTC (16 years, 5 months ago) by gross
File length: 14802 byte(s)
Diff to previous 867
uszawa scheme runs with variable viscosity

Revision 867 - (view) (annotate) - [select for diffs]
Modified Mon Oct 9 06:50:09 2006 UTC (16 years, 5 months ago) by gross
File length: 13919 byte(s)
Diff to previous 790
a class to solving sattle point problems using uszawa scheme (not functional yet)

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

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



Revision 782 - (view) (annotate) - [select for diffs]
Modified Tue Jul 18 00:47:47 2006 UTC (16 years, 8 months ago) by bcumming
File length: 11391 byte(s)
Diff to previous 720
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 720 - (view) (annotate) - [select for diffs]
Modified Thu Apr 27 10:16:05 2006 UTC (16 years, 10 months ago) by gross
File length: 11158 byte(s)
Diff to previous 637
formatting errors in epydoc tags fixed

Revision 637 - (view) (annotate) - [select for diffs]
Modified Thu Mar 23 10:55:31 2006 UTC (17 years ago) by gross
File length: 11061 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: 10726 byte(s)
Diff to previous 609
Corrected spelling of 'license' in url so that the link actually points to the license.


Revision 609 - (view) (annotate) - [select for diffs]
Modified Tue Mar 21 09:46:39 2006 UTC (17 years ago) by elspeth
File length: 10726 byte(s)
Diff to previous 525
Updated copyright and licence notices.


Revision 525 - (view) (annotate) - [select for diffs]
Modified Tue Feb 14 06:56:13 2006 UTC (17 years, 1 month ago) by gross
File length: 10437 byte(s)
Diff to previous 409
rob's strange NoPDE class added

Revision 409 - (view) (annotate) - [select for diffs]
Modified Fri Dec 23 01:13:41 2005 UTC (17 years, 3 months ago) by gross
File length: 6695 byte(s)
Diff to previous 396
bug 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: 6618 byte(s)
Diff to previous 351
tests for clip, maximum, minimum added

Revision 351 - (view) (annotate) - [select for diffs]
Modified Tue Dec 13 09:12:15 2005 UTC (17 years, 3 months ago) by gross
File length: 6566 byte(s)
Diff to previous 155
time integration manger added

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: 4601 byte(s)
Diff to previous 149
move all directories from trunk/esys2 into trunk and remove esys2


Revision 149 - (view) (annotate) - [select for diffs]
Modified Thu Sep 1 03:31:39 2005 UTC (17 years, 6 months ago) by jgs
Original Path: trunk/esys2/escript/py_src/pdetools.py
File length: 4601 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/pdetools.py
File length: 4442 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/pdetools.py
File length: 4409 byte(s)
Diff to previous 146
erge of development branch dev-02 back to main trunk on 2005-08-12


Revision 146 - (view) (annotate) - [select for diffs]
Modified Fri Jul 29 01:44:29 2005 UTC (17 years, 7 months ago) by jgs
Original Path: trunk/esys2/escript/py_src/pdetools.py
File length: 5249 byte(s)
Diff to previous 121
First merge of development branch dev-02 back to main trunk on 2005-07-29


Revision 121 - (view) (annotate) - [select for diffs]
Added Fri May 6 04:26:16 2005 UTC (17 years, 10 months ago) by jgs
Original Path: trunk/esys2/escript/py_src/pdetools.py
File length: 5259 byte(s)
Merge of development branch back to main trunk on 2005-05-06


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