Snoopy Version 6.0 (Albert)
|
#include <stdlib.h>
#include "../common.h"
#include "../gfft.h"
#include "../shear.h"
#include "../debug.h"
#include "../particles.h"
#include "output_vtk.h"
#include "output_dump.h"
#include "output_timevar.h"
#include "output_spectrum.h"
#include "output_common.h"
Functions | |
void | init_output () |
void | finish_output () |
void | output (struct Field fldi, const double t) |
void | output_status (FILE *iostream) |
void | output_immediate (struct Field fldi, const double t) |
void | dump_immediate (struct Field fldi, const double t) |
double | read_output_timer () |
Variables | |
int | noutput_flow |
double | lastoutput_time |
double | lastoutput_flow |
double | lastoutput_dump |
double | output_timer |
void dump_immediate | ( | struct Field | fldi, |
const double | t | ||
) |
Immediatly output a dump file, regardless of the output parameters.
t | Current time of the simulation. |
void finish_output | ( | ) |
Free the variables used by the output routines
void init_output | ( | ) |
Initialize the output variables. Should be called only in the begining .
void output | ( | struct Field | fldi, |
const double | t | ||
) |
Check if an output (timevar, snapshot or dump) is required at t. If yes, call the relevant routines.
t | Current time in the simulation |
void output_immediate | ( | struct Field | fldi, |
const double | t | ||
) |
Immediatly output a timevar, snapshot and dump, regardless of the output parameters.
t | Current time of the simulation. |
void output_status | ( | FILE * | iostream | ) |
Show the current status of the output routine.
iostream | Handler of the file in which the status is written. |
double read_output_timer | ( | ) |
double lastoutput_dump |
Time when the last dump output was done
double lastoutput_flow |
Time when the las snapshot output was done
double lastoutput_time |
Time when the last timevar output was done
int noutput_flow |
Next snapshot output number
double output_timer |