[yt-dev] ramses conversion factors when boxlen isn't 1.0

nick moeckel nickolas1 at gmail.com
Thu Jul 4 04:08:09 PDT 2013


Hi there,

I'm using 3.0 to analyse ramses data, and I have a few data sets where the
box size in code units is not 1, i.e. in the info files that belong to each
output I have, for example,

boxlen      =  0.100000000000000E+02

In this case, things like selecting a sphere in pc and calculating cell
masses are off by factors of boxlen and boxlen**3.

The comments  at the top of _parse_parameter_file (# hardcoded for now
 These should be explicitly obtained from the file, but for now that will
wait until a reorganization of the source tree and better generalization.)
suggest that this might be fixed as part of a long term plan, but is there
something that I could do to my own copy to deal with this in the
short-term, or would it be best to just manually adjust anything that uses
a length in my analysis scripts?

best,
Nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.spacepope.org/pipermail/yt-dev-spacepope.org/attachments/20130704/36657973/attachment.htm>


More information about the yt-dev mailing list