40 for (
int _s = 0;
_s < 1;
_s++)
double dtmax
The timestep is computed using the CFL condition on the face velocity field.
scalar * list_clone(scalar *l)
if TRASH undef trash define trash(list) reset(list
double zero(double s0, double s1, double s2)
void display(const char *commands, bool overwrite=false)
double dt
These come from the multilayer solver.
static trace void advance_generic(scalar *output, scalar *input, scalar *updates, double dt)
scalar * evolving
The generic time-integration scheme in predictor-corrector.h needs to know which fields are updated i...
void event_defaults(void)
Event: defaults (i = 0)
double(* update)(scalar *evolving, scalar *updates, double dtmax)
double(* gradient)(double, double, double)
static void(* advance)(scalar *output, scalar *input, scalar *updates, double dt)
void timer_print(timer t, int i, size_t tnc)
This function writes timing statistics on standard output.
void update_perf()
Performance statistics are gathered by this function, which is typically called by the run() loop.
struct @16 perf
Performance statistics are stored in this structure.
double minmod2(double s0, double s1, double s2)