Gerris Flow Solver Reference Manual | |||
---|---|---|---|
<<< Previous Page | Home | Up | Next Page >>> |
#include <gfs.h> #define GFS_BOX_CLASS (klass) #define GFS_BOX (obj) #define GFS_IS_BOX (obj) struct GfsBoxClass; struct GfsBox; GfsBoxClass* gfs_box_class (void); GfsBox* gfs_box_new (GfsBoxClass *klass); void gfs_box_set_pos (GfsBox *box, FttVector *pos); void gfs_box_set_relative_pos (GfsBox *box, GfsBox *reference, FttDirection d); GfsDomain* gfs_box_domain (GfsBox *box); |
struct GfsBox { GtsGNode parent; FttCell * root; GtsObject * neighbor[FTT_NEIGHBORS]; guint id; int pid; gint size; }; |
void gfs_box_set_pos (GfsBox *box, FttVector *pos); |
Recursively sets the position of the center of box and of its neighbors.
box : | a GfsBox. |
pos : | the new position of the center of the box. |
void gfs_box_set_relative_pos (GfsBox *box, GfsBox *reference, FttDirection d); |
Recursively sets the position of the center of box and of its neighbors relative to the position of reference in direction d.