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

Header file for hdf5_neutral.c. More...

#include "../ascot5.h"
#include "../neutral.h"
#include "../neutral/N0_1D.h"
#include "../neutral/N0_3D.h"
#include "hdf5.h"

Go to the source code of this file.

Functions

int hdf5_neutral_init_offload (hid_t f, neutral_offload_data *offload_data, real **offload_array, char *qid)
 Initialize neutral data from HDF5 file.
 

Detailed Description

Header file for hdf5_neutral.c.

Definition in file hdf5_neutral.h.

Function Documentation

◆ hdf5_neutral_init_offload()

int hdf5_neutral_init_offload ( hid_t f,
neutral_offload_data * offload_data,
real ** offload_array,
char * qid )

Initialize neutral 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 42 of file hdf5_neutral.c.