Hi, I have been using FiPy / lurking for several years, thank you for all your efforts and for the great software!
There has been a fair bit of discussion on this list recently about calculating distance functions. I have written a python extension module which implements the fast marching method: http://pypi.python.org/pypi/scikit-fmm/ scikit-fmm is a simple module which provides two functions: distance(phi) and travel_time(phi, speed). The functions calculate the signed distance and travel time to an interface described by the zero contour of the input array. The input array can be of 1, 2, 3 or higher dimension and can be a masked array. The point update routine is second order and the module is implemented in C++. lsmlib is a good alternative and provides more capability but is not free for commercial use. Hopefully this module is of interest to the FiPy community. I would like to add to this module, let me know any feature requests. Thanks again! Jason _______________________________________________ fipy mailing list [email protected] http://www.ctcms.nist.gov/fipy [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]
