/[escript]/trunk/pycad/py_src/gmsh.py
ViewVC logotype

Log of /trunk/pycad/py_src/gmsh.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, 1 month ago) by uqaeller
File length: 15020 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: 14950 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: 14950 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: 14950 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: 14970 byte(s)
Diff to previous 5706
Copyright dates updated.
\version for doxygen to read


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

Revision 5593 - (view) (annotate) - [select for diffs]
Modified Fri Apr 24 01:36:26 2015 UTC (7 years, 10 months ago) by jfenwick
File length: 14921 byte(s)
Diff to previous 5448
Fixing institution name to comply with policy

Revision 5448 - (view) (annotate) - [select for diffs]
Modified Fri Feb 6 05:31:37 2015 UTC (8 years, 1 month ago) by jfenwick
File length: 14913 byte(s)
Diff to previous 5398
Updating all the dates

Revision 5398 - (view) (annotate) - [select for diffs]
Modified Wed Dec 17 02:51:41 2014 UTC (8 years, 3 months ago) by caltinay
File length: 14913 byte(s)
Diff to previous 5397
#$@!#@$ typo


Revision 5397 - (view) (annotate) - [select for diffs]
Modified Wed Dec 17 01:35:43 2014 UTC (8 years, 3 months ago) by caltinay
File length: 14912 byte(s)
Diff to previous 5392
new, single interface to gmsh in escriptcore used by pycad and downunder.


Revision 5392 - (view) (annotate) - [select for diffs]
Modified Tue Dec 16 07:01:26 2014 UTC (8 years, 3 months ago) by caltinay
File length: 15808 byte(s)
Diff to previous 5384
formatting fixes in gmsh design.


Revision 5384 - (view) (annotate) - [select for diffs]
Modified Tue Dec 16 01:33:35 2014 UTC (8 years, 3 months ago) by caltinay
File length: 15623 byte(s)
Diff to previous 5348
added commented setOrderN() call to gmshpy.


Revision 5348 - (view) (annotate) - [select for diffs]
Modified Fri Dec 12 01:04:31 2014 UTC (8 years, 3 months ago) by sshaw
File length: 15503 byte(s)
Diff to previous 5331
replacing mixed tabs with spaces


Revision 5331 - (view) (annotate) - [select for diffs]
Modified Wed Dec 10 01:13:34 2014 UTC (8 years, 3 months ago) by jfenwick
File length: 15480 byte(s)
Diff to previous 5330
Disabling gmshpy until after the release

Revision 5330 - (view) (annotate) - [select for diffs]
Modified Wed Dec 10 00:20:05 2014 UTC (8 years, 3 months ago) by jfenwick
File length: 15361 byte(s)
Diff to previous 4960
Use gmshpy for preference


Revision 4960 - (view) (annotate) - [select for diffs]
Modified Thu May 22 03:35:41 2014 UTC (8 years, 10 months ago) by sshaw
File length: 15046 byte(s)
Diff to previous 4936
removing vestigal epydoc markup and replacing with sphinx markup


Revision 4936 - (view) (annotate) - [select for diffs]
Modified Tue May 13 07:00:36 2014 UTC (8 years, 10 months ago) by caltinay
File length: 15047 byte(s)
Diff to previous 4657
Wait a bit after running the mpi-enabled gmsh version to increase probability
of success (yes it's a hack).


Revision 4657 - (view) (annotate) - [select for diffs]
Modified Thu Feb 6 06:12:20 2014 UTC (9 years, 1 month ago) by jfenwick
File length: 14776 byte(s)
Diff to previous 4578
I changed some files.
Updated copyright notices, added GeoComp.




Revision 4578 - (view) (annotate) - [select for diffs]
Modified Tue Dec 10 04:07:51 2013 UTC (9 years, 3 months ago) by sshaw
File length: 14708 byte(s)
Diff to previous 4559
fixed gmsh Design deconstructor attempting to access non-existing members or files that were never created
also fixed a loose (non-)integer division for python3


Revision 4559 - (view) (annotate) - [select for diffs]
Modified Wed Dec 4 02:05:34 2013 UTC (9 years, 3 months ago) by sshaw
File length: 14502 byte(s)
Diff to previous 4154
renamed design.Design to design.AbstractDesign as a more explicit/descriptive name, this will break any existing custom implementation until changed to match

updated gmsh.Design docstring to match that of the code

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

Revision 4028 - (view) (annotate) - [select for diffs]
Modified Tue Oct 23 05:16:38 2012 UTC (10 years, 4 months ago) by gross
File length: 14360 byte(s)
Diff to previous 4008
changes in pycad to address feature request 0000661

Revision 4008 - (view) (annotate) - [select for diffs]
Modified Tue Oct 2 04:33:27 2012 UTC (10 years, 5 months ago) by gross
File length: 13677 byte(s)
Diff to previous 3981
point coordinates are now written in %.14e rather then %f. This fixes accuracy problems when it comes to geometrically small domains.



Revision 3981 - (view) (annotate) - [select for diffs]
Modified Fri Sep 21 02:47:54 2012 UTC (10 years, 5 months ago) by jfenwick
File length: 13559 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: 13497 byte(s)
Diff to previous 3893
Copyright changes

Revision 3893 - (view) (annotate) - [select for diffs]
Modified Wed Apr 11 01:40:10 2012 UTC (10 years, 11 months ago) by jfenwick
File length: 13497 byte(s)
Diff to previous 3892
Pycad now generates scripts with floating points at 6 decimal places.
Tests have been ammended to match this.


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: 13497 byte(s)
Diff to previous 3782
Merged changes across from the attempt2 branch.
This version builds and passes python2 tests.
It also passes most python3 tests.




Revision 3782 - (view) (annotate) - [select for diffs]
Modified Tue Jan 24 01:30:38 2012 UTC (11 years, 1 month ago) by caltinay
File length: 13358 byte(s)
Diff to previous 3774
Another attempt to fix #649


Revision 3774 - (view) (annotate) - [select for diffs]
Modified Wed Jan 18 06:29:34 2012 UTC (11 years, 2 months ago) by jfenwick
File length: 13356 byte(s)
Diff to previous 3734
dudley, pasowrap, pycad


Revision 3734 - (view) (annotate) - [select for diffs]
Modified Fri Dec 9 04:48:08 2011 UTC (11 years, 3 months ago) by caltinay
File length: 13343 byte(s)
Diff to previous 3595
pycad kept creating temporary files. This should hopefully fix it.


Revision 3595 - (view) (annotate) - [select for diffs]
Modified Thu Sep 15 05:56:47 2011 UTC (11 years, 6 months ago) by caltinay
File length: 13276 byte(s)
Diff to previous 3585
Skip some more gmsh-dependend tests if gmsh is not available.


Revision 3585 - (view) (annotate) - [select for diffs]
Modified Wed Sep 7 06:16:08 2011 UTC (11 years, 6 months ago) by caltinay
File length: 13270 byte(s)
Diff to previous 3466
Fix for #582: Determine if gmsh was compiled with MPI support and use
MPI_Comm_spawn to invoke it if necessary.


Revision 3466 - (view) (annotate) - [select for diffs]
Modified Tue Feb 8 05:16:21 2011 UTC (12 years, 1 month ago) by caltinay
File length: 13380 byte(s)
Diff to previous 3464
Added TEMP and friends to the list of env vars exported by scons.
Modified pycad's gmsh command line since the mesh filename may also contain
spaces.


Revision 3464 - (view) (annotate) - [select for diffs]
Modified Mon Feb 7 05:17:11 2011 UTC (12 years, 1 month ago) by caltinay
File length: 13349 byte(s)
Diff to previous 3002
Use the subprocess module with argument list to run gmsh from pycad to avoid
having to deal with spaces in path names.


Revision 3002 - (view) (annotate) - [select for diffs]
Modified Wed Apr 7 02:25:45 2010 UTC (12 years, 11 months ago) by gross
File length: 13256 byte(s)
Diff to previous 2935
gmsh now supports the Mesh.SubdivisionAlgorithm and Mesh.Algorithm3D option.
The Mesh.Algorithm, Mesh.Smoothing, Mesh.Optimization options are now set in the
.geo file rather than in the command line.






Revision 2935 - (view) (annotate) - [select for diffs]
Modified Mon Feb 15 03:15:59 2010 UTC (13 years, 1 month ago) by gross
File length: 10076 byte(s)
Diff to previous 2881
pycad support 3D transfinite meshing now.

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


Revision 2869 - (view) (annotate) - [select for diffs]
Modified Mon Jan 25 05:11:28 2010 UTC (13 years, 1 month ago) by gross
File length: 9560 byte(s)
Diff to previous 2867
back to the old version. The last checkin was a mistake.

Revision 2867 - (view) (annotate) - [select for diffs]
Modified Fri Jan 22 06:28:02 2010 UTC (13 years, 1 month ago) by gross
File length: 10055 byte(s)
Diff to previous 2717
now option -i is used if no script is given

Revision 2717 - (view) (annotate) - [select for diffs]
Modified Wed Oct 14 03:41:20 2009 UTC (13 years, 5 months ago) by gross
File length: 9586 byte(s)
Diff to previous 2700
implements https://mantis.esscc.uq.edu.au/view.php?id=426

Revision 2700 - (view) (annotate) - [select for diffs]
Modified Wed Sep 30 08:28:55 2009 UTC (13 years, 5 months ago) by gross
File length: 9916 byte(s)
Diff to previous 2695
pycad test fixed.

Revision 2695 - (view) (annotate) - [select for diffs]
Modified Tue Sep 29 06:29:12 2009 UTC (13 years, 5 months ago) by gross
File length: 9849 byte(s)
Diff to previous 2625
pycad passes on more infromation from gmsh now.

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

Revision 2620 - (view) (annotate) - [select for diffs]
Modified Thu Aug 20 06:24:00 2009 UTC (13 years, 7 months ago) by gross
File length: 9828 byte(s)
Diff to previous 2549
some small additions to pycad to make life a bit easier.

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

Revision 2429 - (view) (annotate) - [select for diffs]
Modified Tue May 19 10:04:54 2009 UTC (13 years, 10 months ago) by gross
File length: 9572 byte(s)
Diff to previous 2344
pycad allows noe to set the number of elements per line and the generation of quadrilateral elements over serfaces.

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


Revision 2319 - (view) (annotate) - [select for diffs]
Modified Thu Mar 19 03:19:41 2009 UTC (14 years ago) by gross
File length: 8172 byte(s)
Diff to previous 2314
some more work on tests on MPI

Revision 2314 - (view) (annotate) - [select for diffs]
Modified Tue Mar 17 04:16:24 2009 UTC (14 years ago) by gross
File length: 8167 byte(s)
Diff to previous 2308
proper error handling for ppn2mpeg execution added.



Revision 2308 - (view) (annotate) - [select for diffs]
Modified Mon Mar 16 01:20:56 2009 UTC (14 years ago) by gross
File length: 8195 byte(s)
Diff to previous 2248
size_t may be 64 bits which is incompatible to MPI_INT. This problem is fixed by inserting a cast in Mesh_read.c. 
Moreover a fix has been added making sure that gmsh and triangle are executed on one processor only.




Revision 2248 - (view) (annotate) - [select for diffs]
Modified Thu Feb 5 23:24:04 2009 UTC (14 years, 1 month ago) by gross
File length: 8040 byte(s)
Diff to previous 2238
small fixes to gmsh command generation

Revision 2238 - (view) (annotate) - [select for diffs]
Modified Tue Feb 3 06:17:34 2009 UTC (14 years, 1 month ago) by gross
File length: 8027 byte(s)
Diff to previous 2180
gmsh does not support curveture based meshing optin anymore

Revision 2180 - (view) (annotate) - [select for diffs]
Modified Thu Dec 18 00:30:25 2008 UTC (14 years, 3 months ago) by caltinay
File length: 8077 byte(s)
Diff to previous 2096
Assorted spelling, grammar, whitespace and copy/paste error fixes (Part 3).
With boost 1.37 all epydoc warnings are gone now.
This commit should be a no-op.


Revision 2096 - (view) (annotate) - [select for diffs]
Modified Tue Nov 25 10:29:27 2008 UTC (14 years, 3 months ago) by phornby
File length: 8524 byte(s)
Diff to previous 2090
Starting from the recent reversion:

1. Leave __del__ alone.
2. mkstemp() actually opens the file it creates, only to be opened again in getMeshHandler(), so add an os.close() straight after the mkstemp()'s
3. in getMeshHandler(), close the script file immediately when finished with it instead of doing something non-local in __del__.

Untested on 'nix's at this point. Commit is for testing purposes.


Revision 2090 - (view) (annotate) - [select for diffs]
Modified Mon Nov 24 06:41:08 2008 UTC (14 years, 3 months ago) by ksteube
File length: 8371 byte(s)
Diff to previous 2088
Reverted pycad/py_src/gmsh.py to before revision 1904.
A change had been made to the way the geo file was opened.


Revision 2088 - (view) (annotate) - [select for diffs]
Modified Mon Nov 24 05:39:38 2008 UTC (14 years, 3 months ago) by caltinay
File length: 8652 byte(s)
Diff to previous 1904
pycad: Added missing 'self' scope


Revision 1904 - (view) (annotate) - [select for diffs]
Modified Wed Oct 22 08:27:56 2008 UTC (14 years, 4 months ago) by phornby
File length: 8647 byte(s)
Diff to previous 1809
This now passes on windows. The main issue was that __del__ was being called when there was no open script or mesh file??? Could not fathom why, but added an extra test in __del__ to make sure the files were actually open before closing & unlinking.  It may be better to deal with the opening, writing, closing, os.system call, and final unlinking of the script file in getMeshHandler(). That way all manipulations are local, and only the mesh file need be handled in a remote piece of code like __del__.

Not tested on Altix or linux yet.... get to that tonight.

Revision 1809 - (view) (annotate) - [select for diffs]
Modified Thu Sep 25 06:43:44 2008 UTC (14 years, 5 months ago) by ksteube
File length: 8371 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: 8416 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/pycad/py_src/gmsh.py
File length: 8416 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/pycad/py_src/gmsh.py
File length: 8416 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, 5 months ago) by ksteube
File length: 8416 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: 7804 byte(s)
Diff to previous 1123
This version passes the tests on windows except for 

   * vtk
   * netCDF

The version needs to be tested on altix and linux

Revision 1123 - (view) (annotate) - [select for diffs]
Modified Thu May 3 04:13:52 2007 UTC (15 years, 10 months ago) by gross
File length: 7739 byte(s)
Diff to previous 1045
PropertySets cann now be created wirout an intial 
set of items.



Revision 1045 - (view) (annotate) - [select for diffs]
Modified Tue Mar 20 01:30:58 2007 UTC (16 years ago) by gross
File length: 7668 byte(s)
Diff to previous 1005
some modifications on the pycad implementation to make it easier to build
interfaces for other mesh generators. The script statement generation is now
done by the Design and not the Primitive classes.



Revision 1005 - (view) (annotate) - [select for diffs]
Modified Fri Mar 2 06:50:48 2007 UTC (16 years ago) by ksteube
File length: 4679 byte(s)
Diff to previous 1003
Catch errors when we execute external program gmsh. We don't yet
report what type of error happened.


Revision 1003 - (view) (annotate) - [select for diffs]
Modified Thu Mar 1 01:53:37 2007 UTC (16 years ago) by gross
File length: 4573 byte(s)
Diff to previous 999
small fix on the finley gmsh reader for the case of no face elements.

Revision 999 - (view) (annotate) - [select for diffs]
Modified Tue Feb 27 08:12:37 2007 UTC (16 years ago) by gross
File length: 4271 byte(s)
Diff to previous 990
start to put some pycad documentation into the users guide

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: 4285 byte(s)
Diff to previous 982
Cleaned up the python in-line doc to make epydoc work better

Configured for shake71 to find NetCDF libraries


Revision 982 - (view) (annotate) - [select for diffs]
Modified Mon Feb 19 23:55:52 2007 UTC (16 years, 1 month ago) by gross
File length: 4267 byte(s)
Diff to previous 934
data object load checks for sample  ordering now.

Revision 934 - (view) (annotate) - [select for diffs]
Modified Tue Jan 23 09:52:45 2007 UTC (16 years, 1 month ago) by gross
File length: 4267 byte(s)
Diff to previous 932
gmsh file reader for finley

Revision 932 - (view) (annotate) - [select for diffs]
Added Fri Jan 19 09:27:15 2007 UTC (16 years, 2 months ago) by gross
File length: 4752 byte(s)
Design added. The loops tests are switched off to allow faults.

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