|
ASCOT5
|
Module for reading MHD data from HDF5 file. More...
#include <stdlib.h>#include <hdf5.h>#include <hdf5_hl.h>#include "../ascot5.h"#include "../mhd.h"#include "../mhd/mhd_stat.h"#include "../mhd/mhd_nonstat.h"#include "hdf5_helpers.h"#include "hdf5_mhd.h"Go to the source code of this file.
Macros | |
| #define | MHDPATH |
| #define | MHDPATH "/mhd/MHD_STAT_XXXXXXXXXX/" |
| #define | MHDPATH "/mhd/MHD_NONSTAT_XXXXXXXXXX/" |
Functions | |
| int | hdf5_mhd_read_stat (hid_t f, mhd_stat_data *data, char *qid) |
| Read stationary MHD data from HDF5 file. | |
| int | hdf5_mhd_read_nonstat (hid_t f, mhd_nonstat_data *data, char *qid) |
| Read nonstationary MHD data from HDF5 file. | |
| int | hdf5_mhd_init (hid_t f, mhd_data *data, char *qid) |
| Initialize MHD data from HDF5 file. | |
Module for reading MHD data from HDF5 file.
Definition in file hdf5_mhd.c.
| #define MHDPATH |
Macro that is used to store paths to data groups
Definition at line 16 of file hdf5_mhd.c.
| #define MHDPATH "/mhd/MHD_STAT_XXXXXXXXXX/" |
Macro that is used to store paths to data groups
Definition at line 16 of file hdf5_mhd.c.
| #define MHDPATH "/mhd/MHD_NONSTAT_XXXXXXXXXX/" |
Macro that is used to store paths to data groups
Definition at line 16 of file hdf5_mhd.c.
| int hdf5_mhd_read_stat | ( | hid_t | f, |
| mhd_stat_data * | data, | ||
| char * | qid ) |
Read stationary MHD data from HDF5 file.
| f | HDF5 file from which data is read |
| data | pointer to the data |
| qid | QID of the data |
Definition at line 59 of file hdf5_mhd.c.
| int hdf5_mhd_read_nonstat | ( | hid_t | f, |
| mhd_nonstat_data * | data, | ||
| char * | qid ) |
Read nonstationary MHD data from HDF5 file.
| f | HDF5 file from which data is read |
| data | pointer to the data |
| qid | QID of the data |
Definition at line 119 of file hdf5_mhd.c.
| int hdf5_mhd_init | ( | hid_t | f, |
| mhd_data * | data, | ||
| char * | qid ) |
Initialize MHD data from HDF5 file.
| f | HDF5 file identifier for a file which is opened and closed outside of this function |
| data | pointer to the data struct which is initialized here |
| qid | QID of the data that is to be read |
Definition at line 31 of file hdf5_mhd.c.