Snoopy Version 6.0 (Albert)
output_timevar.c File Reference
#include <stdlib.h>
#include <string.h>
#include "../common.h"
#include "../gfft.h"
#include "../shear.h"
#include "../debug.h"
#include "../particles.h"
Include dependency graph for output_timevar.c:

Functions

double find_max (double *wri)
double find_min (double *wri)
double compute_2correlation (double *wri1, double *wri2)
double compute_3correlation (double *wri1, double *wri2, double *wri3)
void output_timevar (const struct Field fldi, const double t)
void init_timevar ()

Function Documentation

double compute_2correlation ( double *  wri1,
double *  wri2 
)

compute the correlation between 2 fields

Here is the caller graph for this function:

double compute_3correlation ( double *  wri1,
double *  wri2,
double *  wri3 
)

compute the correlation between 3 fields

Here is the caller graph for this function:

double find_max ( double *  wri)

find the maximum of a real array of size 2*NTOTAL_COMPLEX

Parameters:
wriarray in which we want to know the maximum

Here is the caller graph for this function:

double find_min ( double *  wri)

find the minimum of a real array of size 2*NTOTAL_COMPLEX

Parameters:
wriarray in which we want to know the minimum

Here is the caller graph for this function:

void init_timevar ( )

Remove the timevar file (if exists) to start from a fresh one.

Here is the caller graph for this function:

void output_timevar ( const struct Field  fldi,
const double  t 
)

Write statistical quantities using text format in the file timevar.

Parameters:
fldiField structure from which the statistical quantities are derived.
tCurrent time of the simulation

Here is the call graph for this function:

Here is the caller graph for this function: