From 1624078c16698349eb91dffa603f1bf46bb77285 Mon Sep 17 00:00:00 2001 From: Elias Pipping <elias.pipping@fu-berlin.de> Date: Thu, 9 Aug 2012 11:56:19 +0200 Subject: [PATCH] Cleanup (Comments, whitespace) --- src/compute_state.cc | 7 +++---- src/compute_state.hh | 1 - src/compute_state_ruina.cc | 3 +-- src/compute_state_ruina.hh | 1 - 4 files changed, 4 insertions(+), 8 deletions(-) diff --git a/src/compute_state.cc b/src/compute_state.cc index b2ef883b..5afb2c44 100644 --- a/src/compute_state.cc +++ b/src/compute_state.cc @@ -10,8 +10,8 @@ #include "compute_state.hh" -// The nonlinearity exp(-x) [ Note: the Dieterich law has an additional linear -// term! ] +// The nonlinearity exp(-x) +// NOTE: the Dieterich law has an additional linear term! class DecayingExponential { public: typedef Dune::FieldVector<double, 1> VectorType; @@ -47,8 +47,7 @@ double state_update_dieterich_bisection(double h, double uol, return bisection.minimize(J, 0.0, 0.0, bisectionsteps); // TODO } -double state_update_dieterich(double h, double uol, // unorm / L - double old_state) { +double state_update_dieterich(double h, double uol, double old_state) { double const ret = state_update_dieterich_bisection(h, uol, old_state); /* We have diff --git a/src/compute_state.hh b/src/compute_state.hh index b1190cc0..3fedc4fe 100644 --- a/src/compute_state.hh +++ b/src/compute_state.hh @@ -2,5 +2,4 @@ #define COMPUTE_STATE_HH double state_update_dieterich(double h, double uol, double old_state); - #endif diff --git a/src/compute_state_ruina.cc b/src/compute_state_ruina.cc index a5ae9bbf..de844ce2 100644 --- a/src/compute_state_ruina.cc +++ b/src/compute_state_ruina.cc @@ -4,8 +4,7 @@ #include "compute_state_ruina.hh" -double state_update_ruina(double h, double uol, // unorm/L - double old_state) { +double state_update_ruina(double h, double uol, double old_state) { if (uol == 0) return old_state; diff --git a/src/compute_state_ruina.hh b/src/compute_state_ruina.hh index 43e8eba9..fee9d31c 100644 --- a/src/compute_state_ruina.hh +++ b/src/compute_state_ruina.hh @@ -2,5 +2,4 @@ #define COMPUTE_STATE_RUINA_HH double state_update_ruina(double h, double uol, double old_state); - #endif -- GitLab