[Yt-dev] Clarification of Enzo Parameters, TopGridRank and TopGridDimensions
Matthew Turk
matthewturk at gmail.com
Wed Dec 22 10:49:08 PST 2010
Hi Chris,
On Wed, Dec 22, 2010 at 10:47 AM, <chris.m.malone at gmail.com> wrote:
> Hi Matt,
>
> Thanks for the clarification.
>
>> domain_dimensions (ndarray of ints -- not a list)
>> domain_left_edge (ndarray of float64)
>> domain_right_edge (ndarray of float64)
>
> I suspect you mean a one-dimensional array, instead of a multidimensional
> array (ndarray) here? If not, what are the other dimensions for?
Yup, all should be shape (3,). I just want to make sure that they are
ndarrays rather than lists because I believe in the code we do things
like
(position_vector - domain_left_edge) / (domain_right_edge - domain_left_edge)
-Matt
-Matt
>
>>
>> Hope that helps -- feel free to ping back with any other questions
>>
>> about generalizing.
>>
>>
>>
>> -Matt
>>
>
> Chris
>> > _______________________________________________
>>
>> > Yt-dev mailing list
>>
>> > Yt-dev at lists.spacepope.org
>>
>> > http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
>>
>> >
>>
>> >
>>
>> _______________________________________________
>>
>> Yt-dev mailing list
>>
>> Yt-dev at lists.spacepope.org
>>
>> http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
>>
> _______________________________________________
> Yt-dev mailing list
> Yt-dev at lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
>
>
More information about the yt-dev
mailing list