diff --git a/src/compute_state.cc b/src/compute_state.cc index b2ef883b1012a3fd17b49ddc128b80a6b56a3add..5afb2c445f887a414626a460645a08173e16a8ac 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 b1190cc071ee577f425ffcb4ab87a08241fb45fc..3fedc4fe7953074d006e0a3afef772dfd7672329 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 a5ae9bbfebf0990fc2f6eac267757a2b1ca9c2d2..de844ce2483659e201f418624f213cd51cee26eb 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 43e8eba961ff564de9f27bf297cdbab7b2eaecdb..fee9d31c5fbcc2ddf6fb2bba6ecde3f30afc3518 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