ASCOT5
Loading...
Searching...
No Matches
Functions
hdf5_transcoef.c File Reference

Module for writing transcport coefficients to a HDF5 file. More...

#include <string.h>
#include <stdlib.h>
#include <stdio.h>
#include <math.h>
#include <hdf5.h>
#include <hdf5_hl.h>
#include "hdf5_helpers.h"
#include "../ascot5.h"
#include "../diag/diag_transcoef.h"
#include "hdf5_transcoef.h"

Go to the source code of this file.

Functions

int hdf5_transcoef_write (hid_t f, char *path, diag_transcoef_offload_data *data, real *coefarr)
 Write transport coefficients to a HDF5 file.
 

Detailed Description

Module for writing transcport coefficients to a HDF5 file.

Definition in file hdf5_transcoef.c.

Function Documentation

◆ hdf5_transcoef_write()

int hdf5_transcoef_write ( hid_t f,
char * path,
diag_transcoef_offload_data * data,
real * coefarr )

Write transport coefficients to a HDF5 file.

Parameters
fhdf5 file
pathpath to group which is created here and where the data is stored
datatransport coefficient diagnostics offload data
coefarrarray storing the coefficient data [id, K, D]
Returns
zero on success

Definition at line 26 of file hdf5_transcoef.c.