<div dir="ltr"><div class="gmail_extra"><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">Hi Nathan,</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">Yes, if I could define the surface in terms of field values, things would be easier. Unfortunately I can't really do that. The thing is I want to define the outer shock wave in a simulation via a pressure criterion, which can work, but then there are regions in my simulation inside the shock that have pressure values below the cutoff value, which would then not be included in the volume.</div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif;font-size:small">Jon</div><br><div class="gmail_quote">On Tue, Oct 18, 2016 at 4:33 PM, <span dir="ltr"><<a href="mailto:yt-users-request@lists.spacepope.org" target="_blank">yt-users-request@lists.spacepope.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div id=":1al" class="a3s aXjCH m157d97fd517a425b">If you can define your surface in terms of field values, you can use a<br>
cut_region data object:<br>
<br>
<a href="http://yt-project.org/doc/analyzing/filtering.html#cut-regions" rel="noreferrer" target="_blank">http://yt-project.org/doc/<wbr>analyzing/filtering.html#cut-<wbr>regions</a><br>
<br>
<a href="http://yt-project.org/doc/reference/api/generated/yt.data_objects.selection_data_containers.YTCutRegion.html#yt.data_objects.selection_data_containers.YTCutRegion" rel="noreferrer" target="_blank">http://yt-project.org/doc/<wbr>reference/api/generated/yt.<wbr>data_objects.selection_data_<wbr>containers.YTCutRegion.html#<wbr>yt.data_objects.selection_<wbr>data_containers.YTCutRegion</a><br>
<br>
I don't think there is a way to create a data object from a triangulated<br>
surface. In principle it would be possible to add by creating a new data<br>
object and adding new hooks to cython geometric selector API, but that has<br>
not yet been implemented.<br>
<br>
-Nathan</div></blockquote></div><br><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr">________________________________________________________<br>Jonathan D. Slavin Harvard-Smithsonian CfA<br><a href="mailto:jslavin@cfa.harvard.edu" target="_blank">jslavin@cfa.harvard.edu</a> 60 Garden Street, MS 83<br>phone: (617) 496-7981 Cambridge, MA 02138-1516<br>cell: (781) 363-0035 USA<br>________________________________________________________<br><br></div></div></div></div>
</div></div>