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

Header file for hdf5_wall.c. More...

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

Go to the source code of this file.

Functions

int hdf5_wall_init_offload (hid_t f, wall_offload_data *offload_data, real **offload_array, int **int_offload_array, char *qid)
 Read wall data from HDF5 file.
 

Detailed Description

Header file for hdf5_wall.c.

Definition in file hdf5_wall.h.

Function Documentation

◆ hdf5_wall_init_offload()

int hdf5_wall_init_offload ( hid_t f,
wall_offload_data * offload_data,
real ** offload_array,
int ** int_offload_array,
char * qid )

Read wall data from HDF5 file.

This function reads wall data with given qid while also initializing offload data and allocating and filling offload array. The file is opened and closed outside this function.

Parameters
fHDF5 file from which data is read
offload_datapointer to offload data
offload_arraypointer to offload array
int_offload_arraypointer to integer offload array
qidQID of the data
Returns
Zero if reading and initialization of data succeeded

Definition at line 42 of file hdf5_wall.c.