| Gerris Flow Solver Reference Manual | |||
|---|---|---|---|
| <<< Previous Page | Home | Up | Next Page >>> |
#include <gfs.h> |
|
| m : | a FttVector. |
| c : | a volume fraction. |
| Returns : | the value alpha such that the volume of a cubic cell lying under the plane defined by m.x = alpha is equal to c. |
|
| m : | |
| alpha : | |
| c1 : | |
| Returns : | the volume (fraction) of a cubic cell lying under plane p. |
void gfs_tracer_vof_advection (GfsDomain *domain, GfsAdvectionParams *par, GfsVariable *half); |
Advects the v field of par using the current face-centered (MAC) velocity field.
If half is not NULL, the half-timestep value of par->v is stored in the corresponding variable.
| domain : | a GfsDomain. |
| par : | the advection parameters. |
| half : | a GfsVariable or NULL. |