[MOAB-dev] r4410 - in MOAB/trunk/src/parallel: . moab

kraftche at cae.wisc.edu kraftche at cae.wisc.edu
Wed Dec 22 15:39:56 CST 2010


Author: kraftche
Date: 2010-12-22 15:39:56 -0600 (Wed, 22 Dec 2010)
New Revision: 4410

Modified:
   MOAB/trunk/src/parallel/ParallelComm.cpp
   MOAB/trunk/src/parallel/moab/ParallelComm.hpp
Log:
update ParallelComm for recent tag reorganizaiton: fixes parallel build issues

Modified: MOAB/trunk/src/parallel/ParallelComm.cpp
===================================================================
--- MOAB/trunk/src/parallel/ParallelComm.cpp	2010-12-22 21:39:31 UTC (rev 4409)
+++ MOAB/trunk/src/parallel/ParallelComm.cpp	2010-12-22 21:39:56 UTC (rev 4410)
@@ -4,7 +4,6 @@
 #include "moab/ReadUtilIface.hpp"
 #include "SequenceManager.hpp"
 #include "EntitySequence.hpp"
-#include "TagServer.hpp"
 #include "MBTagConventions.hpp"
 #include "moab/Skinner.hpp"
 #include "MBParallelConventions.h"
@@ -14,6 +13,7 @@
 #include "moab/CN.hpp"
 #include "moab/RangeMap.hpp"
 #include "moab/MeshTopoUtil.hpp"
+#include "TagInfo.hpp"
 
 #include <iostream>
 #include <sstream>
@@ -351,7 +351,6 @@
 
 void ParallelComm::initialize() 
 {
-  tagServer = dynamic_cast<Core*>(mbImpl)->tag_server();
   sequenceManager = dynamic_cast<Core*>(mbImpl)->sequence_manager();
   
     // initialize MPI, if necessary
@@ -2684,30 +2683,29 @@
   std::vector<int> var_len_sizes;
   std::vector<const void*> var_len_values;
     
-  const TagInfo *tinfo = tagServer->get_tag_info(tag);
     // default value
   count += sizeof(int);
-  if (NULL != tinfo->default_value()) 
-    count += tinfo->default_value_size();
+  if (NULL != tag->get_default_value()) 
+    count += tag->get_default_value_size();
 
     // size, type, data type
   count += 3*sizeof(int);
 
     // name
   count += sizeof(int);
-  count += tinfo->get_name().size();
+  count += tag->get_name().size();
 
     // range of tag
   count += sizeof(int) + tagged_entities.size() * sizeof(EntityHandle);
 


More information about the moab-dev mailing list