[MOAB-dev] r2075 - MOAB/trunk/tools/size
tautges at mcs.anl.gov
tautges at mcs.anl.gov
Mon Sep 22 14:42:28 CDT 2008
Author: tautges
Date: 2008-09-22 14:42:27 -0500 (Mon, 22 Sep 2008)
New Revision: 2075
Modified:
MOAB/trunk/tools/size/size.cpp
Log:
Changed slightly the options to mbsize; -l now gives a simple element count, while -ll lists all the entities.
Modified: MOAB/trunk/tools/size/size.cpp
===================================================================
--- MOAB/trunk/tools/size/size.cpp 2008-09-22 19:18:52 UTC (rev 2074)
+++ MOAB/trunk/tools/size/size.cpp 2008-09-22 19:42:27 UTC (rev 2075)
@@ -302,6 +302,7 @@
bool geom_owners = false;
bool mesh_owners = false;
bool just_list = false;
+ bool just_list_basic = false;
std::vector<std::string> file_list;
set_stats total_stats, file_stats;
@@ -309,8 +310,10 @@
{
if (!strcmp(argv[i],"-g"))
geom_owners = true;
+ else if (!strcmp(argv[i],"-ll"))
+ just_list = true;
else if (!strcmp(argv[i],"-l"))
- just_list = true;
+ just_list_basic = true;
else if (!strcmp(argv[i],"-m"))
mesh_owners = true;
else if (*argv[i] && *argv[i] != '-')
@@ -461,6 +464,7 @@
}
if (just_list) moab.list_entities(0, 1);
+ else if (just_list_basic) moab.list_entities(0, 0);
moab.delete_mesh();
}
More information about the moab-dev
mailing list