[yt-dev] problem with non-periodic domain and rendering

Nathan Goldbaum nathan12343 at gmail.com
Mon Apr 14 19:05:18 PDT 2014


On Monday, April 14, 2014, Michael Zingale <michael.zingale at stonybrook.edu>
wrote:

> Recently I made the Maestro BoxLib frontend set the correct boundary
> periodicity for a data set, and I can confirm this when I load the data in
> yt and look at periodicity.  However, when I try to volume render, with
> no_ghost=False, I get an error in the non-periodic direction (we are
> periodic in x and y, and non-periodic in z).
>
> The error is:
>
> Error: bad Region in non-periodic domain: -24.0 code_length 0.0
> code_length 408.0 code_length 4608.0 code_length
>
> for reference, the domain size is:
>
> Parameters: domain_left_edge          = [ 0.  0.  0.]
> Parameters: domain_right_edge         = [ 1536.  1536.  4608.]
>
> (aside, these should be cm, but the error reports them as code_length --
> should I be setting that somwhere in the frontend?  we are always CGS).
>
>
I can't speak to the volume rendering issue but this is the as-designed
behavior.  This has to be code_length because other codes do not have CGS
as the internal unit system and this code has to work for all frontends,
irrespective of the internal unit system.


> Any thoughts on what I may be missed setting up for non-periodic BCs is
> appreciated.
>
> Mike
>
> --
> Michael Zingale
> Associate Professor
>
> Dept. of Physics & Astronomy • Stony Brook University • Stony Brook, NY
> 11794-3800
> *phone*:  631-632-8225
> *e-mail*: Michael.Zingale at stonybrook.edu<javascript:_e(%7B%7D,'cvml','Michael.Zingale at stonybrook.edu');>
> *web*: http://www.astro.sunysb.edu/mzingale
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-dev-spacepope.org/attachments/20140414/2ee95698/attachment.html>


More information about the yt-dev mailing list