[email protected] wrote: >> [email protected] wrote: >>> Has anyone implemented the computation of the distance function in >>> Dolfin/Fenics >>> (or with other packages) ? >>> >>> I know this can be implemented via solving the Eikonal but have never >>> really looked >>> into the details of it. Anyone knows how to do this reasonably efficient >>> and easy ? >> I have implemented it in the past by solving the Eikonal equation (in >> MATLAB). > > Could you post the matlab code and then maybe we could translate it to > dolfin ?
I've cleaned up the code so that it works in Octave as I don't have MATLAB any more to test it. (It runs a _lot_ slower than I remember it being when I run it now in Octave, but at least one can see it working.) Run it via: octave eikonal.m I will see how it can be translated to DOLFIN. Harish
distance.tar.bz2
Description: application/bzip
_______________________________________________ DOLFIN-dev mailing list [email protected] http://www.fenics.org/mailman/listinfo/dolfin-dev
