[cig-commits] [commit] master: Rename struct member (22bc914)

cig_noreply at geodynamics.org cig_noreply at geodynamics.org
Wed Oct 8 17:05:13 PDT 2014


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

On branch  : master
Link       : https://github.com/geodynamics/vc/compare/23464fca3efa2b6ad7ee0ce8f60c225b18b49741...e4325192ad1118379f46ba66899cb98143d09e04

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

commit 22bc9141d69e92660c6912a441a2c098a2ffe3ad
Author: Eric Heien <emheien at ucdavis.edu>
Date:   Mon Sep 22 16:19:10 2014 -0700

    Rename struct member


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

22bc9141d69e92660c6912a441a2c098a2ffe3ad
 src/io/HDF5Data.cpp | 2 +-
 src/io/HDF5Data.h   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/io/HDF5Data.cpp b/src/io/HDF5Data.cpp
index 26ca7b6..2b8f872 100644
--- a/src/io/HDF5Data.cpp
+++ b/src/io/HDF5Data.cpp
@@ -656,7 +656,7 @@ void HDF5DataWriter::writeEvent(VCEvent &event) {
         for (it=event.sweepBegin(),i=0,sweep_num=0; it!=event.sweepEnd(); ++it,++sweep_num) {
             for (eit=it->begin(); eit!=it->end(); ++eit,++i) {
                 s_info_array[i].event_number = event_num;
-                s_info_array[i].sweep_num = sweep_num;
+                s_info_array[i].sweep_number = sweep_num;
                 s_info_array[i].block_id = eit->first;
                 s_info_array[i].block_slip = eit->second.slip;
                 s_info_array[i].block_area = eit->second.area;
diff --git a/src/io/HDF5Data.h b/src/io/HDF5Data.h
index a59c17e..c97f848 100644
--- a/src/io/HDF5Data.h
+++ b/src/io/HDF5Data.h
@@ -78,7 +78,7 @@ typedef struct EventInfo EventInfo;
 
 struct EventSweepInfo {
     unsigned int    event_number;
-    unsigned int    sweep_num;
+    unsigned int    sweep_number;
     BlockID         block_id;
     double          block_slip;
     double          block_area;



More information about the CIG-COMMITS mailing list