[yt-users] quick question

John ZuHone jzuhone at gmail.com
Fri Sep 26 12:14:42 PDT 2014


Hi Matt,

I'm coming back to this thread...

From the docstring:

    connectivity : array_like
        This should be of size (N,8) where N is the number of zones.
    coordinates : array_like
        This should be of size (M,3) where M is the number of vertices
        indicated in the connectivity matrix.

How would this work for 1D data? Or would it?

Best,

John

On Aug 29, 2014, at 6:40 AM, Matthew Turk <matthewturk at gmail.com> wrote:

> Hi Dan,
> 
> The load_hexahedral_mesh option will handle arbitrarily spaced
> coordinate systems.  It accepts the cell boundaries and the cell
> values (so there must be N+1 boundaries) and the argument
> geometry='spherical' will then have it interpret them as spherical
> coordinates.  That should work to get log spaced radius zones.
> 
> -Matt
> 
> On Fri, Aug 29, 2014 at 12:25 AM, Daniel Whalen <dwhalen1999 at gmail.com> wrote:
>> 
>> 
>> I am trying to use yt to visualize 3D spherical coordinate data sets created
>> with the ZEUS-MP
>> code.  I know yt can directly read in such data, but are there any issues
>> when the grid is ratioed
>> in the radial coordinate (ie, logarithmically spaced zones in radius).
>> 
>> 
>> Thanks!
>> 
>> 
>> Dan Whalen
>> 
>> _______________________________________________
>> yt-users mailing list
>> yt-users at lists.spacepope.org
>> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org
>> 
> _______________________________________________
> yt-users mailing list
> yt-users at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org




More information about the yt-users mailing list