double(* gradient)(double, double, double)
void event_pressure(void)
At every timestep, but after all the other events for this timestep have been processed (the 'last' k...
void event_defaults(void)
We change the default gradient function (used for advection) to minmod-limited (rather than the cente...
scalar p[]
We allocate the pressure and divergence field .
Information about the convergence of the solver is returned in a structure.
#define poisson(...)
Finally, we overload the poisson() function called by [two-phase.h]() with our new function.
double minmod2(double s0, double s1, double s2)