![]() ![]() ![]() ![]() Next: Triggered Output of Grid Up: I/O Methods Previous: I/O Method Registration Contents Periodic Output of Grid VariablesThe flesh scheduler will automatically call CCTK_OutputGH() at every iteration after the CCTK_ANALYSIS time bin. This function loops over all I/O methods and calls their routines registered as OutputGH() (see also Section B3.3.4).
int SimpleIO_OutputGH (const cGH *GH);
The OutputGH() routine itself should loop over all variables living on the
GH grid hierarchy, and do all necessary output if requested
(this is usually determined by I/O parameter settings).
As its return code, it should pass back the number of variables which were output
at the current iteration, or zero if no output was done by this I/O method.
|