HyPar  1.0
Finite-Difference Hyperbolic-Parabolic PDE Solver on Cartesian Grids
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
plotfuncs_cpp.h File Reference

Function declarations for plotting functions. More...

Go to the source code of this file.

Functions

int PlotArray (int, int, int *, int *, int, double *, double *, double, void *, void *, char *)
 

Detailed Description

Function declarations for plotting functions.

Author
Debojyoti Ghosh

Definition in file plotfuncs_cpp.h.

Function Documentation

int PlotArray ( int  a_ndims,
int  a_nvars,
int *  a_dim_global,
int *  a_dim_local,
int  a_ghosts,
double *  a_x,
double *  a_u,
double  a_time,
void *  a_s,
void *  a_m,
char *  a_fname_root 
)

Plot a vector field, stored as an array, and save figure to file: this is a wrapper function that calls PlotArraySerial().

Parameters
a_ndimsNumber of spatial dimensions
a_nvarsNumber of variables per grid point
a_dim_globalInteger array of size a_ndims with global grid size in each dimension
a_dim_localInteger array of size a_ndims with local grid size in each dimension
a_ghostsNumber of ghost points
a_xArray of spatial coordinates (i.e. the grid)
a_uVector field to write
a_timeCurrent simulation time
a_sSolver object of type HyPar
a_mMPI object of type MPIVariables
a_fname_rootFilename root (extension is added automatically). For unsteady output, a numerical index is added that is the same as for the solution output files.

Definition at line 31 of file PlotArray.c.

43 {
44  PlotArraySerial( a_ndims,
45  a_nvars,
46  a_dim_global,
47  a_dim_local,
48  a_ghosts,
49  a_x,
50  a_u,
51  a_time,
52  a_s,
53  a_m,
54  a_fname_root );
55 
56  return 0;
57 }
static int PlotArraySerial(int, int, int *, int *, int, double *, double *, double, void *, void *, char *)
Definition: PlotArray.c:66