Gerris
Functions

GfsDomainProjection

GfsDomain
Collaboration diagram for GfsDomainProjection:

Functions

void gfs_domain_projection_reshape (GfsDomainProjection *proj)
GfsDomainProjection * gfs_domain_projection_new (GfsDomain *domain, FttComponent c)
void gfs_domain_projection_traverse (GfsDomainProjection *domain, FttTraverseType order, FttTraverseFlags flags, gint max_depth, GfsProjectionTraverseFunc func, gpointer data)

Detailed Description

Projection of a GfsDomain along a coordinate direction.

See also:

Syntax reference


Function Documentation

GfsDomainProjection* gfs_domain_projection_new ( GfsDomain *  domain,
FttComponent  c 
)
Parameters:
domaina #GfsDomain.
cthe component aligned with the projection direction.
Returns:
a new #GfsDomainProjection, projection of domain along c.

Here is the call graph for this function:

void gfs_domain_projection_reshape ( GfsDomainProjection *  proj)
Parameters:
proja #GfsDomainProjection.

Updates the mesh for projection proj.

Here is the call graph for this function:

Here is the caller graph for this function:

void gfs_domain_projection_traverse ( GfsDomainProjection *  domain,
FttTraverseType  order,
FttTraverseFlags  flags,
gint  max_depth,
GfsProjectionTraverseFunc  func,
gpointer  data 
)
Parameters:
domaina #GfsDomainProjection.
orderthe order in which the cells are visited - FTT_PRE_ORDER, FTT_POST_ORDER.
flagswhich types of children are to be visited.
max_depththe maximum depth of the traversal. Cells below this depth will not be traversed. If max_depth is -1 all cells in the tree are visited.
functhe function to call for each visited #FttCell.
datauser data to pass to func.

For each cell of domain defined by the traversal flags, traverses all the overlapping leaf cells of its parent domain.

Here is the call graph for this function:

 All Data Structures Files Functions Variables