Name
Source terms -- Variable-dependent source terms
Description
GfsSource is a generic object derived from GfsEvent and used to associate a source term to a given variable.
The syntax in parameter files is as follows:
where NAME is the name of the variable to associate the source term to.
Details
GFS_IS_SOURCE()
#define GFS_IS_SOURCE(obj) |
GFS_SOURCE_CLASS()
#define GFS_SOURCE_CLASS(klass) |
struct GfsSource
struct GfsSource {
/*< private >*/
GfsEvent parent;
/*< public >*/
GfsVariable * v;
}; |
gfs_velocity_sources ()
Adds the corresponding source term to each component of the velocity.