/[escript]/branches/windows_from_1431_trunk/FunctionSpace_str_test.py
ViewVC logotype

Annotation of /branches/windows_from_1431_trunk/FunctionSpace_str_test.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1433 - (hide annotations)
Wed Feb 27 10:10:09 2008 UTC (11 years, 1 month ago) by trankine
File MIME type: text/x-python
File size: 262 byte(s)
This branch replaces 
https://shake200.esscc.uq.edu.au/svn/esys13/branches/windows_from_1383_trunk

as the windows port branch.

If you were on the above branch, an svn switch will get you across.

The added file is a temporary test file to be deleted later. I excercises some (ex-)misbehaviour caused by returning anonymous temporary copies of local stack temporary variables across windows DLL boundaries.
1 trankine 1433
2     import copy as cp
3    
4     from esys.escript import *
5     from esys.finley import Rectangle
6     d=Rectangle(1,1)
7     y=Function(d)
8     #print type(y)
9     #x = cp.deepcopy(y)
10     #print type(x)
11     for i in range(50000):
12     print (10*"="+" %d "+10*"=")%i
13     sss=str(y)
14     print sss
15    

  ViewVC Help
Powered by ViewVC 1.1.26