<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,<br>
This kind of function belongs to an "element utility" tool/class, which should serve multiple types of elements;<br>
Probably, better would be to use some gauss integration method. There is some work now in mbcoupler to expose more element types and more integration / FE / FV types.<br>
<br>
Right now, in MOAB, this method is used just for mbsize; it is not "installed", so you cannot "include" it. Unless you add your build folder in the include . Or how do you (plan to) use it?<br>
<br>
There are other issues with this method. It uses a local class CartVect, which is a conflict with the namespaced moab::CartVect.<br>
<br>
 as it stands, volume is computed here using linear decomposition in tetrahedrons, which might not be correct. It is fine for planar faced hexas.
<br>
It could be a too big of approximation for slightly distorted hexas; also, depending on how you decompose a hexa in tetras (more than one way is possible), you get different results.<br>
<br>
Vijay, do you know the status of refactoring elem util class?<br>
<br>
Thanks,<br>
Iulian <br>
<br>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div style="direction: ltr;" id="divRpF515418"><font color="#000000" face="Tahoma" size="2"><b>From:</b> moab-dev-bounces@mcs.anl.gov [moab-dev-bounces@mcs.anl.gov] on behalf of Elliott Biondo [Biondo@wisc.edu]<br>
<b>Sent:</b> Friday, May 16, 2014 1:25 PM<br>
<b>To:</b> moab-dev@mcs.anl.gov<br>
<b>Subject:</b> [MOAB-dev] measure.cpp<br>
</font><br>
</div>
<div></div>
<div>
<div dir="ltr">
<div>
<div>I am currently using the function "measure" in measure.cpp to find the volumes of mesh volume elements. Currently I have to link against measure.o, which is compiled into the MOAB build directory, but as best as I can tell, it is not exposed through the
 MOAB library. Are there any plans to include this capability within the core library of MOAB, so that this function could be used in a more formal way?<br>
</div>
<br>
Thanks,<br>
<br>
</div>
Elliott Biondo<br>
<div>
<div>
<div><br>
-- <br>
<div dir="ltr"><font face="arial, helvetica, sans-serif">Elliott D. Biondo</font>
<div>
<div>Nuclear Regulatory Commission Fellow</div>
<div><font face="arial, helvetica, sans-serif">Computational Nuclear Engineering Research Group (CNERG)</font></div>
<div><font face="arial, helvetica, sans-serif">Department of Nuclear Engineering and Engineering Physics</font></div>
<div><font face="arial, helvetica, sans-serif">University of Wisconsin - Madison</font></div>
<div><font face="arial, helvetica, sans-serif"><br>
</font></div>
<div><font face="arial, helvetica, sans-serif">
<div>434 Engineering Research Building</div>
<div>1500 Engineering Drive</div>
<div>Madison, WI 53706</div>
<div><br>
</div>
<div><a href="https://www.google.com/calendar/embed?src=elliott.biondo%40gmail.com&ctz=America/Chicago" target="_blank">Calendar</a><br>
</div>
</font></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>