ASCOT5
Loading...
Searching...
No Matches
Functions
hdf5_mhd.h File Reference

Header file for hdf5_mhd.c. More...

#include <hdf5.h>
#include "../mhd.h"
#include "../mhd/mhd_stat.h"
#include "../mhd/mhd_nonstat.h"

Go to the source code of this file.

Functions

int hdf5_mhd_init_offload (hid_t f, mhd_offload_data *offload_data, real **offload_array, char *qid)
 Initialize MHD offload data from HDF5 file.
 

Detailed Description

Header file for hdf5_mhd.c.

Definition in file hdf5_mhd.h.

Function Documentation

◆ hdf5_mhd_init_offload()

int hdf5_mhd_init_offload ( hid_t f,
mhd_offload_data * offload_data,
real ** offload_array,
char * qid )

Initialize MHD offload data from HDF5 file.

Parameters
fHDF5 file identifier for a file which is opened and closed outside of this function
offload_datapointer to offload data struct which is initialized here
offload_arraypointer to offload array which is allocated and initialized here
qidQID of the data that is to be read
Returns
zero if reading and initialization succeeded

Definition at line 35 of file hdf5_mhd.c.