Daniel Wheeler | 11 Jul 23:14
Gravatar

Re: Programing Differential Equations in Fipy


Did you install this version of fipy from your working copy?

Execute these commands at the python command line and tell me what happens.

    >>> import fipy, os
    >>> print fipy.__version__
    >>> print fipy.__path__
    >>> os.system('gmsh --version')

On Fri, Jul 11, 2008 at 4:13 PM, Zhiwen Liang <liangz@...> wrote:
> Hi Daniel,
> I downloaded the current version of Fipy using SVN. I just tried the
> diffusion example "circle.py" and it seems there is a problem with the GMSH
> mesh. The error is:
>   File "circle.py", line 301, in ?
>     exec(fipy.tests.doctestPlus._getScript())
>   File "<string>", line 39, in ?
>   File
> "/Users/liangz/stow/Fipy_current//lib/python2.3/site-packages/fipy/meshes/numMesh/gmshImport.py",
> line 394, in __init__
>     mesh2D.Mesh2D.__init__(self, **_DataGetter().getData(filename,
> dimensions = 2, coordDimensions = coordDimensions))
>   File
> "/Users/liangz/stow/Fipy_current//lib/python2.3/site-packages/fipy/meshes/numMesh/gmshImport.py",
> line 263, in getData
>     vertexCoords = self._calcVertexCoords(coordDimensions)
>   File
> "/Users/liangz/stow/Fipy_current//lib/python2.3/site-packages/fipy/meshes/numMesh/gmshImport.py",
> line 286, in _calcVertexCoords
(Continue reading)


Gmane