Hi,

First of all let me congratulate you for fiPY!
I have been following its development (my main expertise is in Computational Thermodynamics of Materials, not so much kinetics) since about a year. Now I have decided to try my luck.

I was able to install fipy. The tests ran ok, except for two of them.

One had to do with fipy.variables.variable.Variable.__array

/"Failed example:
   numerix.array([Variable(0), Variable(0)])
Exception raised:
   Traceback (most recent call last):
     File "doctest.py", line 1212, in __run
       compileflags, 1) in test.globs
File "<doctest fipy.variables.variable.Variable.__array__[4]>", line 1, in <module>
       numerix.array([Variable(0), Variable(0)])
   ValueError: setting an array element with a sequence./
"

The other failure:

File "/home/rarroyave/STABLE/examples/phase/binary.py", line 6, in binary

/Failed example:
   for i in range(100):
       phase.updateOld()
       C.updateOld()
       phaseRes = 1e+10
       diffRes = 1e+10
       while phaseRes > 1e-3 or diffRes > 1e-3:
           phaseRes = phaseEq.sweep(var=phase, dt=dt)
           diffRes = diffusionEq.sweep(var=C, dt=dt, solver=solver)
       if __name__ == '__main__':
           viewer.plot()
Exception raised:
   Traceback (most recent call last):
     File "doctest.py", line 1212, in __run
       compileflags, 1) in test.globs
     File "<doctest examples.phase.binary[88]>", line 7, in <module>
       phaseRes = phaseEq.sweep(var=phase, dt=dt)
     File "/home/rarroyave/STABLE/fipy/terms/term.py", line 153, in sweep
       self._solveLinearSystem(var, solver, matrix, RHSvector)
File "/home/rarroyave/STABLE/fipy/terms/term.py", line 103, in _solveLinearSystem
       var[:] = array
File "/home/rarroyave/STABLE/fipy/variables/variable.py", line 446, in __setitem__
       self._markFresh()
File "/home/rarroyave/STABLE/fipy/variables/variable.py", line 693, in _markFresh
       self.__markStale()
File "/home/rarroyave/STABLE/fipy/variables/variable.py", line 689, in __markStale
       subscriber()._markStale()
   AttributeError: 'NoneType' object has no attribute '_markStale'/


Any ideas?

Thanks


Reply via email to