#include <stdlib.h>
#include <string.h>
#include "../common.h"
#include "../gfft.h"
#include "../shear.h"
#include "../debug.h"
#include "../particles.h"
Function Documentation
double compute_2correlation |
( |
double * |
wri1, |
|
|
double * |
wri2 |
|
) |
| |
compute the correlation between 2 fields
double compute_3correlation |
( |
double * |
wri1, |
|
|
double * |
wri2, |
|
|
double * |
wri3 |
|
) |
| |
compute the correlation between 3 fields
double find_max |
( |
double * |
wri | ) |
|
find the maximum of a real array of size 2*NTOTAL_COMPLEX
- Parameters:
-
wri | array in which we want to know the maximum |
double find_min |
( |
double * |
wri | ) |
|
find the minimum of a real array of size 2*NTOTAL_COMPLEX
- Parameters:
-
wri | array in which we want to know the minimum |
Remove the timevar file (if exists) to start from a fresh one.
void output_timevar |
( |
const struct Field |
fldi, |
|
|
const double |
t |
|
) |
| |
Write statistical quantities using text format in the file timevar.
- Parameters:
-
fldi | Field structure from which the statistical quantities are derived. |
t | Current time of the simulation |