ASCOT5
Loading...
Searching...
No Matches
hdf5_nbi.c File Reference

Module for reading NBI data from HDF5 file. More...

#include <stdio.h>
#include <stdlib.h>
#include <hdf5.h>
#include <hdf5_hl.h>
#include "../ascot5.h"
#include "../nbi.h"
#include "../consts.h"
#include "hdf5_helpers.h"
#include "hdf5_nbi.h"

Go to the source code of this file.

Functions

int hdf5_nbi_init (hid_t f, nbi_data *data, char *qid)
 Initialize NBI offload data from HDF5 file.
 

Detailed Description

Module for reading NBI data from HDF5 file.

Definition in file hdf5_nbi.c.

Function Documentation

◆ hdf5_nbi_init()

int hdf5_nbi_init ( hid_t f,
nbi_data * data,
char * qid )

Initialize NBI offload data from HDF5 file.

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

Definition at line 25 of file hdf5_nbi.c.