I don't understand. What changes did you have to make to UniformGrid2D? That 
script is automatically (and successfully) tested every time trunk/ is updated, 
so there should be no changes necessary. As for setting TKAgg, you are better 
doing that in your .matplotlibrc 
<http://matplotlib.sourceforge.net/users/customizing.html> than by hacking the 
examples.


On Feb 7, 2012, at 8:01 PM, Yun Tao wrote:

> It works! The only fix I have to make is to manually import and extend 
> uniformGrid2D in meshes/__init__.py. Furthermore, in the script itself I 
> imported matplotlib and used 'TKAgg' as the backend.
> 
> Thanks for the help!
> 
> - Yun
> 
> 
> On Mon, Jan 30, 2012 at 5:44 AM, Jonathan Guyer <[email protected]> wrote:
> 
> On Jan 29, 2012, at 8:08 PM, Yun Tao wrote:
> 
> > I've been leaning FiPy in hope to solve a coupled system of stochastic 
> > pde's that are representations of animal migration mechanisms. So far I've 
> > found just one recent thread related to the topic:
> > http://comments.gmane.org/gmane.comp.python.fipy/2329
> > Regarding the response by Jonathan Guyer, I'm hoping to know whether the 
> > major release mentioned therein, or at least its simultaneous solutions 
> > solver, is currently available.
> 
> FiPy with coupled solutions has not been released yet, as we have been trying 
> to resolve a few edge cases that cause test failures in certain 
> configurations.
> 
> FiPy's development code, as you found, is always available *without support* 
> via svn and can be viewed at http://matforge.org/fipy/browser. The code in 
> trunk/ is always what we intend to eventually release.
> 
> 
> > On a similar note, I found a wonderful script for coupled system written by 
> > Jonathan: 
> > http://matforge.org/fipy/browser/trunk/examples/cahnHilliard/mesh2D-coupled.py
> 
> Actually, I think Daniel wrote that, despite my name appearing first.
> 
> > Since it is the only example I can find of this class of problems, I've 
> > been trying to understand it to the fullest extent. However, I've been 
> > having trouble running through the program myself and wonder whether the 
> > link above refers to the finalized, working version.
> >
> > Minor hiccup wise, on ln 81, the ".value" after the GaussianNoiseVariable 
> > seems to unnecessarily reduce the variable "noise" to an array of zeros.
> >
> > A more serious complication is when executing the program through ln 145 
> > repeatedly yields the following error message:
> > TypeError: __init__() got an unexpected keyword argument 'var'
> 
> Both issues would appear to be due to your running an example from FiPy's 
> trunk/ with an older FiPy installation (presumably 2.1.x). You would need to 
> install all of FiPy's code from SVN trunk/ in order to run this example.
> 
> 
> > Thank you all for having been so incredibly helpful. Long live FiPy!
> 
> We're happy to help.
> 
> 
> _______________________________________________
> fipy mailing list
> [email protected]
> http://www.ctcms.nist.gov/fipy
>  [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]
> 
> 
> 
> -- 
> Yun Tao
> 
> Graduate Group of Ecology Doctoral Candidate
> Department of Environmental Science and Policy
> Center for Population Biology
> University of California, Davis
> 
> 
> <ATT00001..c>


_______________________________________________
fipy mailing list
[email protected]
http://www.ctcms.nist.gov/fipy
  [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]

Reply via email to