[MOAB-dev] r3657 - MOAB/trunk/examples

kraftche at cae.wisc.edu kraftche at cae.wisc.edu
Wed Mar 17 16:52:22 CDT 2010


Author: kraftche
Date: 2010-03-17 16:52:22 -0500 (Wed, 17 Mar 2010)
New Revision: 3657

Added:
   MOAB/trunk/examples/A.1.ele
   MOAB/trunk/examples/A.1.node
   MOAB/trunk/examples/README.FileReader
Removed:
   MOAB/trunk/examples/FileReader/
   MOAB/trunk/examples/GeomSetHierarchy/
   MOAB/trunk/examples/GetEntities/
   MOAB/trunk/examples/SetsNTags/
   MOAB/trunk/examples/SkinMesh/
   MOAB/trunk/examples/SurfArea/
Log:
remove old examples subdirs

Copied: MOAB/trunk/examples/A.1.ele (from rev 3651, MOAB/trunk/examples/FileReader/A.1.ele)
===================================================================
--- MOAB/trunk/examples/A.1.ele	                        (rev 0)
+++ MOAB/trunk/examples/A.1.ele	2010-03-17 21:52:22 UTC (rev 3657)
@@ -0,0 +1,31 @@
+29  3  0
+   1      29     2     1
+   2       2    29    23
+   3      25    24    23
+   4      23    22     2
+   5      25    23    29
+   6       2    22     3
+   7       3    21     4
+   8      21     3    22
+   9       4    21    20
+  10       5     4    26
+  11      19    26     4
+  12      26    19    18
+  13      19     4    20
+  14       5    26    28
+  15      12    14    13
+  16      14    12    11
+  17      11    10     9
+  18       8    14     9
+  19       8    15    14
+  20       9    14    11
+  21       6    27     7
+  22      26    18    27
+  23       5    28     6
+  24      27    18     7
+  25      28    27     6
+  26      15     7    16
+  27       7    15     8
+  28      17     7    18
+  29       7    17    16
+# Generated by triangle A.poly


Property changes on: MOAB/trunk/examples/A.1.ele
___________________________________________________________________
Added: svn:mergeinfo
   + 

Copied: MOAB/trunk/examples/A.1.node (from rev 3651, MOAB/trunk/examples/FileReader/A.1.node)
===================================================================
--- MOAB/trunk/examples/A.1.node	                        (rev 0)
+++ MOAB/trunk/examples/A.1.node	2010-03-17 21:52:22 UTC (rev 3657)
@@ -0,0 +1,31 @@
+29  2  1  1
+   1    0.20000000000000001  -0.77639999999999998  -0.56999999999999995    1
+   2    0.22  -0.7732  -0.55000000000000004    1
+   3    0.24560000000000001  -0.75639999999999996  -0.51000000000000001    1
+   4    0.27760000000000001  -0.70199999999999996  -0.53000000000000003    1
+   5    0.48880000000000001  -0.20760000000000001  0.28000000000000003    1
+   6    0.50480000000000003  -0.20760000000000001  0.29999999999999999    1
+   7    0.74080000000000001  -0.73960000000000004  0    1
+   8    0.75600000000000001  -0.76119999999999999  -0.01    1
+   9    0.77439999999999998  -0.77239999999999998  0    1
+  10    0.80000000000000004  -0.77639999999999998  0.02    1
+  11    0.80000000000000004  -0.79239999999999999  0.01    1
+  12    0.57920000000000005  -0.79239999999999999  -0.20999999999999999    1
+  13    0.57920000000000005  -0.77639999999999998  -0.20000000000000001    1
+  14    0.62160000000000004  -0.77159999999999995  -0.14999999999999999    1
+  15    0.63360000000000005  -0.76280000000000003  -0.13    1
+  16    0.63919999999999999  -0.74439999999999995  -0.10000000000000001    1
+  17    0.62080000000000002  -0.68440000000000001  -0.059999999999999998    1
+  18    0.58720000000000006  -0.60440000000000005  -0.01    1
+  19    0.36080000000000001  -0.60440000000000005  -0.23999999999999999    1
+  20    0.31919999999999998  -0.70679999999999998  -0.39000000000000001    1
+  21    0.312  -0.73960000000000004  -0.42999999999999999    1
+  22    0.31840000000000002  -0.76119999999999999  -0.44    1
+  23    0.33439999999999998  -0.77159999999999995  -0.44    1
+  24    0.37119999999999997  -0.77639999999999998  -0.40999999999999998    1
+  25    0.37119999999999997  -0.79239999999999999  -0.41999999999999998    1
+  26    0.37440000000000001  -0.56999999999999995  -0.20000000000000001    1
+  27    0.57440000000000002  -0.56999999999999995  0    1
+  28    0.47360000000000002  -0.33079999999999998  0.14000000000000001    1
+  29    0.20000000000000001  -0.79239999999999999  -0.58999999999999997    1
+# Generated by triangle A.poly


Property changes on: MOAB/trunk/examples/A.1.node
___________________________________________________________________
Added: svn:mergeinfo
   + 

Copied: MOAB/trunk/examples/README.FileReader (from rev 3651, MOAB/trunk/examples/FileReader/README)
===================================================================
--- MOAB/trunk/examples/README.FileReader	                        (rev 0)
+++ MOAB/trunk/examples/README.FileReader	2010-03-17 21:52:22 UTC (rev 3657)
@@ -0,0 +1,14 @@
+Mesh readers and writers communicate mesh into/out of MOAB from/to disk files.  
+Reading a mesh often involves importing large sets of data, for example coordinates of all the nodes in the mesh.  Normally, this process would involve reading data from the file into a temporary data buffer, then copying data from there into its destination in MOAB.  To avoid the expense of copying data, MOAB has implemented a reader/writer interface that provides direct access to blocks of memory used to represent mesh.
+The reader interface, declared in MBReadUtilIface, is used to request blocks of memory for storing coordinate positions and element connectivity.  The pointers returned from these functions point to the actual memory used to represent those data in MOAB.  Once data is written to that memory, no further copying is done.  This not only saves time, but it also eliminates the need to allocate a large memory buffer for intermediate storage of these data. 
+
+In this example, Triangle output files are read into MOAB. The database is saved into a file specified by the user, extension decides the type of the file.
+
+usage 
+fread <triangle_file_base> <output_file>
+example provided
+$>  fread A.1 out.vtk
+
+It is assumed that the <>.node file and <>.ele files are existing.
+
+


Property changes on: MOAB/trunk/examples/README.FileReader
___________________________________________________________________
Added: svn:mergeinfo
   + 



More information about the moab-dev mailing list