Source terms

Name

Source terms -- Variable-dependent source terms

Synopsis


#include <gfs.h>

#define             GFS_SOURCE                          (obj)
#define             GFS_IS_SOURCE                       (obj)

                    GfsSource;

GfsSourceGenericClass* gfs_source_class                 (void);

Description

GfsSource is used to associate a source term (possibly a function of space and time) to a given variable.

The syntax in parameter files is as follows:

[ GfsSourceGeneric ] [ GfsFunction ]

Details

GFS_SOURCE()

#define             GFS_SOURCE(obj)

obj :


GFS_IS_SOURCE()

#define             GFS_IS_SOURCE(obj)

obj :


GfsSource

typedef struct {
  GfsFunction * intensity;
} GfsSource;


gfs_source_class ()

GfsSourceGenericClass* gfs_source_class                 (void);

Returns :