[MOAB-dev] r5084 - in MOAB/trunk: doc tools/vtkMOABReader

tautges at mcs.anl.gov tautges at mcs.anl.gov
Tue Aug 9 12:36:04 CDT 2011


Author: tautges
Date: 2011-08-09 12:36:04 -0500 (Tue, 09 Aug 2011)
New Revision: 5084

Modified:
   MOAB/trunk/doc/metadata_info.doc
   MOAB/trunk/tools/vtkMOABReader/vtkMOABReader.cxx
Log:
Add code for visualizing spectral mesh and data.



Modified: MOAB/trunk/doc/metadata_info.doc
===================================================================
(Binary files differ)

Modified: MOAB/trunk/tools/vtkMOABReader/vtkMOABReader.cxx
===================================================================
--- MOAB/trunk/tools/vtkMOABReader/vtkMOABReader.cxx	2011-08-05 16:00:38 UTC (rev 5083)
+++ MOAB/trunk/tools/vtkMOABReader/vtkMOABReader.cxx	2011-08-09 17:36:04 UTC (rev 5084)
@@ -24,6 +24,7 @@
 #include "vtkCellArray.h"
 #include "vtkCellData.h"
 #include "vtkIntArray.h"
+#include "vtkIdTypeArray.h"
 #include "vtkCharArray.h"
 #include "vtkPolyData.h"
 #include "vtkObjectFactory.h"
@@ -87,6 +88,8 @@
   
   ErrorCode construct_mesh(EntityHandle file_set);
 
+  ErrorCode construct_spectral_mesh(EntityHandle file_set);
+
   ErrorCode create_points_vertices(EntityHandle file_set, Range &verts);
   
   ErrorCode create_elements(EntityHandle file_set);
@@ -115,6 +118,16 @@
 
   ErrorCode process_tagged_sets(vtkMultiBlockDataSet *output);
   
+  ErrorCode read_spectral_tags(EntityHandle file_set);
+  
+  ErrorCode read_vector_variable(const char *tag1, const char *tag2, const char *tag3,
+                                 const char *tag_name, Range &elems);
+  
+  ErrorCode read_scalar_variable(const char *tag_name, Range &elems);
+  
+  ErrorCode tag_data_ptr_dbl(const char *tag_name, int tag_size,
+                             Range &elems, double *&tag_val);
+
   vtkUnstructuredGrid *myUG;
 
   Interface *mbImpl;
@@ -139,6 +152,9 @@
   bool iConstructedMOAB;
 
   Tag gidTag, gdimTag, partTag, catTag;
+
+  int semDims[3];
+  int numSemDims;
 };
 


More information about the moab-dev mailing list