[cig-commits] [commit] master: Remove more unused aftershock code (66be670)
cig_noreply at geodynamics.org
cig_noreply at geodynamics.org
Wed Oct 8 17:04:33 PDT 2014
Repository : https://github.com/geodynamics/vc
On branch : master
Link : https://github.com/geodynamics/vc/compare/23464fca3efa2b6ad7ee0ce8f60c225b18b49741...e4325192ad1118379f46ba66899cb98143d09e04
>---------------------------------------------------------------
commit 66be6708155bb585186388253b9ba0902a6a1d2b
Author: Eric Heien <emheien at ucdavis.edu>
Date: Wed Sep 17 10:41:13 2014 -0700
Remove more unused aftershock code
>---------------------------------------------------------------
66be6708155bb585186388253b9ba0902a6a1d2b
src/core/VCEvent.h | 22 ----------------------
1 file changed, 22 deletions(-)
diff --git a/src/core/VCEvent.h b/src/core/VCEvent.h
index d26a6e6..640145b 100644
--- a/src/core/VCEvent.h
+++ b/src/core/VCEvent.h
@@ -194,9 +194,6 @@ class VCEvent {
//! Sum of the EventSweeps slips, used to quickly calculate magnitude
EventBlockMap total_slip;
- //! Generated event aftershocks
- AftershockSet aftershocks;
-
double shear_stress_init, shear_stress_final;
double normal_stress_init, normal_stress_final;
@@ -263,14 +260,6 @@ class VCEvent {
//! Add a list of event sweeps to this event.
void addSweeps(EventSweeps &sweep_list);
- //! Add an aftershock to this event.
- void addAftershock(VCEventAftershock &aftershock) {
- aftershocks.push_back(aftershock);
- };
- //! Get a pointer to the set of aftershocks associated with this event.
- AftershockSet *getAftershockPtr(void) {
- return &aftershocks;
- };
//! Get the total amount a given block slipped during this event
double getEventSlip(const BlockID &block_id) const {
@@ -313,10 +302,6 @@ class VCEvent {
unsigned int getNumSweeps(void) const {
return event_sweeps.size();
};
- //! Get the number of aftershocks resulting from this event.
- unsigned int getNumAftershocks(void) const {
- return aftershocks.size();
- };
void clear(void);
@@ -334,13 +319,6 @@ class VCEvent {
return event_sweeps.end();
};
- AftershockSet::iterator aftershockBegin(void) {
- return aftershocks.begin();
- };
- AftershockSet::iterator aftershockEnd(void) {
- return aftershocks.end();
- };
-
friend std::ostream &operator<<(std::ostream &os, const VCEvent &e);
};
More information about the CIG-COMMITS
mailing list