|
HyPar
1.0
Finite-Difference Hyperbolic-Parabolic PDE Solver on Cartesian Grids
|
Write out the electric field and potential to file. More...
#include <stdlib.h>#include <string.h>#include <basic.h>#include <common.h>#include <arrayfunctions.h>#include <mathfunctions.h>#include <io.h>#include <mpivars.h>#include <hypar.h>#include <physicalmodels/vlasov.h>Go to the source code of this file.
Functions | |
| int | VlasovWriteSpatialField (void *, void *, double *, char *) |
| int | VlasovPlotSpatialField (void *, void *, double *, double, char *) |
| int | VlasovWriteEFieldAndPotential (void *s, void *m, double a_t) |
Write out the electric field and potential to file.
Definition in file VlasovWriteEFieldAndPotential.c.
| int VlasovWriteSpatialField | ( | void * | s, |
| void * | m, | ||
| double * | a_field, | ||
| char * | fname_root | ||
| ) |
Write out a spatial field or variable to file
| s | Solver object of type HyPar |
| m | MPI object of type MPIVariables |
| a_field | Vector field to write |
| fname_root | Filename 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 18 of file VlasovWriteSpatialField.c.
| int VlasovPlotSpatialField | ( | void * | s, |
| void * | m, | ||
| double * | a_field, | ||
| double | a_time, | ||
| char * | fname_root | ||
| ) |
Plot a spatial field or variable to file
Plot out a spatial field or variable to file
| s | Solver object of type HyPar |
| m | MPI object of type MPIVariables |
| a_field | Vector field to write |
| a_time | Current simulation time |
| fname_root | Filename 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 26 of file VlasovPlotSpatialField.c.
| int VlasovWriteEFieldAndPotential | ( | void * | s, |
| void * | m, | ||
| double | a_t | ||
| ) |
Write out the electric field and potential to file
| s | Solver object of type HyPar |
| m | MPI object of type MPIVariables |
| a_t | Current simulation time |
Definition at line 23 of file VlasovWriteEFieldAndPotential.c.