Log of /trunk/pycad
Directory Listing
Revision
1905 -
Directory Listing
Modified
Wed Oct 22 08:40:05 2008 UTC
(12 years, 3 months ago)
by
phornby
I did a lot of rationalising of the indentation, which looks like an alarming number of changes. I just got sick of my editor getting confused about what the indent was in this function as opposed to the last one I was working on.
The real mods. are trivial, arising from the fact that 'nix'es will write 1e-05 (say), while winblows will write 1e-005. This causes string comparisons that check the mesh file generation to fail. This, combined with the more pedantic behaviour of unlink() made pycad very fragile on windows. All fixed now.
Test on the 'nixes tonight.
May I ask for a hold off on the branch merge, Joel, till I get this stable on all platforms, and deal with the usual unused vars. that pop up from all the ifdefs?
Revision
1904 -
Directory Listing
Modified
Wed Oct 22 08:27:56 2008 UTC
(12 years, 3 months ago)
by
phornby
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
1811 -
Directory Listing
Modified
Thu Sep 25 23:11:13 2008 UTC
(12 years, 4 months ago)
by
ksteube
Copyright updated in all files
Revision
1809 -
Directory Listing
Modified
Thu Sep 25 06:43:44 2008 UTC
(12 years, 4 months ago)
by
ksteube
Copyright updated in all python files
Revision
1727 -
Directory Listing
Modified
Tue Aug 26 04:19:27 2008 UTC
(12 years, 5 months ago)
by
artak
numarray.dot in MAC has a bug, so if it is possible use numpy.dot instead in Point.isColoacted()
Revision
1716 -
Directory Listing
Modified
Thu Aug 21 05:03:49 2008 UTC
(12 years, 5 months ago)
by
gross
getListOfTags method added to FunctionSpace class
Revision
1705 -
Directory Listing
Modified
Thu Aug 14 05:56:40 2008 UTC
(12 years, 5 months ago)
by
ksteube
Branch scons-dev is hereby closed.
Some parts of scons scripts have been re-written.
Revision
1388 -
Directory Listing
Modified
Fri Jan 11 07:45:58 2008 UTC
(13 years ago)
by
trankine
And get the *(&(*&(* name right
Revision
1387 -
Directory Listing
Modified
Fri Jan 11 07:45:26 2008 UTC
(13 years ago)
by
trankine
Original Path:
temp/pycad
Restore the trunk that existed before the windows changes were committed to the (now moved to branches) old trunk.
Revision
1376 -
Directory Listing
Modified
Wed Jan 9 01:38:18 2008 UTC
(13 years ago)
by
gross
inserted sys.exit(1) into the tests so scons can detect the failure of the test.
A similar statement has been removed from an earlier as it produces problems on 64bit Linux. Previously exit(0) was called in case of success but now this is not done in order to avoid a fatal end of the program. in the case of an error in the test there could be a fatal error so but I guess that this not really a problem.
PS: the fact that signal 0 was returned even for the case of an error lead to the illusion that all tests have been completed successfully.
Revision
1338 -
Directory Listing
Modified
Mon Nov 5 06:32:29 2007 UTC
(13 years, 2 months ago)
by
gross
bug in the selection of the order of the output mesh fixed.
Revision
1312 -
Directory Listing
Modified
Mon Sep 24 06:18:44 2007 UTC
(13 years, 4 months ago)
by
ksteube
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
1270 -
Directory Listing
Modified
Thu Aug 23 03:13:11 2007 UTC
(13 years, 5 months ago)
by
gross
PlaneSurface accepts now non-Line primitives (stupid mistake to restrict the type. in fact a test for points on a plane is needed
Revision
1137 -
Directory Listing
Modified
Thu May 10 08:11:31 2007 UTC
(13 years, 8 months ago)
by
gross
This version passes the tests on windows except for
* vtk
* netCDF
The version needs to be tested on altix and linux
Revision
1133 -
Directory Listing
Modified
Tue May 8 07:19:33 2007 UTC
(13 years, 8 months ago)
by
gross
Changes needed for windows. This still does not work on and has not run on linux and the altix.
There are a few changes in names in the scons script, in particular _libs is used rather than _lib and _libs is always a list. By default on windows MSVC is used. The location of python is at C:\Program Files\python<version>, boost at C:\Program Files\boost and netcdf at C:\Program Files\netcdf.
Revision
1123 -
Directory Listing
Modified
Thu May 3 04:13:52 2007 UTC
(13 years, 8 months ago)
by
gross
PropertySets cann now be created wirout an intial
set of items.
Revision
1109 -
Directory Listing
Modified
Thu Apr 19 04:21:43 2007 UTC
(13 years, 9 months ago)
by
btully
Revision
1061 -
Directory Listing
Modified
Mon Mar 26 05:32:22 2007 UTC
(13 years, 10 months ago)
by
ksteube
Commented the example
Revision
1060 -
Directory Listing
Modified
Mon Mar 26 05:11:10 2007 UTC
(13 years, 10 months ago)
by
ksteube
A new pycad example which shows how to have an object with a cutout area
Revision
1052 -
Directory Listing
Modified
Wed Mar 21 23:45:29 2007 UTC
(13 years, 10 months ago)
by
gross
Teo problems in the TagMap class fixed:
1) keyword argument map has been renamed to mapping (as map is a python keyword)
2) self.__mapping is now a copy of the argument in __init__. Otherwise the default
value for mapping is changed if self.__mapping is altered.
Revision
1045 -
Directory Listing
Modified
Tue Mar 20 01:30:58 2007 UTC
(13 years, 10 months ago)
by
gross
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
1044 -
Directory Listing
Modified
Mon Mar 19 07:29:31 2007 UTC
(13 years, 10 months ago)
by
gross
clear name tagging is supported now.
Revision
1034 -
Directory Listing
Modified
Wed Mar 14 23:49:20 2007 UTC
(13 years, 10 months ago)
by
gross
In VC++ boost has problems with numarray arguments from python. This
fixes that problem by taking python::object arguments from the python
level and converting it into python::numeric::array on the C++ level.
This hasn't been tested with VC++ yet.
Moreover the two Data methods dealing with big numarrays as argument and
return value have been removed.
Revision
1021 -
Directory Listing
Modified
Tue Mar 13 02:06:30 2007 UTC
(13 years, 10 months ago)
by
gross
some changes to make things run with python 2.3
Revision
1010 -
Directory Listing
Modified
Mon Mar 5 04:01:43 2007 UTC
(13 years, 10 months ago)
by
gross
simple quad example added
Revision
1006 -
Directory Listing
Modified
Sun Mar 4 23:15:15 2007 UTC
(13 years, 10 months ago)
by
ksteube
pycad test was failing due to typo and to missing parameter in Design.setOptions
Revision
1005 -
Directory Listing
Modified
Fri Mar 2 06:50:48 2007 UTC
(13 years, 11 months ago)
by
ksteube
Catch errors when we execute external program gmsh. We don't yet
report what type of error happened.
Revision
1003 -
Directory Listing
Modified
Thu Mar 1 01:53:37 2007 UTC
(13 years, 11 months ago)
by
gross
small fix on the finley gmsh reader for the case of no face elements.
Revision
999 -
Directory Listing
Modified
Tue Feb 27 08:12:37 2007 UTC
(13 years, 11 months ago)
by
gross
start to put some pycad documentation into the users guide
Revision
997 -
Directory Listing
Modified
Mon Feb 26 06:31:45 2007 UTC
(13 years, 11 months ago)
by
gross
small small fixes in modellib
Revision
990 -
Directory Listing
Modified
Wed Feb 21 04:27:52 2007 UTC
(13 years, 11 months ago)
by
ksteube
Cleaned up the python in-line doc to make epydoc work better
Configured for shake71 to find NetCDF libraries
Revision
982 -
Directory Listing
Modified
Mon Feb 19 23:55:52 2007 UTC
(13 years, 11 months ago)
by
gross
data object load checks for sample ordering now.
Revision
955 -
Directory Listing
Modified
Mon Feb 12 03:54:54 2007 UTC
(13 years, 11 months ago)
by
gross
some examples for pycad added
Revision
944 -
Directory Listing
Modified
Tue Jan 30 08:57:37 2007 UTC
(14 years ago)
by
gross
PropertySet added
Revision
934 -
Directory Listing
Modified
Tue Jan 23 09:52:45 2007 UTC
(14 years ago)
by
gross
gmsh file reader for finley
Revision
933 -
Directory Listing
Modified
Mon Jan 22 07:20:25 2007 UTC
(14 years ago)
by
gross
test for generation of gmsh script added
Revision
932 -
Directory Listing
Modified
Fri Jan 19 09:27:15 2007 UTC
(14 years ago)
by
gross
Design added. The loops tests are switched off to allow faults.
Revision
931 -
Directory Listing
Modified
Fri Jan 19 03:06:33 2007 UTC
(14 years ago)
by
gross
pycad supports volumes now.
Revision
930 -
Directory Listing
Modified
Thu Jan 18 08:12:58 2007 UTC
(14 years ago)
by
gross
more tests and some modifications on SurfaceLoop
Revision
929 -
Directory Listing
Modified
Wed Jan 17 07:41:13 2007 UTC
(14 years ago)
by
gross
reverse orientation added but does not work for 2D yet.
Revision
928 -
Directory Listing
Modified
Tue Jan 16 08:36:03 2007 UTC
(14 years ago)
by
gross
more tests but there is a problem with reversing directions.
Revision
927 -
Directory Listing
Modified
Fri Jan 12 06:32:08 2007 UTC
(14 years ago)
by
gross
surfaces implemented by no testing yet
Revision
925 -
Directory Listing
Modified
Wed Jan 10 22:40:00 2007 UTC
(14 years ago)
by
gross
testing for CurvedLoop added.
Revision
923 -
Directory Listing
Modified
Tue Jan 9 22:50:43 2007 UTC
(14 years ago)
by
gross
CurveLoop revised and tests added
Revision
919 -
Directory Listing
Modified
Wed Jan 3 22:54:50 2007 UTC
(14 years ago)
by
gross
arc test is passing now. The check for colocation is now invariant of direction
Revision
917 -
Directory Listing
Modified
Tue Jan 2 02:46:53 2007 UTC
(14 years ago)
by
gross
some EsysXML input files. rebuild still fails for these files
Revision
916 -
Directory Listing
Modified
Fri Dec 15 08:25:57 2006 UTC
(14 years, 1 month ago)
by
gross
curves implemenred and tested.
Revision
915 -
Directory Listing
Modified
Thu Dec 14 06:12:53 2006 UTC
(14 years, 1 month ago)
by
gross
more testing on pycad
Revision
912 -
Directory Listing
Modified
Wed Dec 6 03:29:49 2006 UTC
(14 years, 1 month ago)
by
gross
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
910 -
Directory Listing
Modified
Fri Nov 24 10:04:09 2006 UTC
(14 years, 2 months ago)
by
gross
more testing on transformation. rotation uses the right hand rule now.
Revision
907 -
Directory Listing
Modified
Wed Nov 22 09:54:19 2006 UTC
(14 years, 2 months ago)
by
gross
more testing for transformations added
Revision
905 -
Directory Listing
Modified
Mon Nov 20 11:23:24 2006 UTC
(14 years, 2 months ago)
by
gross
some tests for pycad added
Revision
903 -
Directory Listing
Modified
Fri Nov 17 01:59:49 2006 UTC
(14 years, 2 months ago)
by
gross
bug with tagged data in vtk and dx writer fixed
Revision
902 -
Directory Listing
Modified
Thu Nov 16 07:22:08 2006 UTC
(14 years, 2 months ago)
by
gross
extended functionality
Revision
901 -
Directory Listing
Modified
Mon Nov 13 08:14:55 2006 UTC
(14 years, 2 months ago)
by
gross
some small changes
Revision
900 -
Directory Listing
Modified
Mon Nov 13 08:03:22 2006 UTC
(14 years, 2 months ago)
by
gross
some clean up
Revision
899 -
Directory Listing
Modified
Mon Nov 13 08:02:24 2006 UTC
(14 years, 2 months ago)
by
gross
a first very basic version of pycad
Revision
898 -
Directory Listing
Added
Sun Nov 12 23:56:26 2006 UTC
(14 years, 2 months ago)
by
gross
first checkin of pycad (gmsh pythoin wrapper)