Hi there,

I need to use PCG solver in my code for fipy trunk. 

I built the solver like this:
solver = LinearPCGSolver(tolerance=1.0e-15, iterations=1000)

and for each step:
eqch.solve(concentration, boundaryConditions=BCs, solver=solver, dt=dt)

Here I got a deprecation warning:

/home/wang1320/build/lib/python2.6/site-packages/FiPy-3.0_dev5154-py2.6.egg/fipy/solvers/pysparse/pysparseSolver.py:76:
 DeprecationWarning: PyArray_FromDimsAndDataAndDescr: use PyArray_NewFromDescr.
  self.iterations, P)

What should I change to make the PCG solver work in this case?  Thank you.


Best,

Yunbo

 
_______________________________________________
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