31double (*
gradient) (double, double, double) = NULL;
41 for (
int _f = 0; _f < 1; _f++)
vector uf[]
We allocate the (face) velocity field.
scalar * tracers
Here we set the gradient functions for each tracer (as defined in the user-provided tracers list).
void event_defaults(void)
Event: defaults (i = 0)
event init(i=0)
User initialisation happens here.
double(* gradient)(double, double, double)
void event_velocity(void)
The timestep is set using the velocity field and the CFL criterion.
trace double timestep(void)
scalar f[]
The primary fields are: