54 if ((
d[] && !
d[0,-1]) &&
55 ((
d[-1,-1] && !
d[-1]) || (
d[1,-1] && !
d[1])))
93 double area = 0., volume = 0.;
static float area(const KdtRect rect)
void event_init(void)
Event: init (i = 0)
void event_viscous_term(void)
At each timestep...
static struct @14 Conservation
The domain considered needs to be simply-connected in order to avoid the transfer of mass between bas...
void event_cleanup(void)
We free memory at the end of the simulation to avoid memory leaks.
which uses a global _layer index *int _layer
void remove_droplets(scalar f, int minsize=3, double threshold=1e-4, bool bubbles=false)