![]() | ![]() | ![]() | Gerris Flow Solver Reference Manual | ![]() |
---|
#include <gfs.h> #define GFS_IS_INIT (obj) GfsInit; GfsGenericInitClass* gfs_init_class (void);
GfsInit can be used to set initial conditions for a set of variables. The initial conditions can be either constants or functions.
The syntax in parameter files is as follows:
[ GfsGenericInit ] { V1 = [ GfsFunction ] V2 = [ GfsFunction ] ... }
If the variables do not already exist at the time of initialisation, they are created.
<<< Generic initialisation event | Vorticity initialisation >>> |