Hi Brian, David, and Matt,

Thanks - I'll check out the sunrise exporter analysis mod and try to incorporate my code in the same manner.

Matt - it uses an ASCII file to describe the AMR hierarchy in a pretty straightforward manner, with the wrinkle that grids may not have more than one parent. So I had to do a little bit of work to re-grid the data in such a way that fine grids never cross a coarse grid boundary.

I'll ask the list or in IRC if I need any help getting this into yt, but I don't think it should be too bad.


On Mon, Apr 22, 2013 at 4:14 AM, Matthew Turk <matthewturk@gmail.com> wrote:
Hi Andrew,

On Sat, Apr 20, 2013 at 11:50 AM, Andrew Myers <atmyers@berkeley.edu> wrote:
> Hi Folks,
> radmc3d is a Monte Carlo radiative transfer code that can produce spectra
> and images for dust continuum and line radiation. I've written some code to
> save out a yt dataset into the format it uses for its AMR input files. It
> needs some cleaning up and documentation, but if this is something other
> people are interested in, I'd be happy to try to add it to yt code base. In
> principle, this would let any code with a yt frontend interface with radmc3d
> without too much hassle.

I think this would be a nice addition.  We have the ability to export
to Sunrise, which lives inside an analysis module, and this could be a
good addition in the same vein.  What format does it use?

Perhaps it would belong inside the analysis_modules directory, like
the sunrise_exporter does.  I don't think you'd need to add extensive
documentation, but perhaps a recipe to the yt-doc repository would be
enough (and doc strings).

Thanks very much, and let me know if I can help,


> -Andrew
> _______________________________________________
> yt-dev mailing list
> yt-dev@lists.spacepope.org
> http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org
yt-dev mailing list