[yt-svn] [yt_analysis/yt] Ellipsoid objects and fake_random_pf (issue #457)

Stephen Skory issues-reply at bitbucket.org
Tue Oct 23 20:16:19 PDT 2012


--- you can reply above this line ---

New issue 457: Ellipsoid objects and fake_random_pf
https://bitbucket.org/yt_analysis/yt/issue/457/ellipsoid-objects-and-fake_random_pf

Stephen Skory:

The ellipsoid object doesn't appear to be working correctly with the fake_random_pf and differing nprocs.

    from yt.mods import *
    from yt.testing import *
    pf1 = fake_random_pf(64, nprocs = 1)
    pf8 = fake_random_pf(64, nprocs = 8)
    ell1 = pf1.h.ellipsoid([0.35]*3, 0.05, 0.05, 0.05, np.array([0.1]*3),np.array([0.1]*3))
    ell8 = pf8.h.ellipsoid([0.35]*3, 0.05, 0.05, 0.05, np.array([0.1]*3),np.array([0.1]*3))
    print 'these should be the same:', ell1.volume() == ell8.volume(),  ell1.volume(), ell8.volume()

gives:

    these should be the same: False 0.0145034790039 0.0140838623047

I'm assigning this to myself, but I'm going to actually see about asking Geoffery So to take a look at it.

Responsible: sskory
--

This is an issue notification from bitbucket.org. You are receiving
this either because you are the owner of the issue, or you are
following the issue.



More information about the yt-svn mailing list