47 void set_dt(vector<string>);
bool dt_constant
is dt constant?
Definition: update.h:27
void create_method(vector< string >)
Creates a method: tlmpm, ulmpm, tlcpdi, ...
Definition: update.cpp:104
bigint laststep
1st & last step of this run
Definition: update.h:33
string method_type
Name of the method type.
Definition: update.h:41
double run_duration
Stop simulation if elapsed simulation time exceeds this.
Definition: update.h:23
string scheme_style
Name of the scheme style.
Definition: update.h:38
string method_shape_function
Type of shape function used.
Definition: update.h:42
double dt_factor
Timestep factor.
Definition: update.h:26
double maxtime
Maximum simulation time (infinite if -1)
Definition: update.h:31
void set_dt(vector< string >)
Sets the timestep.
Definition: update.cpp:65
double atime
Simulation time at atime_step.
Definition: update.h:30
class Scheme * scheme
Pointer to the type of Scheme used.
Definition: update.h:37
bigint atimestep
Last timestep atime was updated.
Definition: update.h:32
int update_timestep()
Update timestep.
Definition: update.cpp:141
int nsteps
Number of steps to run.
Definition: update.h:29
void update_time()
Update elapsed time.
Definition: update.cpp:131
Definition: pointers.h:29
void create_scheme(vector< string >)
Creates a scheme: USL, or MUSL.
Definition: update.cpp:79
double dt
Timestep.
Definition: update.h:25
class Method * method
Pointer to the type of Method used.
Definition: update.h:40
bigint ntimestep
current step
Definition: update.h:28
bigint endstep
1st and last step of multiple runs
Definition: update.h:34
int first_update
0 before initial update, 1 after
Definition: update.h:35
double elapsed_time_in_run
Elapsed simulation time for a single run;.
Definition: update.h:24
void set_dt_factor(vector< string >)
Sets the factor to be applied to the CFL timestep.
Definition: update.cpp:58