Details
GFS_IS_FLUID()
#define GFS_IS_FLUID(cell) |
Evaluates to TRUE if cell is entirely contained in the fluid, FALSE otherwise.
GFS_IS_MIXED()
#define GFS_IS_MIXED(cell) |
Evaluates to TRUE if cell is partially contained in the fluid, FALSE otherwise.
GFS_FACE_FRACTION()
#define GFS_FACE_FRACTION(fa) |
struct GfsSolidVector
struct GfsSolidVector {
gdouble s[FTT_NEIGHBORS];
gdouble a;
FttCell * merged;
}; |
Contains the surface and volume fractions of the cell not contained in the solid.
gfs_cell_fluid ()
void gfs_cell_fluid (FttCell *cell); |
Sets cell and all its descendants as full fluid cells.
gfs_cell_init_solid_fractions ()
void gfs_cell_init_solid_fractions (FttCell *root,
GtsSurface *s,
GNode *stree,
gboolean is_open,
gboolean destroy_solid,
FttCellCleanupFunc cleanup); |
Initializes the solid fractions of all the cells of the cell tree
starting at root.
If destroy_solid is set to TRUE, the cells entirely contained in
the solid are destroyed using cleanup as cleanup function.
gfs_cell_init_solid_fractions_from_children ()
void gfs_cell_init_solid_fractions_from_children
(FttCell *cell); |
Uses the values of the solid fractions of the children of cell to
compute the values of its solid fractions.
This function fails if cell is a leaf of the cell tree.
gfs_cell_check_solid_fractions ()
gboolean gfs_cell_check_solid_fractions (FttCell *root,
GtsSurface *solid,
GNode *stree,
gboolean is_open); |
Checks the consistency of the solid fractions of each cell of the
cell tree relative to the neighboring solid fractions and to the
solid geometry they represent (if solid is not NULL).
gfs_refine_mixed ()
gboolean gfs_refine_mixed (const FttCell *cell); |
gfs_cell_traverse_mixed ()
Traverses a cell tree starting at the given root FttCell. Calls
the given function for each leaf cell which is also a mixed cell.