GfsVariableFunction

From Gerris

Revision as of 14:39, 2 November 2009; view current revision
←Older revision | Newer revision→
Jump to: navigation, search

GfsVariableFunction is used to create a variable holding the value of a given function. The function values are stored in all cells and new values are only computed once for newly-created cells. This can significantly decrease the computing cost compared to using a straight GfsFunction.

The syntax in parameter files is

[ GfsVariable ] [ GfsFunction ]

Examples

Personal tools
communication