[MOAB-dev] r3598 - MOAB/trunk/examples/SetsNTags

Rajeev Jain jain at mcs.anl.gov
Thu Mar 11 17:44:58 CST 2010


There is some more bug in this program/logic that I wasn't able to fix.
Attached  sc.cub has nodesets which must appear as Dirichlet sets, but they don't. If material sets are not present then Dirichlet sets (nodesets) appear, this time Neumann sets don't appear. I think this has to do with the way file is parsed..

 Rajeev





________________________________
From: "jain at mcs.anl.gov" <jain at mcs.anl.gov>
To: moab-dev at mcs.anl.gov
Sent: Thursday, March 11, 2010 17:38:55
Subject: [MOAB-dev] r3598 - MOAB/trunk/examples/SetsNTags

Author: jain
Date: 2010-03-11 17:38:55 -0600 (Thu, 11 Mar 2010)
New Revision: 3598

Modified:
   MOAB/trunk/examples/SetsNTags/SetsNTags.cpp
Log:
o Cleared the number of entities before the loop continues


Modified: MOAB/trunk/examples/SetsNTags/SetsNTags.cpp
===================================================================
--- MOAB/trunk/examples/SetsNTags/SetsNTags.cpp    2010-03-11 21:04:03 UTC (rev 3597)
+++ MOAB/trunk/examples/SetsNTags/SetsNTags.cpp    2010-03-11 23:38:55 UTC (rev 3598)
@@ -41,6 +41,7 @@

       std::cout << tag_nms[i] << " " << set_id << " has " 
                 << set_ents.size() << " entities." << std::endl;
+      set_ents.clear();
     }
   }
}


      Get your preferred Email name!
Now you can @ymail.com and @rocketmail.com. 
http://mail.promotions.yahoo.com/newdomains/aa/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/moab-dev/attachments/20100311/cdaae022/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sc.cub
Type: application/octet-stream
Size: 124350 bytes
Desc: not available
URL: <http://lists.mcs.anl.gov/pipermail/moab-dev/attachments/20100311/cdaae022/attachment-0001.obj>


More information about the moab-dev mailing list