Snoopy Version 6.0 (Albert)
output.c File Reference
#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"
Include dependency graph for output.c:

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

Function Documentation

void dump_immediate ( struct Field  fldi,
const double  t 
)

Immediatly output a dump file, regardless of the output parameters.

Parameters:
tCurrent time of the simulation.

Here is the call graph for this function:

Here is the caller graph for this function:

void finish_output ( )

Free the variables used by the output routines

Here is the call graph for this function:

Here is the caller graph for this function:

void init_output ( )

Initialize the output variables. Should be called only in the begining .

Here is the call graph for this function:

Here is the caller graph for this function:

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.

Parameters:
tCurrent time in the simulation

Here is the call graph for this function:

Here is the caller graph for this function:

void output_immediate ( struct Field  fldi,
const double  t 
)

Immediatly output a timevar, snapshot and dump, regardless of the output parameters.

Parameters:
tCurrent time of the simulation.

Here is the call graph for this function:

Here is the caller graph for this function:

void output_status ( FILE *  iostream)

Show the current status of the output routine.

Parameters:
iostreamHandler of the file in which the status is written.

Here is the caller graph for this function:

double read_output_timer ( )

Here is the caller graph for this function:


Variable Documentation

Time when the last dump output was done

Time when the las snapshot output was done

Time when the last timevar output was done

Next snapshot output number

double output_timer