| 
    ASCOT5
    
   | 
 
Module for writing orbits diagnostics data 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 "../simulate.h"#include "../particle.h"#include "../ascot5.h"#include "../diag/diag_orb.h"#include "../consts.h"#include "hdf5_orbit.h"Go to the source code of this file.
Functions | |
| void | hdf5_orbit_writeset (hid_t group, const char *name, const char *unit, int type, int arraylength, real confac, int *mask, integer size, real *orbits) | 
| Helper function for writing orbit diagnostic datasets.   | |
| int | hdf5_orbit_write (hid_t f, char *path, diag_orb_data *data) | 
| Write orbit diagnostics data to a HDF5 file.   | |
Module for writing orbits diagnostics data to a HDF5 file.
Definition in file hdf5_orbit.c.
| void hdf5_orbit_writeset | ( | hid_t | group, | 
| const char * | name, | ||
| const char * | unit, | ||
| int | type, | ||
| int | arraylength, | ||
| real | confac, | ||
| int * | mask, | ||
| integer | size, | ||
| real * | orbits ) | 
Helper function for writing orbit diagnostic datasets.
| group | HDF5 group where dataset is written | 
| name | name the data is wrote with | 
| unit | unit the the data is wrote with | 
| type | is data double (0), int (1), or integer (2) | 
| arraylength | length of the orbit data array | 
| confac | unit conversion factor orbits is multiplied before writing | 
| mask | flag array indicating which elements in orbits array contain data | 
| size | number of data elements | 
| orbits | orbit data array | 
Definition at line 216 of file hdf5_orbit.c.
| int hdf5_orbit_write | ( | hid_t | f, | 
| char * | path, | ||
| diag_orb_data * | data ) | 
Write orbit diagnostics data to a HDF5 file.
| f | hdf5 file | 
| path | path to group which is created here and where the data is stored | 
| data | orbit diagnostics data | 
Definition at line 32 of file hdf5_orbit.c.