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:
-
domain | a #GfsDomain. |
c | the component aligned with the projection direction. |
- Returns:
- a new #GfsDomainProjection, projection of domain along c.
void gfs_domain_projection_reshape |
( |
GfsDomainProjection * |
proj | ) |
|
- Parameters:
-
proj | a #GfsDomainProjection. |
Updates the mesh for projection proj.
void gfs_domain_projection_traverse |
( |
GfsDomainProjection * |
domain, |
|
|
FttTraverseType |
order, |
|
|
FttTraverseFlags |
flags, |
|
|
gint |
max_depth, |
|
|
GfsProjectionTraverseFunc |
func, |
|
|
gpointer |
data |
|
) |
| |
- Parameters:
-
domain | a #GfsDomainProjection. |
order | the order in which the cells are visited - FTT_PRE_ORDER, FTT_POST_ORDER. |
flags | which types of children are to be visited. |
max_depth | the 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. |
func | the function to call for each visited #FttCell. |
data | user 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.