Commit a1a18e74 authored by David Deepwell's avatar David Deepwell
Browse files

Properly initialize get_restart_sequence() in case file

The re-definition of get_restart_sequence() was missing in
gravity_current.cpp. This resulted in all restarts to read output
zero (*.0). Restarting will now properly read the output number
specified by restart_sequence.
parent e3adc1f9
......@@ -102,6 +102,7 @@ class userControl : public BaseCase {
// Temporal parameters
double init_time() const { return initial_time; }
int get_restart_sequence() const { return restart_sequence; }
// Number of tracers (the first is density)
int numtracers() const { return Num_tracers; }
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment