Hi Brian, David, and Matt,<br><br>Thanks - I'll check out the sunrise exporter analysis mod and try to incorporate my code in the same manner. <br><br>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. <br>
<br>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.<br><br>Thanks,<br>Andrew <br><br><div class="gmail_quote">On Mon, Apr 22, 2013 at 4:14 AM, Matthew Turk <span dir="ltr"><<a href="mailto:matthewturk@gmail.com" target="_blank">matthewturk@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Andrew,<br>
<div class="im"><br>
On Sat, Apr 20, 2013 at 11:50 AM, Andrew Myers <<a href="mailto:atmyers@berkeley.edu">atmyers@berkeley.edu</a>> wrote:<br>
</div><div><div class="h5">> Hi Folks,<br>
><br>
> radmc3d is a Monte Carlo radiative transfer code that can produce spectra<br>
> and images for dust continuum and line radiation. I've written some code to<br>
> save out a yt dataset into the format it uses for its AMR input files. It<br>
> needs some cleaning up and documentation, but if this is something other<br>
> people are interested in, I'd be happy to try to add it to yt code base. In<br>
> principle, this would let any code with a yt frontend interface with radmc3d<br>
> without too much hassle.<br>
<br>
</div></div>I think this would be a nice addition.  We have the ability to export<br>
to Sunrise, which lives inside an analysis module, and this could be a<br>
good addition in the same vein.  What format does it use?<br>
<br>
Perhaps it would belong inside the analysis_modules directory, like<br>
the sunrise_exporter does.  I don't think you'd need to add extensive<br>
documentation, but perhaps a recipe to the yt-doc repository would be<br>
enough (and doc strings).<br>
<br>
Thanks very much, and let me know if I can help,<br>
<br>
Matt<br>
<div class="HOEnZb"><div class="h5"><br>
><br>
> -Andrew<br>
><br>
> _______________________________________________<br>
> yt-dev mailing list<br>
> <a href="mailto:yt-dev@lists.spacepope.org">yt-dev@lists.spacepope.org</a><br>
> <a href="http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org</a><br>
><br>
_______________________________________________<br>
yt-dev mailing list<br>
<a href="mailto:yt-dev@lists.spacepope.org">yt-dev@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-dev-spacepope.org</a><br>
</div></div></blockquote></div><br>