[cig-commits] [commit] master: Remove unused defs/functions (a474d8f)
cig_noreply at geodynamics.org
cig_noreply at geodynamics.org
Tue Dec 2 13:56:03 PST 2014
Repository : https://github.com/geodynamics/vq
On branch : master
Link : https://github.com/geodynamics/vq/compare/06902a05cf4d70bc94c85d1c195c073d4e74cdad...c935dfd33f870a081b6c01cce97a060ad1cbdbda
>---------------------------------------------------------------
commit a474d8f9763e642b54a4d288a0eef7e219ddf0ce
Author: Eric Heien <emheien at ucdavis.edu>
Date: Sat Nov 22 00:30:12 2014 -0800
Remove unused defs/functions
>---------------------------------------------------------------
a474d8f9763e642b54a4d288a0eef7e219ddf0ce
src/core/Block.h | 6 ------
src/io/HDF5Data.h | 11 -----------
2 files changed, 17 deletions(-)
diff --git a/src/core/Block.h b/src/core/Block.h
index 9b4cd74..07621bf 100644
--- a/src/core/Block.h
+++ b/src/core/Block.h
@@ -184,12 +184,6 @@ class Block : public quakelib::SimElement {
state.cff0 = state.cff;
state.slipDeficit0 = state.slipDeficit;
};
- //! Restore the saved stresses and CFF.
- void restoreStresses(void) {
- *(state.stressS) = state.stressS0;
- *(state.stressN) = state.stressN0;
- state.cff = state.cff0;
- state.slipDeficit = state.slipDeficit0;
};
//! Get the recorded shear stress.
double getStressS0(void) const {
diff --git a/src/io/HDF5Data.h b/src/io/HDF5Data.h
index a6c5ed4..ceaffcf 100644
--- a/src/io/HDF5Data.h
+++ b/src/io/HDF5Data.h
@@ -42,17 +42,6 @@
#define GREEN_SHEAR_HDF5 "greens_shear"
#define GREEN_NORMAL_HDF5 "greens_normal"
-// State checkpoint table definitions
-#define CHECKPOINT_STATE_HDF5 "checkpoint_state"
-#define CHECKPOINT_YEAR_HDF5 "checkpoint_year"
-#define CHECKPOINT_EVENT_HDF5 "checkpoint_event"
-#define CHECKPOINT_NUM_ENTRIES_HDF5 6
-#define CHECKPOINT_SLIP_DFCT_HDF5 "slipDeficit"
-#define CHECKPOINT_CFF_HDF5 "cff"
-#define CHECKPOINT_STRESS_S_HDF5 "stressS"
-#define CHECKPOINT_STRESS_N_HDF5 "stressN"
-#define CHECKPOINT_UPDATE_FLD_HDF5 "updateField"
-
#ifdef HDF5_FOUND
// Classes representing a file containing checkpoint data
More information about the CIG-COMMITS
mailing list