[cig-commits] [commit] master: Add missing mesher program arguments (e3de54e)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Sat Sep 6 18:09:55 PDT 2014


Repository : https://github.com/geodynamics/vc

On branch  : master
Link       : https://github.com/geodynamics/vc/compare/f1609021246ebdd14b3c943f36ecfa5bc49d5691...290787dea3d3c04f5299b765cd20263898a787a5

>---------------------------------------------------------------

commit e3de54e0db35944d53860c05c58cb02f5bbbd61d
Author: Eric Heien <eheien at Blast-ThickNeck.local>
Date:   Tue Sep 2 11:05:08 2014 -0700

    Add missing mesher program arguments


>---------------------------------------------------------------

e3de54e0db35944d53860c05c58cb02f5bbbd61d
 src/mesher.cpp | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/src/mesher.cpp b/src/mesher.cpp
index 2ce025c..ff010a9 100644
--- a/src/mesher.cpp
+++ b/src/mesher.cpp
@@ -196,8 +196,12 @@ int main (int argc, char **argv) {
     eqsim_geom_in_file = eqsim_fric_in_file = eqsim_cond_in_file = "";
     eqsim_geom_out_file = eqsim_fric_out_file = eqsim_cond_out_file = "";
 
-    while ((ch = getopt_long(argc, argv, "s:C:F:G:e:f:i:j:d", longopts, NULL)) != -1) {
+    while ((ch = getopt_long(argc, argv, "mds:D:R:M:C:F:G:i:j:e:f:l:t:", longopts, NULL)) != -1) {
         switch (ch) {
+            case 'd':
+                delete_unused = true;
+                break;
+                
             case 'm':
                 merge_duplicate_vertices = true;
                 break;



More information about the CIG-COMMITS mailing list