Gerris
Functions

source.c File Reference

Source terms. More...

Functions

gdouble gfs_variable_mac_source (GfsVariable *v, FttCell *cell)
void gfs_domain_variable_centered_sources (GfsDomain *domain, GfsVariable *v, GfsVariable *sv, gdouble dt)
GfsVariable * gfs_domain_variable_fluxes (GfsDomain *domain, GfsVariable *v, gdouble dt)
GfsSourceGeneric * gfs_source_find (GfsVariable *v, GfsSourceGenericClass *klass)
GfsSourceCoriolis * gfs_has_source_coriolis (GfsDomain *domain)
void gfs_source_coriolis_implicit (GfsDomain *domain, gdouble dt)

Detailed Description

Source terms.


Function Documentation

void gfs_domain_variable_centered_sources ( GfsDomain *  domain,
GfsVariable *  v,
GfsVariable *  sv,
gdouble  dt 
)
Parameters:
domaina #GfsDomain.
va #GfsVariable.
sva #GfsVariable.
dtthe timestep.

Adds the source terms for v to sv.

Here is the call graph for this function:

Here is the caller graph for this function:

GfsVariable* gfs_domain_variable_fluxes ( GfsDomain *  domain,
GfsVariable *  v,
gdouble  dt 
)
Parameters:
domaina #GfsDomain.
va #GfsVariable.
dtthe timestep.
Returns:
a new temporary variable containing the fluxes or NULL.

Here is the call graph for this function:

gdouble gfs_variable_mac_source ( GfsVariable *  v,
FttCell *  cell 
)
Parameters:
va #GfsVariable.
cella #FttCell.
Returns:
the sum of all the sources for variable v in cell.

Here is the caller graph for this function:

 All Data Structures Files Functions Variables