<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
Hi Alex,
<div><br>
</div>
<div>I don’t think I explained my self well before. What I am trying to do is create a tool that will allow me to randomly sample a galactic disk to explore the effects of turbulence on different scales. I am aiming to map RAMSES grid to a new grid, more just
 get a large sample of data points from random locations in a galaxy at each scale size. Sorry if thats not very clear</div>
<div><br>
</div>
<div>Kearn <br>
<div>
<div>On 16 Dec 2013, at 15:39, Alex Bogert <<a href="mailto:bogart.alex@gmail.com">bogart.alex@gmail.com</a>> wrote:</div>
<br class="Apple-interchange-newline">
<blockquote type="cite">
<div dir="ltr">Hi Kearn,
<div><br>
</div>
<div>Maybe, I'm misunderstanding you, but it sounds like you are trying to map different layers of the RAMSES AMR to a new grid. Then analyse the new grid?</div>
<div><br>
</div>
<div>For example, grab the 5 highest levels of refinement in a 20kpc region around the highest density then remap these into a simple Y x Y x Y grid, afterwards properties can be analyzed on the simpler grid. If this sounds analogous to what your're asking
 for we should chat, because I'm working on this as well.</div>
<div><br>
</div>
<div>Alex</div>
</div>
<div class="gmail_extra"><br>
<br>
<div class="gmail_quote">On Mon, Dec 16, 2013 at 7:23 AM, <span dir="ltr"><<a href="mailto:k.grisdale@surrey.ac.uk" target="_blank">k.grisdale@surrey.ac.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Dear yt-users<br>
<br>
I am attempting to make a tool that will sample the properties of a RAMSES galactic disk simulation. The tools needs to be able to work on different scales going from very large (10kpc) to the very small (2x the size of the smallest cell ~140pc). So far I have
 achieved this using data objects and calling required property/Quantities that I need. On large scales this works very well, however on small scales I have run into the issue that only part of cells are within in my data object. While this is to be expected
 it is presenting so interesting results. From what I can tell if the centre of the cell is in my data object yt treats the cell as if the whole cell is within my data object but if the centre is missed it treats it as if the whole cell is absent from the data
 object, I’m looking for a median between these extremes.<br>
<br>
My question is is there a way to get yt to only take into account the proportion of the cell in side my data object?<br>
<br>
Also if the cell only has small corner in my data object is there away to get yt to fetch the properties of that cell (say the density and cell volume) and then multiply these values by the proportion of the cell that is in my object?<br>
<br>
Thank you in advance for you help<br>
<br>
Kearn<br>
_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
<a href="http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org" target="_blank">http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org</a><br>
</blockquote>
</div>
<br>
</div>
_______________________________________________<br>
yt-users mailing list<br>
<a href="mailto:yt-users@lists.spacepope.org">yt-users@lists.spacepope.org</a><br>
http://lists.spacepope.org/listinfo.cgi/yt-users-spacepope.org<br>
</blockquote>
</div>
<br>
</div>
</body>
</html>