<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://permalink.gmane.org/gmane.comp.python.fipy">
    <title>gmane.comp.python.fipy</title>
    <link>http://permalink.gmane.org/gmane.comp.python.fipy</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.fipy/1158"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.fipy/1157"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.fipy/1156"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.fipy/1155"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.fipy/1154"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.fipy/1153"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.fipy/1152"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.fipy/1151"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.fipy/1150"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.fipy/1149"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.fipy/1148"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.fipy/1147"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.fipy/1146"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.fipy/1145"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.fipy/1144"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.fipy/1143"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.fipy/1142"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.fipy/1141"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.fipy/1140"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.python.fipy/1139"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.fipy/1158">
    <title>Re: Solver stagnated error</title>
    <link>http://permalink.gmane.org/gmane.comp.python.fipy/1158</link>
    <description>I thinking about that. I was using one document in which I picked up this
example. As you can in the attached file I sent to you there is non boundary
conditions for phi and I think may be the problem should be there. I have
check every where in the document I have, they have not mentioned initial
conditions, sure they forgoted to mentioned them. Daniel according to plot
in the attached file, I want to try or I guess these  boundary conditions:

phi=0.9 at x=0
phi=0.3 at x=1

and other values of phi (the approximations) are in between. we can try
these boundaries.

if this not work, I will join by the week end the author to know if there
are other boundary conditions or if he just forgot it.

Regards

2008/8/28 Daniel Wheeler &lt;daniel.wheeler2-Re5JQEeQqe8AvxtiuMwx3w&lt; at &gt;public.gmane.org&gt;



</description>
    <dc:creator>franck kalala</dc:creator>
    <dc:date>2008-08-28T18:43:02</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.fipy/1157">
    <title>Re: Solver stagnated error</title>
    <link>http://permalink.gmane.org/gmane.comp.python.fipy/1157</link>
    <description>
Sorry. What are the boundary conditions for phi?

On Thu, Aug 28, 2008 at 12:35 PM, Daniel Wheeler
&lt;daniel.wheeler2-Re5JQEeQqe8AvxtiuMwx3w&lt; at &gt;public.gmane.org&gt; wrote:



</description>
    <dc:creator>Daniel Wheeler</dc:creator>
    <dc:date>2008-08-28T16:47:40</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.fipy/1156">
    <title>Re: Solver stagnated error</title>
    <link>http://permalink.gmane.org/gmane.comp.python.fipy/1156</link>
    <description>
What should are the boundary conditions for phi?

On Tue, Aug 26, 2008 at 1:58 PM, franck kalala
&lt;franckkalala-gM/Ye1E23mwN+BqQ9rBEUg&lt; at &gt;public.gmane.org&gt; wrote:



</description>
    <dc:creator>Daniel Wheeler</dc:creator>
    <dc:date>2008-08-28T16:47:29</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.fipy/1155">
    <title>Re: example.diffusion.cricle</title>
    <link>http://permalink.gmane.org/gmane.comp.python.fipy/1155</link>
    <description>

On Aug 27, 2008, at 4:53 PM, franck kalala wrote:


How strange. Please apply the patch below and report back the error  
messages (if you're using svn, you can just "revert" later; otherwise,  
work on a copy).


Index: examples/diffusion/circle.py
===================================================================
--- examples/diffusion/circle.py(revision 2734)
+++ examples/diffusion/circle.py(working copy)
&lt; at &gt;&lt; at &gt; -141,14 +141,11 &lt; at &gt;&lt; at &gt;

      &gt;&gt;&gt; viewer = None
      &gt;&gt;&gt; if __name__ == '__main__':
-    ...     try:
-    ...         from fipy.viewers.gistViewer.gist2DViewer import  
Gist2DViewer
-    ...         viewer = Gist2DViewer(vars=phi,
-    ...                               limits={'datamin': -1,  
'datamax': 1.})
-    ...         viewer.plotMesh()
-    ...         raw_input("Irregular circular mesh. Press &lt;return&gt; to  
proceed...")
-    ...     except:
-    ...         print "Unable to create a Gist2DViewer"
+    ...     from fipy.viewers.gistViewer.gist2DViewer import  
Gist2DViewer
+    ...     viewe</description>
    <dc:creator>Jonathan Guyer</dc:creator>
    <dc:date>2008-08-28T11:55:55</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.fipy/1154">
    <title>Re: example.diffusion.cricle</title>
    <link>http://permalink.gmane.org/gmane.comp.python.fipy/1154</link>
    <description>yes Gist is installed,

when running this program there a windows intitled
c:\windows\system32\cmd.exe which appear and disapear quickly and the follow
the message "Unable to create a Gist2DViewer"

2008/8/27 Jonathan Guyer &lt;guyer-R3+/ord2DXQ&lt; at &gt;public.gmane.org&gt;



</description>
    <dc:creator>franck kalala</dc:creator>
    <dc:date>2008-08-27T20:53:17</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.fipy/1153">
    <title>Re: Porting to FiPy-2.0a1. Troubles.</title>
    <link>http://permalink.gmane.org/gmane.comp.python.fipy/1153</link>
    <description>

On Aug 27, 2008, at 3:29 PM, I wrote:


I forgot a crucial file. Get r2734 or later.



</description>
    <dc:creator>Jonathan Guyer</dc:creator>
    <dc:date>2008-08-27T19:57:54</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.fipy/1152">
    <title>Re: Porting to FiPy-2.0a1. Troubles.</title>
    <link>http://permalink.gmane.org/gmane.comp.python.fipy/1152</link>
    <description>

On Aug 25, 2008, at 10:40 AM, I wrote:


I've just checked in a fix for this problem. If you update to r2731  
and reinstall FiPy, it will hopefully be resolved.



</description>
    <dc:creator>Jonathan Guyer</dc:creator>
    <dc:date>2008-08-27T19:29:50</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.fipy/1151">
    <title>Re: example.diffusion.cricle</title>
    <link>http://permalink.gmane.org/gmane.comp.python.fipy/1151</link>
    <description>

On Aug 27, 2008, at 10:08 AM, franck kalala wrote:


Have you installed Gist?



</description>
    <dc:creator>Jonathan Guyer</dc:creator>
    <dc:date>2008-08-27T14:36:39</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.fipy/1150">
    <title>Re: example.diffusion.cricle</title>
    <link>http://permalink.gmane.org/gmane.comp.python.fipy/1150</link>
    <description>Thanks Jonathan,

I have not this error message, but i got this

"Unable to create a Gist2DViewer"

Regards

2008/8/26 Jonathan Guyer &lt;guyer-R3+/ord2DXQ&lt; at &gt;public.gmane.org&gt;



</description>
    <dc:creator>franck kalala</dc:creator>
    <dc:date>2008-08-27T14:08:28</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.fipy/1149">
    <title>Re: example.diffusion.cricle</title>
    <link>http://permalink.gmane.org/gmane.comp.python.fipy/1149</link>
    <description>

On Aug 26, 2008, at 8:34 AM, franck kalala wrote:


This error is because FiPy was written for an older version of Gmsh  
than you have installed. We fixed this problem on trunk a long time  
ago, but it never got ported back to 1.2. Thanks for reporting the  
problem.


----

If you are using svn (I don't think you are?) then you can do an

    svn update

You will need to be sure that you have "branches/version-1_2" and not  
"tags/version-1_2". You can do

    svn info

to check, or you can just do

    svn switch http://matforge.org/svn/fipy/branches/version-1_2

to be sure.

----

If you are *not* using svn, then you can manually download

    http://matforge.org/svn/fipy/branches/version-1_2/fipy/meshes/numMesh/gmshImport.py

and replace the file of the same name in your fipy/ directory. If your  
PYTHONPATH points at this working copy of the fipy source, then you're  
done. If you previously installed fipy, then you'll need to run

    python setup.py install

again.




</description>
    <dc:creator>Jonathan Guyer</dc:creator>
    <dc:date>2008-08-26T20:49:35</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.fipy/1148">
    <title>Re: Solver stagnated error</title>
    <link>http://permalink.gmane.org/gmane.comp.python.fipy/1148</link>
    <description>
On Tue, Aug 26, 2008 at 1:58 PM, franck kalala
&lt;franckkalala-gM/Ye1E23mwN+BqQ9rBEUg&lt; at &gt;public.gmane.org&gt; wrote:

Frank, This is most probably caused by an issue in fipy whereby the
variable operators (getGrad, GetFaceGrad etc) are unaware of the
boundary conditions assigned to the variable. This is something we are
planning to fix in later versions of fipy. There are ways to fix this
issue and I'll get back to you in a day or two to help with this.
Cheers


</description>
    <dc:creator>Daniel Wheeler</dc:creator>
    <dc:date>2008-08-26T19:24:32</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.fipy/1147">
    <title>Re: Solver stagnated error</title>
    <link>http://permalink.gmane.org/gmane.comp.python.fipy/1147</link>
    <description/>
    <dc:creator>franck kalala</dc:creator>
    <dc:date>2008-08-26T17:58:57</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.fipy/1146">
    <title>Re: Surface plot using viewers</title>
    <link>http://permalink.gmane.org/gmane.comp.python.fipy/1146</link>
    <description>Thanks it works

2008/8/26 Jonathan Guyer &lt;guyer-R3+/ord2DXQ&lt; at &gt;public.gmane.org&gt;



</description>
    <dc:creator>franck kalala</dc:creator>
    <dc:date>2008-08-26T17:03:17</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.fipy/1145">
    <title>Re: Surface plot using viewers</title>
    <link>http://permalink.gmane.org/gmane.comp.python.fipy/1145</link>
    <description>

On Aug 26, 2008, at 11:52 AM, franck kalala wrote:


Daniel's code was for trunk/. You'll want to do

x = m.getCellCenters()[...,0]
y = m.getCellCenters()[...,1]

like you've been doing all along.



</description>
    <dc:creator>Jonathan Guyer</dc:creator>
    <dc:date>2008-08-26T16:49:25</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.fipy/1144">
    <title>Re: Surface plot using viewers</title>
    <link>http://permalink.gmane.org/gmane.comp.python.fipy/1144</link>
    <description>Thanks for ur code,
I try to run it in a shell, but i have this error message,

Traceback (most recent call last):
  File "C:/Python25/surface.py", line 10, in &lt;module&gt;
    v = CellVariable(mesh=m, value=numerix.exp(-(x**2+y**2)))
  File "C:\Python25\lib\site-packages\fipy\variables\cellVariable.py", line
74, in __init__
    Variable.__init__(self, mesh = mesh, name = name, value = value, unit =
unit, array = array)
  File "C:\Python25\lib\site-packages\fipy\variables\variable.py", line 130,
in __init__
    self._setValue(value = value, unit = unit, array = array)
  File "C:\Python25\lib\site-packages\fipy\variables\variable.py", line 512,
in _setValue
    self.value = self._makeValue(value = value, unit = unit, array = array)
  File "C:\Python25\lib\site-packages\fipy\variables\variable.py", line 542,
in _makeValue
    array[:] = value
ValueError: shape mismatch: objects cannot be broadcast to a single shape

Regards



2008/8/26 Daniel Wheeler &lt;daniel.wheeler2-Re5JQEeQqe8AvxtiuMwx3w&lt; at &gt;public.gmane.org&gt;



</description>
    <dc:creator>franck kalala</dc:creator>
    <dc:date>2008-08-26T15:52:54</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.fipy/1143">
    <title>Re: Surface plot using viewers</title>
    <link>http://permalink.gmane.org/gmane.comp.python.fipy/1143</link>
    <description>
from fipy import *

L = 1.
N = 100

m = Grid2D(nx=N, ny=N, dx=L / N, dy=L / N)

x, y = m.getCellCenters()

v = CellVariable(mesh=m, value=numerix.exp(-(x**2+y**2)))

vi = viewers.make(v)

vi.plot()

raw_input("wait")

Hope that helps. Cheers.

On Mon, Aug 25, 2008 at 8:25 PM, franck kalala
&lt;franckkalala-gM/Ye1E23mwN+BqQ9rBEUg&lt; at &gt;public.gmane.org&gt; wrote:



</description>
    <dc:creator>Daniel Wheeler</dc:creator>
    <dc:date>2008-08-26T13:59:18</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.fipy/1142">
    <title>Re: Surface plot using viewers</title>
    <link>http://permalink.gmane.org/gmane.comp.python.fipy/1142</link>
    <description>

On Aug 25, 2008, at 8:25 PM, franck kalala wrote:


Create a CellVariable with that value and view it as usual.  
Alternatively, make CellVariable\s of x and y and then z will  
automatically be a CellVariable.



</description>
    <dc:creator>Jonathan Guyer</dc:creator>
    <dc:date>2008-08-26T13:44:58</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.fipy/1141">
    <title>Re: example.diffusion.cricle</title>
    <link>http://permalink.gmane.org/gmane.comp.python.fipy/1141</link>
    <description>Hello,

Thanks now it running, but another error

Traceback (most recent call last):
  File "C:/Python25/hil.py", line 43, in &lt;module&gt;
    mesh = GmshImporter2D(meshName)
  File "C:\Python25\lib\site-packages\fipy\meshes\numMesh\gmshImport.py",
line 394, in __init__
    mesh2D.Mesh2D.__init__(self, **_DataGetter().getData(filename,
dimensions = 2, coordDimensions = coordDimensions))
  File "C:\Python25\lib\site-packages\fipy\meshes\numMesh\gmshImport.py",
line 263, in getData
    vertexCoords = self._calcVertexCoords(coordDimensions)
  File "C:\Python25\lib\site-packages\fipy\meshes\numMesh\gmshImport.py",
line 286, in _calcVertexCoords
    numVertices = int(self.inFile.readline())
ValueError: invalid literal for int() with base 10: '2 0 8\n'

Regards

2008/8/26 Daniel Stiles &lt;monkey.chess-Re5JQEeQqe8AvxtiuMwx3w&lt; at &gt;public.gmane.org&gt;




</description>
    <dc:creator>franck kalala</dc:creator>
    <dc:date>2008-08-26T12:34:43</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.fipy/1140">
    <title>Re: example.diffusion.cricle</title>
    <link>http://permalink.gmane.org/gmane.comp.python.fipy/1140</link>
    <description>Hello,

On this line:
        'Plane Surface(11)={10};\n',

delete the ending comma, and put in a ] instead, so it looks like:
        'Plane Surface(11)={10};\n']

Daniel S


On Tue, Aug 26, 2008 at 7:39 AM, franck kalala
&lt;franckkalala-gM/Ye1E23mwN+BqQ9rBEUg&lt; at &gt;public.gmane.org&gt;wrote:



</description>
    <dc:creator>Daniel Stiles</dc:creator>
    <dc:date>2008-08-26T12:07:13</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.fipy/1139">
    <title>example.diffusion.cricle</title>
    <link>http://permalink.gmane.org/gmane.comp.python.fipy/1139</link>
    <description>Hi all

I am so sorry to disturb you so much, I am very young in python, in fipy,
sure I lent many thing from you since I decided to use fipy,
I was this example
**************************************************************************************************************
cellSize=0.05
radius=1.
lines= ['cellSize = '+str(cellSize) + ';\in',
        'radius ='+str(radius) + ';\in',
        'point(1)={0, 0, 0, cellSize};\n',
        'point(2)={-radius, 0, 0, cellSize};\n',
        'point(3)={0, radius, 0, cellSize};\n',
        'point(4)={radius, 0, 0, cellSize};\n',
        'point(5)={0, -radius, 0, cellSize};\n',
        'point(6)={2, 1, 3};\n',
        'point(7)={3, 1, 4};\n',
        'point(8)={4, 1, 5};\n',
        'circle(9)={5, 1, 2};\n',
        'Line Loop(10)={6, 7, 8, 9};\n',
        'Plane Surface(11)={10};\n',

import tempfile
(f,geomName)=tempfile.mkstemp('.geo')
file=open(geoName, 'w')
file.writelines(lines)
file.close()
import os
os.close(f)
import sys
if sys.platform=='win32':
        meshName=</description>
    <dc:creator>franck kalala</dc:creator>
    <dc:date>2008-08-26T11:39:41</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.python.fipy/1138">
    <title>Surface plot using viewers</title>
    <link>http://permalink.gmane.org/gmane.comp.python.fipy/1138</link>
    <description>Hi all

How do I plot  this surface z=exp(-(x**2+y**2)) using viewers within fipy,
for a given 2D mesh.

Regards



</description>
    <dc:creator>franck kalala</dc:creator>
    <dc:date>2008-08-26T00:25:52</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.python.fipy">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.python.fipy</link>
  </textinput>
</rdf:RDF>
