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

Log of /trunk/escript/py_src/modelframe.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: 746 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: 676 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: 676 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: 676 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: 686 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: 686 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: 92 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: 44 byte(s)
Diff to previous 4446
Moving to escriptcore

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: 47722 byte(s)
Diff to previous 4154
This should fix the py3 error...


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: 47862 byte(s)
Diff to previous 4104
Round 1 of copyright fixes

Revision 4104 - (view) (annotate) - [select for diffs]
Modified Thu Dec 13 03:30:23 2012 UTC (10 years, 3 months ago) by jfenwick
File length: 47862 byte(s)
Diff to previous 3981
Ensuring we are using new-style classes
This may not be strictly necessary since our code does not depend on the difference.


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: 47846 byte(s)
Diff to previous 3911
First pass of updating copyright notices

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: 47784 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: 47784 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: 47818 byte(s)
Diff to previous 3771
Correcting some indent errors


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: 47713 byte(s)
Diff to previous 3360
First stage of 2.6/3 conversion


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: 47310 byte(s)
Diff to previous 2881
Fix some epydoc errors
Fixed issue 564
removed minimize.py since it hasn't worked in who knows how long

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: 47318 byte(s)
Diff to previous 2625
Don't panic.
Updating copyright stamps


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: 47318 byte(s)
Diff to previous 2549
Merging changes from new doco branch.
All docstrings are now in reStructured text.
A few email addresses have been fixes as well.

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: 47272 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: 47272 byte(s)
Diff to previous 2471
Updating copyright notices

Revision 2471 - (view) (annotate) - [select for diffs]
Modified Thu Jun 11 23:33:06 2009 UTC (13 years, 9 months ago) by jfenwick
File length: 47272 byte(s)
Diff to previous 2455
Fixed extract of ndarray from xml to properly return booleans.
Modified some strings which had numarray:: in them

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: 47190 byte(s)
Diff to previous 2344
Merging changes from numpy branch.


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


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: 47370 byte(s)
Diff to previous 1809
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 1809 - (view) (annotate) - [select for diffs]
Modified Thu Sep 25 06:43:44 2008 UTC (14 years, 6 months ago) by ksteube
File length: 46626 byte(s)
Diff to previous 1388
Copyright updated in all python files


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



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: 46660 byte(s)
Diff to previous 1042
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 1042 - (view) (annotate) - [select for diffs]
Modified Mon Mar 19 03:50:34 2007 UTC (16 years ago) by gross
File length: 46240 byte(s)
Diff to previous 1020
a small fix which deals with the case that a Model class
does not take the argument debug.




Revision 1020 - (view) (annotate) - [select for diffs]
Modified Mon Mar 12 10:12:36 2007 UTC (16 years ago) by phornby
File length: 45942 byte(s)
Diff to previous 980
Added explicit destructors to all Exception classes.

Fixed an ifdef in TestCase.cpp

Made the conditional definition of M_PI in LocalOps.h
depend only on M_PI being undefined.

Replace dynamically dimensioned arrays in DataFactory & DataTagged with malloc.

sort() method of list does not take a named argument
(despite the manual's claims to the contary).



Revision 980 - (view) (annotate) - [select for diffs]
Modified Mon Feb 19 05:12:38 2007 UTC (16 years, 1 month ago) by gross
File length: 45946 byte(s)
Diff to previous 975
bug in Simulation fixed.

Revision 975 - (view) (annotate) - [select for diffs]
Modified Thu Feb 15 10:18:18 2007 UTC (16 years, 1 month ago) by gross
File length: 45935 byte(s)
Diff to previous 964
first steps towards restart in modelframe

Revision 964 - (view) (annotate) - [select for diffs]
Modified Tue Feb 13 05:10:26 2007 UTC (16 years, 1 month ago) by gross
File length: 40562 byte(s)
Diff to previous 954
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 954 - (view) (annotate) - [select for diffs]
Modified Fri Feb 9 08:56:14 2007 UTC (16 years, 1 month ago) by gross
File length: 40587 byte(s)
Diff to previous 952
testing for completness if simulations improved.

Revision 952 - (view) (annotate) - [select for diffs]
Modified Wed Feb 7 23:53:24 2007 UTC (16 years, 1 month ago) by gross
File length: 40650 byte(s)
Diff to previous 950
testing of simulation completness improved.

Revision 950 - (view) (annotate) - [select for diffs]
Modified Tue Feb 6 07:01:11 2007 UTC (16 years, 1 month ago) by gross
File length: 40764 byte(s)
Diff to previous 944
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 944 - (view) (annotate) - [select for diffs]
Modified Tue Jan 30 08:57:37 2007 UTC (16 years, 2 months ago) by gross
File length: 39948 byte(s)
Diff to previous 939
PropertySet added

Revision 939 - (view) (annotate) - [select for diffs]
Modified Thu Jan 25 04:23:38 2007 UTC (16 years, 2 months ago) by gross
File length: 39927 byte(s)
Diff to previous 938
bug in finley mesh reader fixed

Revision 938 - (view) (annotate) - [select for diffs]
Modified Thu Jan 25 03:40:54 2007 UTC (16 years, 2 months ago) by gross
File length: 40142 byte(s)
Diff to previous 926
the FinleyReade accepts now gmsh files (use format="gmsh")
and
Simulations are accepting Models only. Moreover, there is a test now
if a all Models targeted by a model in the simulation or a subsimulation
are included in  simulation or a subsimulation. 



Revision 926 - (view) (annotate) - [select for diffs]
Modified Fri Jan 12 06:31:37 2007 UTC (16 years, 2 months ago) by gross
File length: 38095 byte(s)
Diff to previous 920
modelframe support dictonaries with fixed type of key and value. only writing implemented yet

Revision 920 - (view) (annotate) - [select for diffs]
Modified Thu Jan 4 00:00:40 2007 UTC (16 years, 2 months ago) by gross
File length: 37432 byte(s)
Diff to previous 918
small fix on DataSource.fromDom

Revision 918 - (view) (annotate) - [select for diffs]
Modified Wed Jan 3 06:30:00 2007 UTC (16 years, 2 months ago) by gross
File length: 37422 byte(s)
Diff to previous 917
fixes on ESySXML to get runmodel going.

    * object ids are now local for read and write of XML
    * ParameterSets are now written with class name
    * ParameterSets linked by other ParameterSets (previously only Models) are written now 
    * list are now lists of str (rather than bools), lists with bool, int or float are mapped to numarray
    * numarray are writen with generic types Bool, Int, Float (portability!)



Revision 917 - (view) (annotate) - [select for diffs]
Modified Tue Jan 2 02:46:53 2007 UTC (16 years, 2 months ago) by gross
File length: 34632 byte(s)
Diff to previous 912
some EsysXML input files. rebuild still fails for these files

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: 34601 byte(s)
Diff to previous 908
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 908 - (view) (annotate) - [select for diffs]
Modified Thu Nov 23 06:39:39 2006 UTC (16 years, 4 months ago) by gross
File length: 34448 byte(s)
Diff to previous 906
some fixes

Revision 906 - (view) (annotate) - [select for diffs]
Modified Tue Nov 21 05:34:15 2006 UTC (16 years, 4 months ago) by gross
File length: 34388 byte(s)
Diff to previous 885
some minor fixes

Revision 885 - (view) (annotate) - [select for diffs]
Modified Wed Nov 1 09:05:51 2006 UTC (16 years, 5 months ago) by gross
File length: 32778 byte(s)
Diff to previous 875
DataSource for modelib added

Revision 875 - (view) (annotate) - [select for diffs]
Modified Tue Oct 17 12:42:47 2006 UTC (16 years, 5 months ago) by elspeth
File length: 32700 byte(s)
Diff to previous 874
DataSources added to modelframe/EsysXML, and tests to run_xml.py. Currently does not actually handle data 
sources, 
just references. Functionality is in progress. 

EsysXML format (URI can be a local file reference, or a remote reference such as an ftp site, fileformat 
is currently any string descriptor, such as finleyMesh or gmtdata):
 <Parameter type="DataSource">
                        <Name>
                                uritest
                        </Name>
                        <Value>
                                <DataSource>
                                        <URI>
                                                somelocalfile.txt
                                        </URI>
                                        <FileFormat>
                                                text
                                        </FileFormat>
                                </DataSource>
                        </Value>
                </Parameter>



Revision 874 - (view) (annotate) - [select for diffs]
Modified Tue Oct 17 12:06:11 2006 UTC (16 years, 5 months ago) by elspeth
File length: 31714 byte(s)
Diff to previous 871
Changed numarray xml structure slightly, to fit better with the rest of 
the XML. 
Added lists of booleans as a data type in modelframe.
Fixed bug with bools in modelframe.


Revision 871 - (view) (annotate) - [select for diffs]
Modified Sat Oct 14 08:25:54 2006 UTC (16 years, 5 months ago) by elspeth
File length: 31201 byte(s)
Diff to previous 838
Numarray support added to modelframe and tests for numarray added to run_xml.
Numarrays will look like this in ESysXML:

A 2 x 3 numarray will look like this:

<Parameter type="NumArray">
                        <Name>
                                numtest
                        </Name>
                        <Value>
                                <ArrayType>
                                        Float64
                                </ArrayType>
                                <Shape>
                                        2 3
                                </Shape>
                                <Data>
                                        1.0 2.0 3.0 3.0 4.0 5.0
                                </Data>
                        </Value>
                </Parameter>

A numarray vector will look like this:

<Parameter type="NumArray">
                        <Name>
                                numtest
                        </Name>
                        <Value>
                                <ArrayType>
                                        Float64
                                </ArrayType>
                                <Shape>
                                        3
                                </Shape>
                                <Data>
                                        3.0 4.0 5.0
                                </Data>
                        </Value>
                </Parameter>




Revision 838 - (view) (annotate) - [select for diffs]
Modified Tue Sep 5 22:45:55 2006 UTC (16 years, 6 months ago) by gross
File length: 29533 byte(s)
Diff to previous 836
drucker prager works now but there is still some work on the stepsize control needed.

Revision 836 - (view) (annotate) - [select for diffs]
Modified Mon Sep 4 22:37:25 2006 UTC (16 years, 6 months ago) by gross
File length: 29533 byte(s)
Diff to previous 829
new implementation of the tangential operator and a restriction of time step size change added

Revision 829 - (view) (annotate) - [select for diffs]
Modified Thu Aug 31 01:31:15 2006 UTC (16 years, 7 months ago) by gross
File length: 29262 byte(s)
Diff to previous 728
some changes on the drucker-prager (it does not work yet)

Revision 728 - (view) (annotate) - [select for diffs]
Modified Mon May 15 02:01:18 2006 UTC (16 years, 10 months ago) by gross
File length: 29260 byte(s)
Diff to previous 637
modelframe test examples work now

Revision 637 - (view) (annotate) - [select for diffs]
Modified Thu Mar 23 10:55:31 2006 UTC (17 years ago) by gross
File length: 29276 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: 28884 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: 28884 byte(s)
Diff to previous 282
Updated copyright and licence notices.


Revision 282 - (view) (annotate) - [select for diffs]
Modified Wed Nov 30 09:18:38 2005 UTC (17 years, 4 months ago) by elspeth
File length: 28595 byte(s)
Diff to previous 269
Fixed XML duplication in output bug.


Revision 269 - (view) (annotate) - [select for diffs]
Modified Wed Nov 30 01:59:55 2005 UTC (17 years, 4 months ago) by elspeth
File length: 28509 byte(s)
Diff to previous 266
Fixed typos and import problems


Revision 266 - (view) (annotate) - [select for diffs]
Modified Wed Nov 30 00:21:51 2005 UTC (17 years, 4 months ago) by elspeth
File length: 28399 byte(s)
Diff to previous 155
Added handling for NoneType


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


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/modelframe.py
File length: 28294 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/modelframe.py
File length: 27332 byte(s)
Diff to previous 147
Merge of development branch dev-02 back to main trunk on 2005-09-01


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/modelframe.py
File length: 27004 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/modelframe.py
File length: 38069 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/modelframe.py
File length: 38044 byte(s)
Diff to previous 123
Merge of development branch back to main trunk on 2005-07-22


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


Revision 121 - (view) (annotate) - [select for diffs]
Added Fri May 6 04:26:16 2005 UTC (17 years, 10 months ago) by jgs
Original Path: trunk/esys2/escript/py_src/modelframe.py
File length: 28170 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