Skip to content
Snippets Groups Projects
Commit 1624078c authored by Elias Pipping's avatar Elias Pipping Committed by Elias Pipping
Browse files

Cleanup (Comments, whitespace)

parent 49eaba38
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -2,5 +2,4 @@
#define COMPUTE_STATE_HH
double state_update_dieterich(double h, double uol, double old_state);
#endif
......@@ -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;
......
......@@ -2,5 +2,4 @@
#define COMPUTE_STATE_RUINA_HH
double state_update_ruina(double h, double uol, double old_state);
#endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment