[cgma-dev] r5052 - cgm/trunk/test
Jane Hu
janejhu at gmail.com
Fri Jul 15 09:31:16 CDT 2011
Please do a reconfiguration on OCC6.5 build, I think your error is due to
makefile update issues.
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.
Jane
On Thu, Jul 14, 2011 at 6:11 PM, Hong-Jun Kim <hongjun at mcs.anl.gov> wrote:
> 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")
>
> Thank you for your work and let me ask more questions about surface loop
> direction after checking something.
>
> -----------------------------
> Hong-Jun Kim
> Post-doc researcher
> MCS, Argonne National Laboratory
> 9700 S. Cass Ave. B240/R2147
> Argonne, IL 60439
> 630-252-4791
> hongjun at mcs.anl.gov
> -----------------------------
>
> ----- Original Message -----
> From: "Jane Hu" <janejhu at gmail.com>
> To: "Hong-Jun Kim" <hongjun at mcs.anl.gov>
> Cc: cgma-dev at mcs.anl.gov
> Sent: Thursday, July 14, 2011 12:03:27 PM
> Subject: Re: [cgma-dev] r5052 - cgm/trunk/test
>
> Hi, HongJun:
>
> With r5056 that I just checked in, it should work for your concern. Please
> double check that it works for your parallel work.
>
> Thanks.
>
> Jane
>
>
>
>
> On Tue, Jul 12, 2011 at 12:23 PM, Hong-Jun Kim < hongjun at mcs.anl.gov >
> wrote:
>
>
> This seems not checked if attributes are really restored after importing
> geometry again.
> I think entity ids have to be checked restored correctly.
>
> Hong-Jun
>
>
>
>
>
> ----- Original Message -----
> From: "jiangtao ma" < jiangtao_ma at yahoo.com >
> To: cgma-dev at mcs.anl.gov
> Sent: Tuesday, July 12, 2011 11:55:15 AM
> Subject: [cgma-dev] r5052 - cgm/trunk/test
>
> Author: janehu
> Date: 2011-07-12 11:55:15 -0500 (Tue, 12 Jul 2011)
> New Revision: 5052
>
> Modified:
> cgm/trunk/test/attribute_to_buffer.cpp
> cgm/trunk/test/attribute_to_file.cpp
> cgm/trunk/test/makept.cpp
> cgm/trunk/test/modify.cpp
> Log:
> Remove parallel test from attribute export tests; minor updates for modify
> and makept.
>
> Modified: cgm/trunk/test/attribute_to_buffer.cpp
> ===================================================================
> --- cgm/trunk/test/attribute_to_buffer.cpp 2011-07-11 20:23:21 UTC (rev
> 5051)
> +++ cgm/trunk/test/attribute_to_buffer.cpp 2011-07-12 16:55:15 UTC (rev
> 5052)
> @@ -4,10 +4,10 @@
> #include "Body.hpp"
> #include "CGMApp.hpp"
> #include "CubitAttribManager.hpp"
> -#include "CADefines.hpp"
> -#include "TDParallel.hpp"
> -#include "CABodies.hpp"
> +#include "CAEntityId.hpp"
>
> +#include <iostream>
> +#include <string>
> #include <stdio.h>
> #include <stdlib.h>
>
> @@ -37,8 +37,8 @@
> ASSERT(s);
>
> // actuate CA_BODIES attribute and turn on auto flag
> - CGMApp::instance()->attrib_manager()->register_attrib_type(CA_BODIES,
> "bodies", "BODIES",
> - CABodies_creator, CUBIT_TRUE,
> + CGMApp::instance()->attrib_manager()->register_attrib_type(CA_ENTITY_ID,
> "id", "ENTITY_ID",
> + CAEntityId_creator, CUBIT_TRUE,
> CUBIT_TRUE, CUBIT_TRUE, CUBIT_TRUE,
> CUBIT_TRUE, CUBIT_FALSE);
> CGMApp::instance()->attrib_manager()->auto_flag(CUBIT_TRUE);
> @@ -53,24 +53,6 @@
> s = GeometryQueryTool::instance()->translate( bricks[i], CubitVector(i,0,0)
> );
> ASSERT(s);
> export_list.append( bricks[i] );
> -
> - // add tool data to bodies
> - RefEntity* entity = dynamic_cast<RefEntity*> (bricks[i]);
> - DLIList<int> shared_procs;
> - shared_procs.append(i);
> - TDParallel *td_par = (TDParallel *)
> entity->get_TD(&TDParallel::is_parallel);
> - if (td_par == NULL) td_par = new TDParallel(entity, NULL, &shared_procs);
> -
> - // add tool data to volumes too
> - DLIList<RefVolume*> volumes;
> - (dynamic_cast<TopologyEntity*> (entity))->ref_volumes(volumes);
> - int n_vol = volumes.size();
> - volumes.reset();
> - for (int j = 0; j < n_vol; j++) {
> - RefEntity *vol = volumes.get_and_step();
> - td_par = (TDParallel *) vol->get_TD(&TDParallel::is_parallel);
> - if (td_par == NULL) td_par = new TDParallel(vol, NULL, &shared_procs);
> - }
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/cgma-dev/attachments/20110715/e03e3b7f/attachment.htm>
More information about the cgma-dev
mailing list