[cig-commits] [commit] master: Remove unused parameter (81164e0)
cig_noreply at geodynamics.org
cig_noreply at geodynamics.org
Wed Oct 8 17:05:06 PDT 2014
Repository : https://github.com/geodynamics/vc
On branch : master
Link : https://github.com/geodynamics/vc/compare/23464fca3efa2b6ad7ee0ce8f60c225b18b49741...e4325192ad1118379f46ba66899cb98143d09e04
>---------------------------------------------------------------
commit 81164e0d512b29c197be7bc053f449cb9e15f0b9
Author: Eric Heien <emheien at ucdavis.edu>
Date: Wed Sep 17 22:25:53 2014 -0700
Remove unused parameter
>---------------------------------------------------------------
81164e0d512b29c197be7bc053f449cb9e15f0b9
src/simulation/RunEvent.cpp | 4 ++--
src/simulation/RunEvent.h | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/simulation/RunEvent.cpp b/src/simulation/RunEvent.cpp
index ea6c5de..1baa76a 100644
--- a/src/simulation/RunEvent.cpp
+++ b/src/simulation/RunEvent.cpp
@@ -25,7 +25,7 @@
At the end of each sweep after we have recalculated block CFF, we determine
which blocks will have a failure due to dynamic or static stress changes.
*/
-void RunEvent::markBlocks2Fail(VCSimulation *sim, const FaultID &trigger_fault, VCEventSweep ¤t_sweep) {
+void RunEvent::markBlocks2Fail(VCSimulation *sim, const FaultID &trigger_fault) {
int lid;
BlockID gid;
bool add;
@@ -352,7 +352,7 @@ SimRequest RunEvent::run(SimFramework *_sim) {
local_failed_blocks.clear(); // we are done with these blocks
// Find any blocks that fail because of the new stresses
- markBlocks2Fail(sim, trigger_fault, current_sweep);
+ markBlocks2Fail(sim, trigger_fault);
sim->collectEventSweep(current_sweep);
diff --git a/src/simulation/RunEvent.h b/src/simulation/RunEvent.h
index 7c656e9..c778e54 100644
--- a/src/simulation/RunEvent.h
+++ b/src/simulation/RunEvent.h
@@ -35,7 +35,7 @@ class RunEvent : public SimPlugin {
void processBlocksOrigFail(VCSimulation *sim, VCEventSweep ¤t_sweep);
void processBlocksSecondaryFailures(VCSimulation *sim, VCEventSweep ¤t_sweep);
- virtual void markBlocks2Fail(VCSimulation *sim, const FaultID &trigger_fault, VCEventSweep ¤t_sweep);
+ virtual void markBlocks2Fail(VCSimulation *sim, const FaultID &trigger_fault);
void recordEventStresses(VCSimulation *sim);
public:
More information about the CIG-COMMITS
mailing list