I see meshkit it built correctly with OCC6.5, but rgg/assygen test failed. I am now looking into it.<br><br>Jane<br><br><div class="gmail_quote">On Fri, Jul 15, 2011 at 9:31 AM, Jane Hu <span dir="ltr"><<a href="mailto:janejhu@gmail.com">janejhu@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Please do a reconfiguration on OCC6.5 build, I think your error is due to makefile update issues.<br>
<br>I also see some warning of "Generated a sliver surface", which when I look closer, it's actually creating surfaces with negative area. I plan to look into it recently. I think it related to surface's normal direction with respect to loop direction problem. <br>
<font color="#888888">
<br>Jane</font><div><div></div><div class="h5"><br><br><div class="gmail_quote">On Thu, Jul 14, 2011 at 6:11 PM, Hong-Jun Kim <span dir="ltr"><<a href="mailto:hongjun@mcs.anl.gov" target="_blank">hongjun@mcs.anl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Even though there are wrong loop direction returns in current OCC, it is working for parallel meshing with great import/export speed improvement with OCC6.3. (With OCC6.5, I have some errors with "make check")<br>
<br>
Thank you for your work and let me ask more questions about surface loop direction after checking something.<br>
<div><br>
-----------------------------<br>
Hong-Jun Kim<br>
Post-doc researcher<br>
MCS, Argonne National Laboratory<br>
9700 S. Cass Ave. B240/R2147<br>
Argonne, IL 60439<br>
<a href="tel:630-252-4791" value="+16302524791" target="_blank">630-252-4791</a><br>
<a href="mailto:hongjun@mcs.anl.gov" target="_blank">hongjun@mcs.anl.gov</a><br>
-----------------------------<br>
<br>
----- Original Message -----<br>
From: "Jane Hu" <<a href="mailto:janejhu@gmail.com" target="_blank">janejhu@gmail.com</a>><br>
To: "Hong-Jun Kim" <<a href="mailto:hongjun@mcs.anl.gov" target="_blank">hongjun@mcs.anl.gov</a>><br>
Cc: <a href="mailto:cgma-dev@mcs.anl.gov" target="_blank">cgma-dev@mcs.anl.gov</a><br>
Sent: Thursday, July 14, 2011 12:03:27 PM<br>
</div><div><div></div><div>Subject: Re: [cgma-dev] r5052 - cgm/trunk/test<br>
<br>
Hi, HongJun:<br>
<br>
With r5056 that I just checked in, it should work for your concern. Please double check that it works for your parallel work.<br>
<br>
Thanks.<br>
<br>
Jane<br>
<br>
<br>
<br>
<br>
On Tue, Jul 12, 2011 at 12:23 PM, Hong-Jun Kim < <a href="mailto:hongjun@mcs.anl.gov" target="_blank">hongjun@mcs.anl.gov</a> > wrote:<br>
<br>
<br>
This seems not checked if attributes are really restored after importing geometry again.<br>
I think entity ids have to be checked restored correctly.<br>
<br>
Hong-Jun<br>
<br>
<br>
<br>
<br>
<br>
----- Original Message -----<br>
From: "jiangtao ma" < <a href="mailto:jiangtao_ma@yahoo.com" target="_blank">jiangtao_ma@yahoo.com</a> ><br>
To: <a href="mailto:cgma-dev@mcs.anl.gov" target="_blank">cgma-dev@mcs.anl.gov</a><br>
Sent: Tuesday, July 12, 2011 11:55:15 AM<br>
Subject: [cgma-dev] r5052 - cgm/trunk/test<br>
<br>
Author: janehu<br>
Date: 2011-07-12 11:55:15 -0500 (Tue, 12 Jul 2011)<br>
New Revision: 5052<br>
<br>
Modified:<br>
cgm/trunk/test/attribute_to_buffer.cpp<br>
cgm/trunk/test/attribute_to_file.cpp<br>
cgm/trunk/test/makept.cpp<br>
cgm/trunk/test/modify.cpp<br>
Log:<br>
Remove parallel test from attribute export tests; minor updates for modify and makept.<br>
<br>
Modified: cgm/trunk/test/attribute_to_buffer.cpp<br>
===================================================================<br>
--- cgm/trunk/test/attribute_to_buffer.cpp 2011-07-11 20:23:21 UTC (rev 5051)<br>
+++ cgm/trunk/test/attribute_to_buffer.cpp 2011-07-12 16:55:15 UTC (rev 5052)<br>
@@ -4,10 +4,10 @@<br>
#include "Body.hpp"<br>
#include "CGMApp.hpp"<br>
#include "CubitAttribManager.hpp"<br>
-#include "CADefines.hpp"<br>
-#include "TDParallel.hpp"<br>
-#include "CABodies.hpp"<br>
+#include "CAEntityId.hpp"<br>
<br>
+#include <iostream><br>
+#include <string><br>
#include <stdio.h><br>
#include <stdlib.h><br>
<br>
@@ -37,8 +37,8 @@<br>
ASSERT(s);<br>
<br>
// actuate CA_BODIES attribute and turn on auto flag<br>
- CGMApp::instance()->attrib_manager()->register_attrib_type(CA_BODIES, "bodies", "BODIES",<br>
- CABodies_creator, CUBIT_TRUE,<br>
+ CGMApp::instance()->attrib_manager()->register_attrib_type(CA_ENTITY_ID, "id", "ENTITY_ID",<br>
+ CAEntityId_creator, CUBIT_TRUE,<br>
CUBIT_TRUE, CUBIT_TRUE, CUBIT_TRUE,<br>
CUBIT_TRUE, CUBIT_FALSE);<br>
CGMApp::instance()->attrib_manager()->auto_flag(CUBIT_TRUE);<br>
@@ -53,24 +53,6 @@<br>
s = GeometryQueryTool::instance()->translate( bricks[i], CubitVector(i,0,0) );<br>
ASSERT(s);<br>
export_list.append( bricks[i] );<br>
-<br>
- // add tool data to bodies<br>
- RefEntity* entity = dynamic_cast<RefEntity*> (bricks[i]);<br>
- DLIList<int> shared_procs;<br>
- shared_procs.append(i);<br>
- TDParallel *td_par = (TDParallel *) entity->get_TD(&TDParallel::is_parallel);<br>
- if (td_par == NULL) td_par = new TDParallel(entity, NULL, &shared_procs);<br>
-<br>
- // add tool data to volumes too<br>
- DLIList<RefVolume*> volumes;<br>
- (dynamic_cast<TopologyEntity*> (entity))->ref_volumes(volumes);<br>
- int n_vol = volumes.size();<br>
- volumes.reset();<br>
- for (int j = 0; j < n_vol; j++) {<br>
- RefEntity *vol = volumes.get_and_step();<br>
- td_par = (TDParallel *) vol->get_TD(&TDParallel::is_parallel);<br>
- if (td_par == NULL) td_par = new TDParallel(vol, NULL, &shared_procs);<br>
- }<br>
<br>
</div></div></blockquote></div><br>
</div></div></blockquote></div><br>