|
ASCOT5
|
Module for reading plasma input from HDF5 file. More...
#include <stdio.h>#include <stdlib.h>#include <hdf5.h>#include <hdf5_hl.h>#include "../ascot5.h"#include "../plasma.h"#include "../plasma/plasma_1D.h"#include "../plasma/plasma_2D.h"#include "../plasma/plasma_1Dt.h"#include "../plasma/plasma_1DS.h"#include "../consts.h"#include "hdf5_helpers.h"#include "hdf5_plasma.h"Go to the source code of this file.
Macros | |
| #define | PLSPATH |
| #define | PLSPATH "/plasma/plasma_1D_XXXXXXXXXX/" |
| #define | PLSPATH "/plasma/plasma_2D_XXXXXXXXXX/" |
| #define | PLSPATH "/plasma/plasma_1Dt_XXXXXXXXXX/" |
| #define | PLSPATH "/plasma/plasma_1DS_XXXXXXXXXX/" |
Functions | |
| int | hdf5_plasma_read_1D (hid_t f, plasma_1D_data *data, char *qid) |
| Read 1D plasma data from HDF5 file. | |
| int | hdf5_plasma_read_2D (hid_t f, plasma_2D_data *data, char *qid) |
| Read 2D plasma data from HDF5 file. | |
| int | hdf5_plasma_read_1Dt (hid_t f, plasma_1Dt_data *data, char *qid) |
| Read 1Dt plasma data from HDF5 file. | |
| int | hdf5_plasma_read_1DS (hid_t f, plasma_1DS_data *data, char *qid) |
| Load plasma data from HDF5 file and prepare parameters. | |
| int | hdf5_plasma_init (hid_t f, plasma_data *data, char *qid) |
| Read plasma data from HDF5 file. | |
Module for reading plasma input from HDF5 file.
Plasma data must be read by calling hdf5_plasma_init_offload() contained in this module. This module contains reading routines for all plasma data types.
Definition in file hdf5_plasma.c.
| #define PLSPATH |
Macro that is used to store paths to data groups
Definition at line 23 of file hdf5_plasma.c.
| #define PLSPATH "/plasma/plasma_1D_XXXXXXXXXX/" |
Macro that is used to store paths to data groups
Definition at line 23 of file hdf5_plasma.c.
| #define PLSPATH "/plasma/plasma_2D_XXXXXXXXXX/" |
Macro that is used to store paths to data groups
Definition at line 23 of file hdf5_plasma.c.
| #define PLSPATH "/plasma/plasma_1Dt_XXXXXXXXXX/" |
Macro that is used to store paths to data groups
Definition at line 23 of file hdf5_plasma.c.
| #define PLSPATH "/plasma/plasma_1DS_XXXXXXXXXX/" |
Macro that is used to store paths to data groups
Definition at line 23 of file hdf5_plasma.c.
| int hdf5_plasma_read_1D | ( | hid_t | f, |
| plasma_1D_data * | data, | ||
| char * | qid ) |
Read 1D plasma 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 76 of file hdf5_plasma.c.
| int hdf5_plasma_read_2D | ( | hid_t | f, |
| plasma_2D_data * | data, | ||
| char * | qid ) |
Read 2D plasma 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 156 of file hdf5_plasma.c.
| int hdf5_plasma_read_1Dt | ( | hid_t | f, |
| plasma_1Dt_data * | data, | ||
| char * | qid ) |
Read 1Dt plasma 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 244 of file hdf5_plasma.c.
| int hdf5_plasma_read_1DS | ( | hid_t | f, |
| plasma_1DS_data * | data, | ||
| char * | qid ) |
Load plasma data from HDF5 file and prepare parameters.
| f | hdf5 file identifier |
| data | pointer to the data struct |
| qid | QID of the data |
Definition at line 333 of file hdf5_plasma.c.
| int hdf5_plasma_init | ( | hid_t | f, |
| plasma_data * | data, | ||
| char * | qid ) |
Read plasma 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 38 of file hdf5_plasma.c.