[MOAB-dev] commit/MOAB: danwu: Minor changes to structuredmesh and StructuredMeshSimple examples.

commits-noreply at bitbucket.org commits-noreply at bitbucket.org
Thu Feb 20 13:57:23 CST 2014


1 new commit in MOAB:

https://bitbucket.org/fathomteam/moab/commits/85272d539aef/
Changeset:   85272d539aef
Branch:      master
User:        danwu
Date:        2014-02-20 20:56:43
Summary:     Minor changes to structuredmesh and StructuredMeshSimple examples.

Affected #:  2 files

diff --git a/examples/StructuredMeshSimple.cpp b/examples/StructuredMeshSimple.cpp
index bd21dd1..bc80ed8 100644
--- a/examples/StructuredMeshSimple.cpp
+++ b/examples/StructuredMeshSimple.cpp
@@ -17,7 +17,7 @@
  *      -# Get the coordinates of the vertices comprising that element
  *    -# Release the structured mesh interface and destroy the MOAB instance
  *
- * <b> To run: </b> ./structuredmesh [d [N] ] \n
+ * <b> To run: </b> ./StructuredMeshSimple [d [N] ] \n
  * (default values so can run w/ no user interaction)
  */
 

diff --git a/examples/structuredmesh.cpp b/examples/structuredmesh.cpp
index 5ad42fb..0214c3e 100644
--- a/examples/structuredmesh.cpp
+++ b/examples/structuredmesh.cpp
@@ -28,6 +28,7 @@ using namespace moab;
 
 int main(int argc, char **argv) 
 {
+  argv[0] = argv[argc - argc]; // To remove the warnings about unused parameters
   int I, J, K;
     // progoptions?
   std::cout << "Enter I, J, K... " << std::endl;

Repository URL: https://bitbucket.org/fathomteam/moab/

--

This is a commit notification from bitbucket.org. You are receiving
this because you have the service enabled, addressing the recipient of
this email.


More information about the moab-dev mailing list