<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hi Nico,<br>
<br>
This is a modified HelloParMOAB example, which it dumps the "true" skin of the model<br>
<br>
it can work in parallel, in the sense that even if you load a model in parallel<br>
(mpiexec -np 3 HelloParMOAB <file.h5m> or<br>
mpiexec -np 1 HelloParMOAB <file.h5m>)<br>
<br>
will get the same skin in skin.h5m<br>
<br>
this example assumes for simplicity that your model has 3d elements <br>
<br>
it first computes the skin on each local part, then filters out the faces that are shared with other parts<br>
<br>
it puts what is left in a set, then writes in parallel the set (so each processor will write its part of the true skin)<br>
<br>
If you want also the edges on the true skin, there is a little more work, but the idea is almost the same.
<br>
<br>
Iulian<br>
<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF757612"><font face="Tahoma" color="#000000" size="2"><b>From:</b> moab-dev-bounces@mcs.anl.gov [moab-dev-bounces@mcs.anl.gov] on behalf of Nico Schlömer [nico.schloemer@gmail.com]<br>
<b>Sent:</b> Sunday, November 01, 2015 10:16 PM<br>
<b>To:</b> Timothy Tautges<br>
<b>Cc:</b> moab-dev@mcs.anl.gov<br>
<b>Subject:</b> Re: [MOAB-dev] boundary nodes on parallel mesh<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr">The issue is not understanding what's supposed to happen, but how to make it happen. I'm sure if I code this myself, I'll make mistakes. Something I could just copy-and-paste would prevent that.
<div><br>
</div>
<div>--Nico</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr">On Mon, Nov 2, 2015 at 3:35 AM Timothy Tautges <<a href="mailto:timothy.tautges@cd-adapco.com" target="_blank">timothy.tautges@cd-adapco.com</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<p dir="ltr">Draw an example out on paper with a ghost layer and mark shared, skin, etc and it will be clear.</p>
<div class="gmail_quote">On Nov 1, 2015 7:45 PM, "Nico Schlömer" <<a href="mailto:nico.schloemer@gmail.com" target="_blank">nico.schloemer@gmail.com</a>> wrote:<br type="attribution">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div dir="ltr">Yes, that would be much appreciated! (I don't understand from the thread [1] what exactly the solution is. People talk about a fork of sorts, shared and owned filtering etc. A piece of code in the FAQs would help.)
<div><br>
</div>
<div>By the way, where do I find the FAQs? :)</div>
<div><br>
</div>
<div>--Nico<br>
<div><br>
</div>
<div>[1] <a href="http://lists.mcs.anl.gov/pipermail/moab-dev/2013/005509.html" target="_blank">http://lists.mcs.anl.gov/pipermail/moab-dev/2013/005509.html</a><br>
</div>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr">On Mon, Nov 2, 2015 at 2:40 AM Timothy Tautges <<a href="mailto:timothy.tautges@cd-adapco.com" target="_blank">timothy.tautges@cd-adapco.com</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<p dir="ltr">Moab folks, this should be put in the faq if it isn't there already.
</p>
<div class="gmail_quote">On Nov 1, 2015 7:38 PM, "Timothy Tautges" <<a href="mailto:timothy.tautges@cd-adapco.com" target="_blank">timothy.tautges@cd-adapco.com</a>> wrote:<br type="attribution">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<p dir="ltr">I think that's still the way.</p>
<p dir="ltr">- tim</p>
<div class="gmail_quote">On Nov 1, 2015 7:27 PM, "Nico Schlömer" <<a href="mailto:nico.schloemer@gmail.com" target="_blank">nico.schloemer@gmail.com</a>> wrote:<br type="attribution">
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex; border-left:1px #ccc solid; padding-left:1ex">
<div dir="ltr">Hi everyone,
<div><br>
</div>
<div>As I'm diving deeper into MOAB, more questions pop up. Right now: I need to loop over the actual physical boundary of a parallel mesh and get the node IDs and their coordinates.</div>
<div><br>
</div>
<div>I found an old mailing list thread on the topic [1], but I'm not sure it was conclusive. What's the current best practice here?</div>
<div><br>
</div>
<div>Cheers,</div>
<div>Nico</div>
<div><br>
</div>
<div>[1] <a href="http://lists.mcs.anl.gov/pipermail/moab-dev/2013/005509.html" target="_blank">http://lists.mcs.anl.gov/pipermail/moab-dev/2013/005509.html</a></div>
</div>
</blockquote>
</div>
</blockquote>
</div>
</blockquote>
</div>
</blockquote>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</body>
</html>