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

Header file for hdf5_boozer.c. More...

#include <hdf5.h>
#include "../ascot5.h"
#include "../boozer.h"

Go to the source code of this file.

Functions

int hdf5_boozer_init_offload (hid_t f, boozer_offload_data *offload_data, real **offload_array, char *qid)
 Initialize Boozer offload data from HDF5 file.
 

Detailed Description

Header file for hdf5_boozer.c.

Definition in file hdf5_boozer.h.

Function Documentation

◆ hdf5_boozer_init_offload()

int hdf5_boozer_init_offload ( hid_t f,
boozer_offload_data * offload_data,
real ** offload_array,
char * qid )

Initialize Boozer 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 28 of file hdf5_boozer.c.