[MOAB-dev] [Fwd: problem compiling uiQVDual.ui.h]

Jason Kraftcheck kraftche at cae.wisc.edu
Thu Dec 4 10:37:20 CST 2008



-------- Original Message --------
Subject: problem compiling uiQVDual.ui.h
Date: Thu, 04 Dec 2008 08:31:56 -0800
From: Mark Miller <miller86 at llnl.gov>
To: Jason Kraftcheck <kraftche at cae.wisc.edu>

Hi Jason,

I needed to comment some lines in QVDual to get things to compile after
'svn update', but everything compiled ok

Mark

Index: /home/miller/itaps/MOAB_trunk/trunk/tools/qvdual/uiQVDual.ui.h
===================================================================
--- /home/miller/itaps/MOAB_trunk/trunk/tools/qvdual/uiQVDual.ui.h
(revision 2462)
+++ /home/miller/itaps/MOAB_trunk/trunk/tools/qvdual/uiQVDual.ui.h
(working copy)
@@ -41,6 +41,7 @@
 #include "vtkPlane.h"
 #include <algorithm>

+
 void uiQVDual::fileNew()
 {
   resetDisplay();
@@ -1074,8 +1075,8 @@

   MBRange cell_ents, picked_ents;
   int last_match = 0, next_match = 0;
-  MBHandleUtils hu(vtkMOABUtils::mbImpl->proc_rank(),
-                   vtkMOABUtils::mbImpl->proc_size());
+  //MBHandleUtils hu(vtkMOABUtils::mbImpl->proc_rank(),
+  //                 vtkMOABUtils::mbImpl->proc_size());
   while (true) {
     last_match = next_match;
     if (-1 == last_match) break;
@@ -1086,8 +1087,8 @@
     if (line.ascii()[last_match] == 'h') etype = MBHEX;
     else if (line.ascii()[last_match] == 'f') etype = MBQUAD;
     sscanf(line.ascii()+last_match+1, "%d", &ent_no);
-    if (-1 != ent_no && MBMAXTYPE != etype)
-      cell_ents.insert(hu.create_handle(etype, ent_no, 0));
+    //if (-1 != ent_no && MBMAXTYPE != etype)
+    //  cell_ents.insert(hu.create_handle(etype, ent_no, 0));
   }
 #define PR(a) {pickline1->setText(QString(a));return;}

-- 
Mark C. Miller, Lawrence Livermore National Laboratory
email: mailto:miller86 at llnl.gov
(M/T/W) (925)-423-5901 (!!LLNL BUSINESS ONLY!!)
(Th/F)  (530)-753-8511 (!!LLNL BUSINESS ONLY!!)


-- 
"A foolish consistency is the hobgoblin of little minds" - Ralph Waldo Emerson




More information about the moab-dev mailing list