| Gerris Flow Solver Reference Manual | |||
|---|---|---|---|
| <<< Previous Page | Home | Up | Next Page >>> |
#include <gfs.h> #define GFS_SOURCE (obj) #define GFS_IS_SOURCE (obj) #define GFS_SOURCE_CLASS (klass) struct GfsSource; struct GfsSourceClass; GfsSourceClass* gfs_source_class (void); void gfs_velocity_sources (GfsDomain *domain, GfsAdvectionParams *par); |
struct GfsSource {
/*< private >*/
GfsEvent parent;
/*< public >*/
GfsVariable * v;
}; |
void gfs_velocity_sources (GfsDomain *domain, GfsAdvectionParams *par); |
Adds the corresponding source term to each component of the velocity.
| domain : | a GfsDomain. |
| par : | the GfsAdvectionParams. |