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

Functions

void write_vtk (FILE *ht, double complex wi[], const double t)
void output_vtk (struct Field fldi, const int n, double t)
void init_output_vtk ()
void finish_output_vtk ()

Function Documentation

void finish_output_vtk ( )

Here is the caller graph for this function:

void init_output_vtk ( )

Init the 1D Fourier transforms needed by remap_output.

Here is the caller graph for this function:

void output_vtk ( struct Field  fldi,
const int  n,
double  t 
)

Output a legacy VTK file readable by Paraview. This routine will output all the variables in files data/v****.vtk.

Parameters:
nNumber of the file in which the output will done.
tCurrent time of the simulation.

Here is the call graph for this function:

Here is the caller graph for this function:

void write_vtk ( FILE *  ht,
double complex  wi[],
const double  t 
)

Output a floating point big endian array from a complex array. Use Forran output format (required by VTK). This routine is essentially useful for VTK files (hence its name...).

Parameters:
htFile handler in which the data has to be written
wiComplex array containing the field to be written. This array is transformed into real space and remapped (if SHEAR is present) before being written.
tCurrent time of the simulation.

Here is the call graph for this function:

Here is the caller graph for this function: